Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SITE REQUEST: lenta.ru #15953

Closed
nmr50 opened this issue Mar 22, 2018 · 0 comments
Closed

SITE REQUEST: lenta.ru #15953

nmr50 opened this issue Mar 22, 2018 · 0 comments

Comments

@nmr50
Copy link

@nmr50 nmr50 commented Mar 22, 2018

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:

  1. Please add lenta.ru/eaglecdn video engine to YDL,
  2. Please rename output abracadabra filename to the name of source page like we have here: "Опубликовано видео задержания Савченко"

Thanks in advance!

@nmr50 nmr50 changed the title SITE ADD REQUEST: lenta.ru SITE REQUEST: lenta.ru Mar 22, 2018
@dstftw dstftw closed this in fad329e Mar 22, 2018
dstftw added a commit that referenced this issue Mar 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.