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

[yandexvideo] Failed video download on dzen.ru #9803

Closed
10 of 11 tasks
mgrimrath opened this issue Apr 27, 2024 · 3 comments · Fixed by #9813
Closed
10 of 11 tasks

[yandexvideo] Failed video download on dzen.ru #9803

mgrimrath opened this issue Apr 27, 2024 · 3 comments · Fixed by #9813
Labels
site-bug Issue with a specific website

Comments

@mgrimrath
Copy link

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

Region

Germany/Europe

Provide a description that is worded well enough to be understood

Downloading this video fails:

https://dzen.ru/video/watch/65f897a5d901db5e49ed39d6?rid=3126738634.50.1714225125937.28233&encoded_pulse_user_info=iHmAxSejZvCwjcoDkLxmGwVxNmYob4zbbcKRQyWu24QYXXwZEGZQOG2jwL4rTZRkel6wS2B0xEFoZ9ghe8L_KA%3A1714225126182&from_site=mail

Regarding whether this is a supported site: dzen.ru is not listed in --list-extractors, but as you can see in the log, it gets redirected to the yandexvideo extractor, so I assume dzen.ru should be working.

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • If using API, add 'verbose': True to YoutubeDL params instead
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

python3 yt-dlp -vU 'https://dzen.ru/video/watch/65f897a5d901db5e49ed39d6?rid=3126738634.50.1714225125937.28233&encoded_pulse_user_info=iHmAxSejZvCwjcoDkLxmGwVxNmYob4zbbcKRQyWu24QYXXwZEGZQOG2jwL4rTZRkel6wS2B0xEFoZ9ghe8L_KA%3A1714225126182&from_site=mail'
[debug] Command-line config: ['-vU', 'https://dzen.ru/video/watch/65f897a5d901db5e49ed39d6?rid=3126738634.50.1714225125937.28233&encoded_pulse_user_info=iHmAxSejZvCwjcoDkLxmGwVxNmYob4zbbcKRQyWu24QYXXwZEGZQOG2jwL4rTZRkel6wS2B0xEFoZ9ghe8L_KA%3A1714225126182&from_site=mail']
[debug] Portable config "/home/matthias/Videos/yt-dlp.conf": ['--no-mtime', '--remux-video', 'mkv', '--paths', 'temp:/tmp', '--abort-on-unavailable-fragments']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2024.04.09 from yt-dlp/yt-dlp [ff0779267] (zip)
[debug] Python 3.11.7 (CPython x86_64 64bit) - Linux-6.7.4-artix1-1-x86_64-with-glibc2.39 (OpenSSL 3.2.1 30 Jan 2024, glibc 2.39)
[debug] exe versions: ffmpeg 6.1.1 (setts), ffprobe 6.1.1
[debug] Optional libraries: certifi-2024.02.02, requests-2.31.0, sqlite3-3.45.1, urllib3-1.26.18
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests
[debug] Loaded 1810 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: stable@2024.04.09 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2024.04.09 from yt-dlp/yt-dlp)
[ZenYandex] Extracting URL: https://dzen.ru/video/watch/65f897a5d901db5e49ed39d6?rid=3126738634.50.1714225125937.28233&encoded_pulse_user_info=iHmAxSejZvCwjcoDkLxmGwVxNmYob4zbbcKRQyWu24QYXXwZEGZQOG2jwL4rTZRkel6wS2B0xEFoZ9ghe8L_KA%3A1714225126182&from_site=mail
[ZenYandex] 65f897a5d901db5e49ed39d6: Downloading webpage
[ZenYandex] 65f897a5d901db5e49ed39d6: Redirecting
ERROR: 'NoneType' object is not iterable
Traceback (most recent call last):
  File "/home/matthias/Videos/yt-dlp/yt_dlp/YoutubeDL.py", line 1606, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/matthias/Videos/yt-dlp/yt_dlp/YoutubeDL.py", line 1741, in __extract_info
    ie_result = ie.extract(url)
                ^^^^^^^^^^^^^^^
  File "/home/matthias/Videos/yt-dlp/yt_dlp/extractor/common.py", line 734, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/matthias/Videos/yt-dlp/yt_dlp/extractor/yandexvideo.py", line 270, in _real_extract
    for s_url in stream_urls:
TypeError: 'NoneType' object is not iterable
@mgrimrath mgrimrath added site-bug Issue with a specific website triage Untriaged issue labels Apr 27, 2024
@src-tinkerer
Copy link
Contributor

