yt-dlp: [Youtube] `Unable to extract uploader id`
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
- I understand that I will be blocked if I remove or skip any mandatory* field
Checklist
- I’m reporting a bug unrelated to a specific site
- I’ve verified that I’m running yt-dlp version 2023.01.06 (update instructions) or later (specify commit)
- I’ve checked that all provided URLs are playable in a browser with the same IP and same login details
- 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. DO NOT post duplicates
- I’ve read the guidelines for opening an issue
Provide a description that is worded well enough to be understood
This error started appearing to me yesterday and almost every video gave this error, but I could download the video after about 3 attempts. But today, all youtube videos are giving this error no matter how many times I try to download it. Can anyone help me?
Provide verbose output that clearly demonstrates the problem
- Run your yt-dlp command with -vU flag added (
yt-dlp -vU <your command line>
) - Copy the WHOLE output (starting with
[debug] Command-line config
) and insert it below
Complete Verbose Output
[debug] Command-line config: ['-vU', 'https://www.youtube.com/watch?v=aqz-KE-bpKQ']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2023.01.06 [6becd25] (zip)
[debug] Python 3.9.4 (CPython x86_64 64bit) - Linux-5.15.10-tinycore64-x86_64-with-glibc2.34 (OpenSSL 1.1.1j 16 Feb 2021, glibc 2.34)
[debug] exe versions: ffmpeg 4.4 (setts), ffprobe 4.4, phantomjs 2.1.1
[debug] Optional libraries: mutagen-1.46.0, sqlite3-2.6.0
[debug] Proxy map: {}
[debug] Loaded 1760 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2023.01.06, Current version: 2023.01.06
yt-dlp is up to date (2023.01.06)
[youtube] Extracting URL: https://www.youtube.com/watch?v=aqz-KE-bpKQ
[youtube] aqz-KE-bpKQ: Downloading webpage
[youtube] aqz-KE-bpKQ: Downloading android player API JSON
[debug] Loading youtube-nsig.1cbba2b4 from cache
WARNING: [youtube] aqz-KE-bpKQ: Native nsig extraction failed: Trying with PhantomJS
n = __Fxna8S9BSt6Xk ; player = https://www.youtube.com/s/player/1cbba2b4/player_ias.vflset/en_US/base.js
[debug] [youtube] Signature function returned an exception; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
[youtube] aqz-KE-bpKQ: Executing signature code
[debug] [youtube] PhantomJS command line: phantomjs --ssl-protocol=any /tmp/tmpbp71rh8v
[debug] [youtube] Decrypted nsig __Fxna8S9BSt6Xk => kUALy39FPpkyJw
ERROR: [youtube] aqz-KE-bpKQ: Unable to extract uploader id; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 680, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/yt-dlp/yt_dlp/extractor/youtube.py", line 4049, 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/yt-dlp/yt_dlp/extractor/common.py", line 1228, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 52
- Comments: 54 (6 by maintainers)
Links to this issue
Commits related to this issue
- Fix: https://github.com/yt-dlp/yt-dlp/issues/6247 — committed to CorentinB/yt-dlp by CorentinB a year ago
- add yt-dlp.patch https://github.com/yt-dlp/yt-dlp/issues/6247 — committed to Nokogiri/nix-config by Nokogiri a year ago
- Patch for 'uploader id' bug documented here: https://github.com/yt-dlp/yt-dlp/issues/6247 — committed to danielbarry/ytoff by danielbarry a year ago
- Update yt-dlp to dev version to fix uploader_id bug See https://github.com/yt-dlp/yt-dlp/issues/6247 — committed to critrolesync/critrolesync.github.io by jpgill86 a year ago
- [extractor/youtube] Fix `uploader_id` extraction Closes #6247 Authored by: bashonly — committed to HHeroin/yt-dlp by bashonly a year ago
Yep that’s the one, thanks. I had a feeling the new
@handle
URL was to blame.I think this should fix the issue
EDIT: updated regex so that
@
will be captured as part of theuploader_id
Yes. The build was run before the fix is done in master Going to be working in 2023.02.17.xxx. The build will run in 7 hours
For regular release users: We’re going to have a new release soon™️ to address this issue
Next time something like this happens, I’ll probably lock the repo using GH moderation tools. It’s not something I want to do, but dealing with so many duplicates is such a pain
the next version (2023.02.17) of https://github.com/ytdl-patched/yt-dlp should be out in approximitely one hour. Either use that, or wait for the next yt-dlp release, which will come out soon, according to Lesmiscore’s message
EDIT: for PIP users, this will also work (thanks @richardwalenga):
Having the same issue here, also Brazil.
The issue started around 7 AM (GMT-3), all my auto-download scripts stopped working at that time. Seems to be related to how channels now use a “@customchannelname” instead of the old “/channel/channel_ID”
Tried it with over 100 different videos, none of them download, so it’s not specific to any channel or video.
Great work! I can imagine it’s very stressful having something break and users pile in with the same issue repeatedly. Bravo to a well-functioning team! 👏
How does one download the patch?
Just wait for the patched release, which should be soon: https://www.reddit.com/r/youtubedl/comments/113rk4v/ytdlp_and_youtubedl_wont_download_anything_from/j8rwnrb/
Go to"watch" and clic the arrow then clic custom then clic releases
The patch seems to work. 🏆
I have the same issue (germany,1&1 ISP), so it’s likely not a issue limited to one location
Sorry. I was wrong. ) It was necessary to run it locally,
./yt-dlp 'aqz-KE-bpKQ'
. I ran it like thisyt-dlp 'aqz-KE-bpKQ'
.The commit https://github.com/yt-dlp/yt-dlp/commit/149eb0bbf34fa8fdf8d1e2aa28e17479d099e26b is working. Confirm.
You cannot apply the text diff into a binary for obvious reasons.
Edit: keep an eye on https://github.com/ytdl-patched/yt-dlp/releases for new daily releases from the master branch.
It does not work for me.
The patch from @bashonly fixed the issue. Thank you - now Jouwbuis is up and running again!
yt-dlp -vU --write-pages --print-traffic https://www.youtube.com/watch?v=aqz-KE-bpKQ
works for me:However
yt-dlp -vU --write-pages https://www.youtube.com/watch?v=LqYBa1xCLRM
does NOT work fo me: