youtube-dl: Youtube Unable to extract uploader id - DUPLICATE
- I’m reporting a broken site support
- I’ve verified that I’m running youtube-dl version 2021.12.17
- I’ve checked that all provided URLs are alive and playable in a browser
- I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
- I’ve searched the bugtracker for similar issues including closed ones
Verbose log
% /usr/local/bin/youtube-dl --verbose http://www.youtube.com/watch?v=B8qZ7QfKcjg
[debug] System config: [u'--prefer-free-formats']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'http://www.youtube.com/watch?v=B8qZ7QfKcjg']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 2.7.5 (CPython) - Linux-3.10.0-693.11.6.el7.x86_64-x86_64-with-centos-7.9.2009-Core
[debug] exe versions: ffmpeg 3.4.12, ffprobe 3.4.12
[debug] Proxy map: {}
[youtube] B8qZ7QfKcjg: 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; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/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/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Description
I was getting another error with the current version of yt-download, so I installed from the nightly:
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
This solved the error I was getting before, but introduced this new error, “Unable to extract uploader id”.
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 2
- Comments: 15 (7 by maintainers)
So I should hope!
I am using https://github.com/ytdl-org/ytdl-nightly/releases/download/2023.07.13.334/youtube-dl
and it’s working
Note that #32402 is talking about the unofficial nightly release which wasn’t being updated when I last looked: one reason why the official one was created by forking it. Ofc any program including either release type is liable to be an antivirus false positive for reasons discussed in that issue.
Also: https://github.com/ytdl-org/ytdl-nightly/commit/f6d42896adb99c4c5b6b3ec2d0840aa145ee4936
Good point. My colleague who originally set this up didn’t change those instructions and I didn’t check them. Instead, use the Releases page of the site.
I installed as instructed “INSTALLATION” here: https://github.com/ytdl-org/ytdl-nightly
Really, read #30839 ! Also, what you show is the main repo, not the nightly.