Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Example URLs
https://www.ntv.ru/video/1797442/
Description
Somehow ydl stopped to grab videos from ntv.ru site.
Test run:
R:>youtube-dl -v -f 1 https://www.ntv.ru/video/1797442/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-f', '1', 'https://www.ntv.ru/video/1797442/']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2019.11.05
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg 4.2.1, ffprobe 4.2.1
[debug] Proxy map: {}
[ntv.ru] 1797442: Downloading webpage
[ntv.ru] 1797442: Downloading video XML
[ntv.ru] 1797442: Downloading access token
[debug] Invoking downloader on 'http://media2.ntv.ru/vod///cache-ntv.cdnvideo.ru/hd/promo/2019/20191117/01086387_hd_hqXW2R7V1HuOgKOmqa.mp4?ts=1574190063&md5=iZxsyZrc_PLsYBhYLgFabw&tok=AAABbn_rnajkIAWU.Byjx-Ji1OpQ.1574107778.trX0X1'
ERROR: unable to download video data: ''
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\YoutubeDL.py", line 1925, in process_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\YoutubeDL.py", line 1864, in dl
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\downloader\common.py", line 366, in download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\downloader\http.py", line 341, in real_download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\downloader\http.py", line 109, in establish_connection
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\YoutubeDL.py", line 2237, in urlopen
File "C:\Python\Python34\lib\urllib\request.py", line 464, in open
File "C:\Python\Python34\lib\urllib\request.py", line 482, in _open
File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\utils.py", line 2568, in http_open
File "C:\Python\Python34\lib\urllib\request.py", line 1186, in do_open
File "C:\Python\Python34\lib\http\client.py", line 1227, in getresponse
File "C:\Python\Python34\lib\http\client.py", line 386, in begin
File "C:\Python\Python34\lib\http\client.py", line 356, in _read_status
http.client.BadStatusLine: ''
//////////////////////////////////////////////////////////////////
If next output would be useful, here is it:
I've tried to get the video through self-made script 'ary.bat' -
youtube-dl -f %1 --external-downloader c:\exe\aria2c.exe --external-downloader-args "-x 16 -s 16 -j 16" "%2"
and got this output:
R:>ary 1 https://www.ntv.ru/video/1797442/
[ntv.ru] 1797442: Downloading webpage
[ntv.ru] 1797442: Downloading video XML
[ntv.ru] 1797442: Downloading access token
[download] Destination: <Калоев. Седьмое доказательство бога>-1797442.mp4
11/18 22:14:53 [NOTICE] Downloading 1 item(s)
11/18 22:14:53 [ERROR] CUID#7 - Download aborted. URI=http://media2.ntv.ru/vod///cache-ntv.cdnvideo.ru/hd/promo/2019/20191117/01086387_hd_hqXW2R7V1HuOgKOmqa.mp4?ts=1574190896&md5=ZLpqi7oCwfoSu4OGv9sEzw&tok=AAABbn_weUMDF2s7.CW1YutSaW6s.1574108096.fPF4Ta
Exception: [HttpConnection.cc:156] errorCode=1 Got EOF from the server.
11/18 22:14:53 [NOTICE] Download GID#da14b27443e4a9c0 not complete: R:/<Калоев. Седьмое доказательство бога>-1797442.mp4.part
Download Results:
da14b2|ERR | 0B/s|R:/<Калоев. Седьмое доказательство бога>-1797442.mp4.part
Status Legend: (ERR):error occurred.
/////////////////////////////////////////////////////////
Found another thingie - this URL:
https://www.ntv.ru/peredacha/SvoyaPravda/m78960/o574476/
-- ydl is getting w/o problems !...