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

What does "Unable to extract uploader id" mean, and how do I update YouTube-dl? #31645

Closed
FlaminHat opened this issue Feb 22, 2023 · 17 comments
Closed

Comments

@FlaminHat
Copy link

FlaminHat commented Feb 22, 2023

Verbose output is as follows:

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=booR7hzZg2Y', '-o', 'We apologise for the difficulties....']
[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.6.8 (CPython) - Darwin-17.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] booR7hzZg2Y: Downloading webpage
[youtube] booR7hzZg2Y: Downloading MPD manifest
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 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/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 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/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.

When I try to update YouTube-dl with youtube-dl -U, it gives me this:

It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update.

How do I solve this?

@anjalafghan

This comment was marked as duplicate.

@hexisXz

This comment was marked as duplicate.

1 similar comment
@wastu01

This comment was marked as duplicate.

@learn-decentralized-systems

This comment was marked as duplicate.

@j-sea

This comment was marked as duplicate.

@WeaselGuns

This comment was marked as duplicate.

1 similar comment
@fairfaxhshw

This comment was marked as duplicate.

@j-sea

This comment was marked as resolved.

@jeffsilverm

This comment was marked as duplicate.

@SNSTRUTHERS

This comment was marked as duplicate.

@ananay

This comment was marked as outdated.

@j-sea

This comment was marked as outdated.

@comicsansgreenki
Copy link

comicsansgreenki commented Feb 22, 2023

To anyone and everyone with the same problem ERROR: Unable to extract uploader id;:
Please see #31530 instead of this one.
If you need an immediate solution, you can switch to yt-dlp, a fork of this project, as a drop-in replacement while you wait for a backport/patch to the YT extractor.
@FlaminHat An issue is already up for this extractor error. You might check #30839 if you haven't read it already.

Thanks u o>o <3
comicsansg (not a collaborator)

@comicsansgreenki
Copy link

comicsansgreenki commented Feb 22, 2023

@FlaminHat Also to answer your second question about updating youtube-dl, a new version isn't out (hopefully there will be - #31585). If you need it fixed ASAP, try cloning the repository like @j-sea did in this comment, or switching to yt-dlp like I mentioned last comment.

@j-sea AFAIK it's a warning message that got marked as fatal, when the extractor could've continued anyway without much problems.

@ananay

This comment was marked as resolved.

@dirkf dirkf closed this as not planned Won't fix, can't repro, duplicate, stale Feb 22, 2023
@wastu01

This comment was marked as resolved.

@comicsansgreenki
Copy link

comicsansgreenki commented Mar 15, 2023

@wastu01 yep, agreed. Moving to yt-dlp is one of two working solutions until youtube-dl gets a new version.

Google Translate-ified:
@wastu01 对,同意。 在 youtube-dl 獲得新版本之前,遷移到 yt-dlp 是兩個可行的解決方案之一。

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