Package: youtube-dl
Severity: grave
Version: 2021.02.10-1
Dear maintainer,
when trying out youtube-dl from Debian testing (aka bullseye) I get
this error for simple video or playlist based downloads:
ERROR: Unable to extract yt initial data; please report this issue on
https://yt-dl.org/bug . Make sure you are using the latest version;
see https://yt-dl.org/update on how to update. Be sure to call
youtube-dl with the --verbose flag and include its complete output.
E.g. for a playlist:
```
[sunweaver@sunobo New-Song]$ youtube-dl --verbose --extract-audio
--audio-format mp3 -o "%(title)s.%(ext)s" ""
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--extract-audio',
'--audio-format', 'mp3', '-o', '%(title)s.%(ext)s', '']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.02.10
[debug] Python version 3.9.2 (CPython) -
Linux-5.10.0-5-amd64-x86_64-with-glibc2.31
[debug] exe versions: ffmpeg 4.3.2-0, ffprobe 4.3.2-0, rtmpdump 2.4
[debug] Proxy map: {}
[youtube:tab] OLAK5uy_m3-t4xLGBOHujynldlI3w-3Qp0WU62EAo: Downloading webpage
ERROR: Unable to extract yt initial data; please report this issue on
https://yt-dl.org/bug . Make sure you are using the latest version;
see https://yt-dl.org/update on how to update. Be sure to call
youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line
806, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line
827, in __extract_info
ie_result = ie.extract(url)
File
"/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line
532, in extract
ie_result = self._real_extract(url)
File
"/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line
2647, in _real_extract
data = self._extract_yt_initial_data(item_id, webpage)
File
"/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line
283, in _extract_yt_initial_data
self._search_regex(
File
"/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line
1010, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract yt initial
data; please report this issue on https://yt-dl.org/bug . Make sure
you are using the latest version; see https://yt-dl.org/update on
how to update. Be sure to call youtube-dl with the --verbose flag and
include its complete output.
```
I then tried the latest youtube-dl release (2021-04-17) and all my
download test succeed.
Unfortunately, that youtube-dl version contains tons of fixes and
changes, so it may be a challenge enrolling the release team into
allowing an upstream version bump here.
Unfortunately, I currently lack time for diving into this and finding
the exact commit that fixes the above issue.
Greets,
Mike
--
DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940
GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de
pgpbOKwFZLULJ.pgp
Description: Digitale PGP-Signatur