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.
R:\zOUT>youtube-dl -v -F https://lenta.ru/news/2018/03/22/savshenko_go/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-F', 'https://lenta.ru/news/2018/03/22/savshenko_go/']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2018.03.20
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg 3.4.2, ffprobe 3.4.2
[debug] Proxy map: {}
[generic] savshenko_go: Requesting header
WARNING: Falling back on generic information extractor.
[generic] savshenko_go: Downloading webpage
[generic] savshenko_go: Extracting information
ERROR: Unsupported URL: https://lenta.ru/news/2018/03/22/savshenko_go/
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpbt_jbnlh\build\youtube_dl\YoutubeDL.py", line 785,in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpbt_jbnlh\build\youtube_dl\extractor\common.py", line 440, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpbt_jbnlh\build\youtube_dl\extractor\generic.py", line 3161, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: https://lenta.ru/news/2018/03/22/savshenko_go/
If you look inside that lenta.ru's page, you'll notice video streaming site https://view.eaglecdn.com, but YDL does not recognizes it. Let me show what YDL gives when I use eaglecdn url with it:
C:>youtube-dl.exe https://view.eaglecdn.com/api/resources/MjAxODAzMjIvZmRhMjczZTk1YTVlNi5tcDQ.m3u8?account=lentaru&e=1521739472&st=hJ4cIpxCHW_vOUlq3EzlqA
[generic] MjAxODAzMjIvZmRhMjczZTk1YTVlNi5tcDQ: Requesting header
[generic] MjAxODAzMjIvZmRhMjczZTk1YTVlNi5tcDQ: Downloading m3u8 information
[info] Available formats for MjAxODAzMjIvZmRhMjczZTk1YTVlNi5tcDQ:
format code extension resolution note
732 mp4 640x360 732k
1323 mp4 854x480 1323k
2083 mp4 1280x720 2083k (best)
'e' is not recognized as an internal or external command,
operable program or batch file.
'st' is not recognized as an internal or external command,
operable program or batch file.
The next move is to get best video format, so I simply run YDL on mentioned url:
C:>youtube-dl.exe https://view.eaglecdn.com/api/resources/MjAxODAzMjIvZmRhMjczZTk1YTVlNi5tcDQ.m3u8?account=lentaru&e=1521739472&st=hJ4cIpxCHW_vOUlq3EzlqA
Output filename I'm getting: MjAxODAzMjIvZmRhMjczZTk1YTVlNi5tcDQ-MjAxODAzMjIvZmRhMjczZTk1YTVlNi5tcDQ.mp4
My proposals are here:
Thanks in advance!