Apparently they changed the JSON's format a bit, will make a PR

@bashonly bashonly removed the triage Untriaged issue label Apr 29, 2024
@bashonly bashonly changed the title Failed video download on dzen.ru [yandexvideo] Failed video download on dzen.ru Apr 29, 2024
@krasnh
Copy link

krasnh commented Apr 29, 2024

Это решает проблему.
#9813

@krasnh
Copy link

krasnh commented Apr 29, 2024

./yt-dlp.sh -vU 'https://dzen.ru/video/watch/65f897a5d901db5e49ed39d6?rid=3126738634.50.1714225125937.28233&encoded_pulse_user_info=iHmAxSejZvCwjcoDkLxmGwVxNmYob4zbbcKRQyWu24QYXXwZEGZQOG2jwL4rTZRkel6wS2B0xEFoZ9ghe8L_KA%3A1714225126182&from_site=mail'
[debug] Command-line config: ['-vU', 'https://dzen.ru/video/watch/65f897a5d901db5e49ed39d6?rid=3126738634.50.1714225125937.28233&encoded_pulse_user_info=iHmAxSejZvCwjcoDkLxmGwVxNmYob4zbbcKRQyWu24QYXXwZEGZQOG2jwL4rTZRkel6wS2B0xEFoZ9ghe8L_KA%3A1714225126182&from_site=mail']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2024.04.09 from yt-dlp/yt-dlp [ff0779267] (source)
[debug] Lazy loading extractors is disabled
[debug] Git HEAD: ac817bc83
[debug] Python 3.10.8 (CPython x86_64 64bit) - Linux-6.8.0-pf1-x86_64-with-glibc2.38 (OpenSSL 1.1.1t  7 Feb 2023, glibc 2.38)
[debug] exe versions: ffmpeg 5.1.2 (setts), ffprobe 5.1.2
[debug] Optional libraries: certifi-2022.09.24, requests-2.28.1, sqlite3-3.39.4, urllib3-1.26.12
[debug] Proxy map: {}
[debug] Request Handlers: urllib
[debug] Loaded 1810 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: stable@2024.04.09 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2024.04.09 from yt-dlp/yt-dlp)
[ZenYandex] Extracting URL: https://dzen.ru/video/watch/65f897a5d901db5e49ed39d6?rid=3126738634.50.1714225125937.28233&encoded_pulse_user_info=iHmAxSejZvCwjcoDkLxmGwVxNmYob4zbbcKRQyWu24QYXXwZEGZQOG2jwL4rTZRkel6wS2B0xEFoZ9ghe8L_KA%3A1714225126182&from_site=mail
[ZenYandex] 65f897a5d901db5e49ed39d6: Downloading webpage
[ZenYandex] 65f897a5d901db5e49ed39d6: Redirecting
[ZenYandex] 65f897a5d901db5e49ed39d6: Downloading MPD manifest
[ZenYandex] 65f897a5d901db5e49ed39d6: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 65f897a5d901db5e49ed39d6: Downloading 1 format(s): 555-3
[debug] Invoking hlsnative downloader on "https://cdn.dzen.ru/vod/converted-video/vod-content/58/18/53/65/09/38/05/79/79/9/1de3d927-fe26-4fad-92ec-ebbcdb77cb4f/kaltura/desc_e07338ee69fba3dbe41933ac946ca5ba/401374911359492676/ysign1=a13b35d64739bd735f0542ce799a998cd081f96d49fa49d262361c938354b603,abcID=967,from=zen,pfx,sfx,ts=663cf1ba/vw=1920,vh=1080,fps=25.00,vbrt=426294,abrt=129531,vcodec=avc1.640028,acodec=mp4a.40.2,label=1080p/index-f7-v1-a1.m3u8?redundant=3&vsid=6ob4vnpjtj7yzh7p75blrlulvaj7twzj6ukjd7p94hqixZENx0000x1714406074"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 93
[download] Destination: Как Сатурн выглядит на самом деле? Смотрим на Сатурн в любительский телескоп [65f897a5d901db5e49ed39d6].mp4
[download]  83.3% of ~  19.76MiB at    1.49MiB/s ETA 00:02 (frag 78/93)

bashonly pushed a commit that referenced this issue May 8, 2024
Closes #9803
Authored by: src-tinkerer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site-bug Issue with a specific website
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants