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

"Unable to extract uploader id" error when extracting #31577

Closed
6 tasks done
LenzGr opened this issue Feb 18, 2023 · 3 comments
Closed
6 tasks done

"Unable to extract uploader id" error when extracting #31577

LenzGr opened this issue Feb 18, 2023 · 3 comments

Comments

@LenzGr
Copy link

LenzGr commented Feb 18, 2023

Checklist

  • I'm reporting a broken site support issue
  • 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 bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

% ./youtube-dl --version
2021.12.17
% ./youtube-dl --verbose --audio-format mp3 --skip-download 'https://www.youtube.com/watch?v=etAIpkdhU9Q'
[debug] System config: ['--prefer-free-formats']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--audio-format', 'mp3', '--skip-download', 'https://www.youtube.com/watch?v=etAIpkdhU9Q']
[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.10.9 (CPython) - Linux-6.1.10-100.fc36.x86_64-x86_64-with-glibc2.35
[debug] exe versions: ffmpeg 5.0.2, ffprobe 5.0.2
[debug] Proxy map: {}
[youtube] etAIpkdhU9Q: 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 "/home/lenz/Downloads/./youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/home/lenz/Downloads/./youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/home/lenz/Downloads/./youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/home/lenz/Downloads/./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 "/home/lenz/Downloads/./youtube-dl/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; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

Extracing the audio from this YouTube video fails with an error message: Unable to extract uploader id

@elgonzo
Copy link

elgonzo commented Feb 18, 2023

[x] I've searched the bugtracker for similar bug reports including closed ones

Yeah, heard that somewhere already. I wonder why i find myself not believing you in this regard... :-(

@i-am-dan
Copy link

i-am-dan commented Feb 18, 2023

@LenzGr Checkout - 2dd6c6e

Looks like the fix has been placed.

If you can't wait for the release you can clone the source code and call 'python main.py [URL] ..etc' to download the video and it's been working great. Though, some argument combination does still give this error.

@dirkf
Copy link
Contributor

dirkf commented Feb 18, 2023

some argument combination does still give this error.

@i-am-dan, please open a new issue, with full details as requested in the issue template, if you can reproduce the error. The current fix shows a Warning because the expected field could not be extracted, but does not crash (except under the test harness that enforces "warnings as errors" when the test-case doesn't list the warning text as expected).

Otherwise, duplicate of #31530, so no:

[x] I've searched the bugtracker for similar bug reports including closed ones

@dirkf dirkf closed this as not planned Won't fix, can't repro, duplicate, stale Feb 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants