Hi,
I have been having this error using youtube-dl for a while. Here is what I get:
$ youtube-dl --verbose
https://www.youtube.com/watch?v=SzH7_gGAM3Y
[debug] System config: ['--prefer-free-formats']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose',
'https://www.youtube.com/watch?v=SzH7_gGAM3Y']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.11.4 (CPython) -
Linux-6.3.8-200.fc38.x86_64-x86_64-with-glibc2.37
[debug] exe versions: ffmpeg 6.0, ffprobe 6.0
[debug] Proxy map: {}
[youtube] SzH7_gGAM3Y: Downloading webpage
ERROR: Unable to extract uploader id; 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.11/site-packages/youtube_dl/YoutubeDL.py", line 814,
in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 835,
in __extract_info
ie_result = ie.extract(url)
^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line
534, in extract
ie_result = self._real_extract(url)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/youtube_dl/extractor/youtube.py",
line 1794, in _real_extract
'uploader_id':
self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url,
'uploader id') if owner_profile_url else None,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line
1012, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; 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.
Strangely, works fine with mpv, which I understand uses youtube-dl.
Any suggestions on the problem?
Many thanks and best wishes,
Ranjan