Open Shituation opened 1 year ago
It would be easiest if the -U flag worked instead of failing and recommending the user submit a bug report.
In my case the -U
argument does not work... and the latest version downloaded from the internet as released version:
Windows exe (sig - SHA256 26e5c00c35c5c3edc86dfc0a720aed109a13b1b7c67ac654a0ce8ff82a1f2c16)
... which is not fixed, also always shows the same error.
I have the same problem
youtube-dl CS9pjLWMiv4 --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['CS9pjLWMiv4', '--verbose']
[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.6 (CPython) - Linux-5.17.11-051711-generic-x86_64-with-glibc2.35
[debug] exe versions: ffmpeg 4.4.2, ffprobe 4.4.2, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] CS9pjLWMiv4: 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)
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.
Still not working here, version 2021.12.17. The output of --verbose: [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-f', 'bestaudio', '-x', '--audio-format', 'mp3', '--verbose', 'https://www.youtube.com/watch?v=4Zu0iDvCjgk'] [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.9 (CPython) - Linux-5.4.0-139-generic-x86_64-with-Ubuntu-20.04-focal [debug] exe versions: ffmpeg 3.4.11, ffprobe 3.4.11 [debug] Proxy map: {} [youtube] 4Zu0iDvCjgk: Downloading webpage WARNING: [youtube] Unable to decode n-parameter: download likely to be throttled (Unhandled exception in decode; 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 "/snap/youtube-dl/4806/lib/python3.6/site-packages/youtube_dl/extractor/youtube.py", line 1524, in _n_descramble raise ExtractorError('Unhandled exception in decode') youtube_dl.utils.ExtractorError: Unhandled exception in decode; 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. ) 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 "/snap/youtube-dl/4806/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 816, in wrapper return func(self, *args, **kwargs) File "/snap/youtube-dl/4806/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 837, in __extract_info ie_result = ie.extract(url) File "/snap/youtube-dl/4806/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/snap/youtube-dl/4806/lib/python3.6/site-packages/youtube_dl/extractor/youtube.py", line 1974, in _real_extract 'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None, File "/snap/youtube-dl/4806/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.
Every duplicate issue makes it less likely that a new release version will appear. #31530, #31585.
There you have it. No update will be provided because we made too many bug reports.
[debug] Python version 3.6.9 (CPython) - Linux-5.4.0-139-generic-x86_64-with-Ubuntu-20.04-focal
I mean, FOSS is a good thing. Though no OS gives you two helping hands. And when you come here, and see some 200 posts, yes, you are expected to start scanning from the top, what solutions could be found. And there are some. And references. Since you are on Linux, this might work:
$ sudo apt install python3-pip$
(If it is already installed, just the better)
$ pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl
(Okay, that's just to TRY, not yet in the correct location. But now $ .local/bin/youtube-dl https://www.youtube.com/..... should do the job. At least, here it does. If you wanted, you could next install it system-wide.
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://youtu.be/Tp4cyvXLmmg', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.22000
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] Tp4cyvXLmmg: 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 "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 815, in wrapper
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 836, in __extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 534, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\youtube.py", line 1794, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 1012, in _search_regex
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.
Every duplicate issue makes it less likely that a new release version will appear. #31530, #31585.
There you have it. No update will be provided because we made too many bug reports.
Sorry I was not aware this being a duplicate. I thought it is still #31530.
[debug] Python version 3.6.9 (CPython) - Linux-5.4.0-139-generic-x86_64-with-Ubuntu-20.04-focal
(…) sudo apt install python3-pip$ (If it is already installed, just the better) $ pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl python3 is installed. What do you mean with git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl? I do not understand that.
dirkf/dirkk0, you're getting lots of duplicate reports because the provided solution doesn't fix the issue. The issue isn't "unable to extract uploader id" - that's fixed! Now the pressing issue is that -U is broken. Users are expecting a solution which makes -U grab the updates, as intended. If the problem is that -U doesn't work, and you can't make -U work "(yet)", well... let's just say that every bug report you close without addressing the underlying problem makes it more likely that a redundant bug report will appear! 😉
It could decrease confusion and dupe reports to put an ETA on the -U matter in the solution to the main issue, e.g. "The next release solving this issue should be downloadable with -U in two or three months. In the meantime, manually reinstalling using the nightly builds will work, or you can update with pip or use yt-dl (etc)"
It appears to have broken between versions 2021.1.16 and 2021.02.04
Here is the diff for youtube.py at that version https://github.com/ytdl-org/youtube-dl/compare/2021.01.16..2021.02.04#diff-0f24619cf9483f3bea670bba396939af35ea780edba90bb9d96ab20aae43386f
It is fixed in git, but not in release. For now you will have to download the python source installer, until the new release (newer than 2021.12.17) is set and distributed. For now, if you require pip or other package install, you could use 2021.01.16, but latest is probably better.
Me neither. What does it matter, if it works? On 23 Feb 2023 11:54 p.m., "gittieandpete" @.***> wrote:
[debug] Python version 3.6.9 (CPython) - Linux-5.4.0-139-generic-x86_ 64-with-Ubuntu-20.04-focal
(…) sudo apt install python3-pip$ (If it is already installed, just the better) is installed $ pip install @.***#egg= youtube_dl I do not understand this
— Reply to this email directly, view it on GitHub https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1442536183, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL7P5GFYXVRKVOKV663DPSTWY7TBDANCNFSM6AAAAAAU6HECQY . You are receiving this because you commented.Message ID: @.***>
I think the number of duplicates and comments on this issue should tell you why it matters.
On Fri, 24 Feb 2023, 10:35 am udippel, @.***> wrote:
Me neither. What does it matter, if it works? On 23 Feb 2023 11:54 p.m., "gittieandpete" @.***> wrote:
[debug] Python version 3.6.9 (CPython) - Linux-5.4.0-139-generic-x86_ 64-with-Ubuntu-20.04-focal
(…) sudo apt install python3-pip$ (If it is already installed, just the better) is installed $ pip install @.***#egg= youtube_dl I do not understand this
— Reply to this email directly, view it on GitHub < https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1442536183 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AL7P5GFYXVRKVOKV663DPSTWY7TBDANCNFSM6AAAAAAU6HECQY
. You are receiving this because you commented.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1442572631, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADCYXGXGSUCXF6TQ6JPKJLDWY7X2XANCNFSM6AAAAAAU6HECQY . You are receiving this because you were mentioned.Message ID: @.***>
Crazy. I show the syntax that helped me solve the problem on Linux. And instead of DOING it, someone asks for an explanation of the particulars of arguments of a command line. Especially with so many duplicates, 250+ posts, why do you consider it relevant to explain the arguments passed to pip instead of just TYPING those few commands (copy and paste!), and hopefully having it ready, back at work? On 24 Feb 2023 12:37 a.m., "zaphida" @.***> wrote:
I think the number of duplicates and comments on this issue should tell you why it matters.
On Fri, 24 Feb 2023, 10:35 am udippel, @.***> wrote:
Me neither. What does it matter, if it works? On 23 Feb 2023 11:54 p.m., "gittieandpete" @.***> wrote:
[debug] Python version 3.6.9 (CPython) - Linux-5.4.0-139-generic-x86_ 64-with-Ubuntu-20.04-focal
(…) sudo apt install python3-pip$ (If it is already installed, just the better) is installed $ pip install @.***#egg= youtube_dl I do not understand this
— Reply to this email directly, view it on GitHub < https://github.com/ytdl-org/youtube-dl/issues/31530# issuecomment-1442536183 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ AL7P5GFYXVRKVOKV663DPSTWY7TBDANCNFSM6AAAAAAU6HECQY
. You are receiving this because you commented.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/ytdl-org/youtube-dl/issues/31530# issuecomment-1442572631, or unsubscribe https://github.com/notifications/unsubscribe-auth/ ADCYXGXGSUCXF6TQ6JPKJLDWY7X2XANCNFSM6AAAAAAU6HECQY . You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1442574193, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL7P5GHZLYMSFMPCWHSDKMDWY7YCTANCNFSM6AAAAAAU6HECQY . You are receiving this because you commented.Message ID: @.***>
Crazy. I show the syntax that helped me solve the problem on Linux. And instead of DOING it, someone asks for an explanation of the particulars of arguments of a command line. Especially with so many duplicates, 250+ posts, why do you consider it relevant to explain the arguments passed to pip instead of just TYPING those few commands (copy and paste!), and hopefully having it ready, back at work?
Maybe people think "they should know how to install" but that would be besides the point of making it easier. Most probably have no idea about pip's git syntax either.
They might be referring to the fact that development builds might be more unstable, but either way things will break, and a project as complex and litigious as this shows it multiple times.
I know next to nothing about what anyone has said here & I just want to know in dumber-than-layman's terms what the heck I have to do to fix the "extract uploader id" issue and/or how long I'd have to wait for youtube-dl to be patched if it hasn't already - if it has, how the heck do I update it
python3 is installed. What do you mean with git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl? I do not understand that.
The git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl tells pip to install youtube-dl from the latest revision in this youtube-dl repository which you are commenting on an issue in. It's necessary to do this to change the unable to extract uploader id from an error into a warning and be able to download videos. Or you can install 2021.01.16, or try manually edit youtube.py as per https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1433470254
@RandomLive the easiest dumber-than-a-layman way of fixing the unable to extract uploader id issue is to simply install yt-dlp and use it instead of youtube-dl until a new release comes out which you will be able to update to automatically.
Got pip sorted, got git+ sorted, done all the things and it still ain't working.
Post the verbose log as a code snippet of the git dev version trying to download a video.
On Fri, 24 Feb 2023, 11:55 am RandomLive, @.***> wrote:
Got pip sorted, got git+ sorted, done all the things and it still ain't working.
— Reply to this email directly, view it on GitHub https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1442640444, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADCYXGUYKBX3WKJDVY5GP23WZABJLANCNFSM6AAAAAAU6HECQY . You are receiving this because you were mentioned.Message ID: @.***>
No clue what part of this is the verbose log, heck if any of it is the right thing, but here you go: [debug] System config: [] [debug] User config: ['-f', 'mp4', '-f', 'best'] [debug] Custom config: [] [debug] Command-line args: ['https://www.youtube.com/watch?v=-ZGlaAxB7nI', '--verbose'] [debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252 [debug] youtube-dl version 2021.12.17 [debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041 [debug] exe versions: ffmpeg 5.0.1-essentials_build-www.gyan.dev, ffprobe 5.0.1-essentials_build-www.gyan.dev [debug] Proxy map: {} [youtube] -ZGlaAxB7nI: 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 "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 815, in wrapper File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 836, in __extract_info File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 534, in extract File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\youtube.py", line 1794, in _real_extract File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 1012, in _search_regex 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.
It could decrease confusion and dupe reports to put an ETA on the -U matter in the solution to the main issue, e.g. "The next release solving this issue should be downloadable with -U in two or three months. In the meantime, manually reinstalling using the nightly builds will work, or you can update with pip or use yt-dl (etc)"
Dang, guess I need to find a different downloader in the meantime then... Any good suggestions? Don't wanna mess with any more yt-dl stuff since I have no clue what I'm doing & am afraid of installing malware by using a dodgy alternative (classy I know, but this is my first proper PC so I'm being extra careful)
It appears to have broken between versions 2021.1.16 and 2021.02.04
Why on earth are you looking at those old versions that were broken by YT 2021-12?
@gittieandpete, @RandomLive, @ToddAndMargo, @PeterGyger: https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1441040428, as well as https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611 (or start again).
I was able to fix my version of youtube-dl with a manual hotfix, my way was a little different than the one listed here.
I went into file ~/.local/lib/python3.6/site-packages/youtube_dl/extractor/youtube.py
and changed the line
'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
to
'uploader_id': None
because the indicated fix didn't work for me.
but I couldn't figure out how to recompile youtube-dl from within the pip3 install folder, because there is no setup.py there, so I'm calling it with:
python3 ~/.local/lib/python3.6/site-packages/youtube_dl/main.py
which isn't the most elegant solution, but works for now... I'm sort of locked to python3.6 on this machine so hopeful the eventually fix won't require 3.7 or higher....
I can only recommend yt-dlp. yt-dlg will give you a GUI (a graphical user interface, point and click).
On Fri, 24 Feb 2023, 12:29 pm RandomLive, @.***> wrote:
Dang, guess I need to find a different downloader in the meantime then... Any good suggestions? Don't wanna mess with any more yt-dl stuff since I have no clue what I'm doing & am afraid of installing malware by using a dodgy alternative (classy I know, but this is my first proper PC so I'm being extra careful)
— Reply to this email directly, view it on GitHub https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1442666769, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADCYXGTMEUHJ4FPPSWDIKGLWZAFGRANCNFSM6AAAAAAU6HECQY . You are receiving this because you were mentioned.Message ID: @.***>
I tried yt-dlp but it required python3.7 or higher so it was easier to do this hotfix for me.
I was able to fix my version of youtube-dl with a manual hotfix,
You could have used the actual commit from yt-dl.
The final fix will be similar to this:
'uploader_id': self._search_regex(r'/(?:(?:channel|user)/|(?=@))([^/?&#]+)', owner_profile_url or '', 'uploader id', default=None),
If you have to become admin to make a manual patch, ensure that you also run yt-dl (eg, with --version
) as admin after patching to update the compiled bytecode module: otherwise the program will mysteriously continue to behave as before even though the source code appears different. You don't need to do any other setup.
Yes, working, before I just uncomment. @dirkf how to fresh install or upgrade? Just pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl This will auto replace old source on site-packages directory ?
It is back!
youtube-dl is up-to-date (2021.12.17)
$ youtube-dl --verbose https://www.youtube.com/watch?v=FaWRtkjJ8es [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=FaWRtkjJ8es'] [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.1 (CPython) - Linux-6.1.11-200.fc37.x86_64-x86_64-with-glibc2.36 [debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2 [debug] Proxy map: {} [youtube] FaWRtkjJ8es: 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) 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.
Use python -m pip
where python
is the Python that applies to your site-packages. Otherwise, yes, as discussed above. You might like to wait for the final fix.
On 2/23/23 20:01, dirkf wrote:
Use |python -m pip| where |python| is the Python that applies to your site-packages. Otherwise, yes, as discussed above. You might like to wait for the final fix.
Would you give me the full command line for the pip command?
Hello Win 10 and 11 has since one Week the same Error: ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug I use the newest Version direct from GitHub.
Since two years i use the same Batchfile to download Videos from YouTube. And since one week i get this error. Is yt-dlp the new "youtube-dl"?
Can somebody help?
Update: got yt-dlp working - I'm assuming I just run the -U command once a day to keep it in check?
@dirkf to update the version I have on my system do I need to clone the repo and build the project. youtube-dl -U
doesn't work:
$ sudo youtube-dl -U
youtube-dl is up-to-date (2021.12.17)
Should a new release be made? Currently the latest release is https://github.com/ytdl-org/youtube-dl/releases/tag/2021.12.17 See https://github.com/ytdl-org/youtube-dl/releases
Hello
When i use "yt-dlp.exe" it works
Details: CMD or terminal:
C:\Users\peter\Downloads\yt-dl>youtube-dl https://www.youtube.com/watch?v=EIouvSWaFgM [youtube] EIouvSWaFgM: Downloading webpage [youtube] EIouvSWaFgM: Downloading player 9419f2ea 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.
C:\Users\peter\Downloads\yt-dl>yt-dlp.exe https://www.youtube.com/watch?v=EIouvSWaFgM [youtube] Extracting URL: https://www.youtube.com/watch?v=EIouvSWaFgM [youtube] EIouvSWaFgM: Downloading webpage [youtube] EIouvSWaFgM: Downloading android player API JSON [youtube] EIouvSWaFgM: Downloading player 9419f2ea [info] EIouvSWaFgM: Downloading 1 format(s): 315+251 [download] Destination: “Master of Puppets” (Metallica) Jazz Cover by Robyn Adele Anderson [EIouvSWaFgM].f315.webm [download] 4.2% of 959.89MiB at 5.50MiB/s ETA 02:47
One odr two weeks ago, youtube-dl works finde. Now i have to check the Parameter for "yt-dlp.exe". Not exact the same...
Ok, but I don't want to use the fork, I want to use youtube-dl. Can a new release be created, if the code was updated?
seem like the problem persisted with youtube-dl, tried updating it with pip since I installed it with pip, no luck!
youtube-dl --verbose https://www.youtube.com/watch?v=yHxhTZ0k0Kw [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=yHxhTZ0k0Kw'] [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.9.2 (CPython) - Linux-5.15.76-v7+-armv7l-with-glibc2.31 [debug] exe versions: ffmpeg 4.3.5-0, ffprobe 4.3.5-0 [debug] Proxy map: {} [youtube] yHxhTZ0k0Kw: 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 "/home/ggbest4/.local/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/home/ggbest4/.local/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/home/ggbest4/.local/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/home/ggbest4/.local/lib/python3.9/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 "/home/ggbest4/.local/lib/python3.9/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.
Where did you install it? Are you sure that you are running the updated version, not the previous one? (Also see my post further up). On 25 Feb 2023 8:38 a.m., "V21" @.***> wrote:
seem like the problem persisted with youtube-dl, tried updating it with pip since I installed it with pip, no luck!
— Reply to this email directly, view it on GitHub https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1445021998, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL7P5GDEL24WE7MICDHBYPTWZGZHNANCNFSM6AAAAAAU6HECQY . You are receiving this because you commented.Message ID: @.***>
Took a while to get my raspberry on but I'm quite positive I got the right one for the update, tried uninstall and reinstall it to verify if it's the right one as well but it keep giving the same problem. Edit: I've added the verbose in the above comment, perhaps the way to fix rn is to go to yt-dlp :(
Line 2125 in youtube.py has to be changed into:
'uploader_id': self._search_regex(r'/(?:channel/|user/|@)([^/?&#]+)', owner_profile_url, 'uploader id', default=None),
Then no error: 😀️
youtube-dl --ignore-config -v -F 3h5-QPbKoVg [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--ignore-config', '-v', '-F', '3h5-QPbKoVg'] [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 [debug] youtube-dl version 2023.02.16 [debug] Python version 3.8.10 (CPython) - Linux-5.4.0-139-generic-x86_64-with-glibc2.29 [debug] exe versions: ffmpeg N-109587-gfc263f073e-Nico-20230113, ffprobe N-109587-gfc263f073e-Nico-20230113, phantomjs 2.1.1, rtmpdump 2.4 [debug] Proxy map: {} [youtube] 3h5-QPbKoVg: Downloading webpage [debug] [youtube] Decrypted nsig EYI-o3YE_G0-1ue => nP7IbZDbhgRJ1Q [debug] [youtube] Decrypted nsig tdM1CX28FOA3Sbj => rEQZ02EpO5AMwg [info] Available formats for 3h5-QPbKoVg: format code extension resolution note 249 webm audio only tiny 45k , webm_dash container, opus @ 45k (48000Hz), 28.44MiB 250 webm audio only tiny 59k , webm_dash container, opus @ 59k (48000Hz), 37.15MiB 251 webm audio only tiny 121k , webm_dash container, opus @121k (48000Hz), 76.11MiB 140 m4a audio only tiny 129k , m4a_dash container, mp4a.40.2@129k (44100Hz), 80.87MiB 160 mp4 256x144 144p 13k , mp4_dash container, avc1.4d400c@ 13k, 30fps, video only, 8.37MiB 278 webm 256x144 144p 19k , webm_dash container, vp9@ 19k, 30fps, video only, 12.24MiB 133 mp4 426x240 240p 21k , mp4_dash container, avc1.4d4015@ 21k, 30fps, video only, 13.53MiB 242 webm 426x240 240p 25k , webm_dash container, vp9@ 25k, 30fps, video only, 16.15MiB 134 mp4 640x360 360p 35k , mp4_dash container, avc1.4d401e@ 35k, 30fps, video only, 21.92MiB 243 webm 640x360 360p 98k , webm_dash container, vp9@ 98k, 30fps, video only, 61.30MiB 135 mp4 854x480 480p 49k , mp4_dash container, avc1.4d401f@ 49k, 30fps, video only, 31.19MiB 244 webm 854x480 480p 96k , webm_dash container, vp9@ 96k, 30fps, video only, 60.58MiB 136 mp4 1280x720 720p 124k , mp4_dash container, avc1.4d401f@ 124k, 30fps, video only, 77.71MiB 298 mp4 1280x720 720p60 175k , mp4_dash container, avc1.4d4020@ 175k, 60fps, video only, 109.36MiB 247 webm 1280x720 720p 214k , webm_dash container, vp9@ 214k, 30fps, video only, 133.80MiB 302 webm 1280x720 720p60 300k , webm_dash container, vp9@ 300k, 60fps, video only, 187.91MiB 299 mp4 1920x1080 1080p60 269k , mp4_dash container, avc1.64002a@ 269k, 60fps, video only, 168.53MiB 303 webm 1920x1080 1080p60 473k , webm_dash container, vp9@ 473k, 60fps, video only, 295.79MiB 18 mp4 640x360 360p 163k , avc1.42001E, 30fps, mp4a.40.2 (44100Hz) 22 mp4 1280x720 720p 253k , avc1.64001F, 30fps, mp4a.40.2 (44100Hz) (best)
Note: OP's verbose log is from yt-dlp, not youtube-dl...
Thanks to you, this line help me for YouTube-dl on my discord bot :)
I need a Windows build, unfortunately.
Line 2125 in youtube.py has to be changed into:
'uploader_id': self._search_regex(r'/(?:channel/|user/|@)([^/?&#]+)', owner_profile_url, 'uploader id', default=None),
Then no error: 😀️
youtube-dl --ignore-config -v -F 3h5-QPbKoVg [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--ignore-config', '-v', '-F', '3h5-QPbKoVg'] [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 [debug] youtube-dl version 2023.02.16 [debug] Python version 3.8.10 (CPython) - Linux-5.4.0-139-generic-x86_64-with-glibc2.29 [debug] exe versions: ffmpeg N-109587-gfc263f073e-Nico-20230113, ffprobe N-109587-gfc263f073e-Nico-20230113, phantomjs 2.1.1, rtmpdump 2.4 [debug] Proxy map: {} [youtube] 3h5-QPbKoVg: Downloading webpage [debug] [youtube] Decrypted nsig EYI-o3YE_G0-1ue => nP7IbZDbhgRJ1Q [debug] [youtube] Decrypted nsig tdM1CX28FOA3Sbj => rEQZ02EpO5AMwg [info] Available formats for 3h5-QPbKoVg: format code extension resolution note 249 webm audio only tiny 45k , webm_dash container, opus @ 45k (48000Hz), 28.44MiB 250 webm audio only tiny 59k , webm_dash container, opus @ 59k (48000Hz), 37.15MiB 251 webm audio only tiny 121k , webm_dash container, opus @121k (48000Hz), 76.11MiB 140 m4a audio only tiny 129k , m4a_dash container, mp4a.40.2@129k (44100Hz), 80.87MiB 160 mp4 256x144 144p 13k , mp4_dash container, avc1.4d400c@ 13k, 30fps, video only, 8.37MiB 278 webm 256x144 144p 19k , webm_dash container, vp9@ 19k, 30fps, video only, 12.24MiB 133 mp4 426x240 240p 21k , mp4_dash container, avc1.4d4015@ 21k, 30fps, video only, 13.53MiB 242 webm 426x240 240p 25k , webm_dash container, vp9@ 25k, 30fps, video only, 16.15MiB 134 mp4 640x360 360p 35k , mp4_dash container, avc1.4d401e@ 35k, 30fps, video only, 21.92MiB 243 webm 640x360 360p 98k , webm_dash container, vp9@ 98k, 30fps, video only, 61.30MiB 135 mp4 854x480 480p 49k , mp4_dash container, avc1.4d401f@ 49k, 30fps, video only, 31.19MiB 244 webm 854x480 480p 96k , webm_dash container, vp9@ 96k, 30fps, video only, 60.58MiB 136 mp4 1280x720 720p 124k , mp4_dash container, avc1.4d401f@ 124k, 30fps, video only, 77.71MiB 298 mp4 1280x720 720p60 175k , mp4_dash container, avc1.4d4020@ 175k, 60fps, video only, 109.36MiB 247 webm 1280x720 720p 214k , webm_dash container, vp9@ 214k, 30fps, video only, 133.80MiB 302 webm 1280x720 720p60 300k , webm_dash container, vp9@ 300k, 60fps, video only, 187.91MiB 299 mp4 1920x1080 1080p60 269k , mp4_dash container, avc1.64002a@ 269k, 60fps, video only, 168.53MiB 303 webm 1920x1080 1080p60 473k , webm_dash container, vp9@ 473k, 60fps, video only, 295.79MiB 18 mp4 640x360 360p 163k , avc1.42001E, 30fps, mp4a.40.2 (44100Hz) 22 mp4 1280x720 720p 253k , avc1.64001F, 30fps, mp4a.40.2 (44100Hz) (best)
Note: OP's verbose log is from yt-dlp, not youtube-dl...
Thanks a lot
I followed all of the instructions to update via pip and github. still not working
[debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', 'KmAkZYY8o3I'] [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.6 (CPython) - Linux-5.19.0-32-generic-x86_64-with-glibc2.35 [debug] exe versions: ffmpeg 4.4.2, ffprobe 4.4.2, rtmpdump 2.4 [debug] Proxy map: {} [youtube] KmAkZYY8o3I: 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 "/home/duck/.local/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/home/duck/.local/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/home/duck/.local/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/home/duck/.local/lib/python3.10/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 "/home/duck/.local/lib/python3.10/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.
Thank you, found it in line 1794
If you installed with a package manager (apt, yum, brew, winget, etc), you may find that the maintainers of your package repository have updated the package from a fixed development version (eg, Ubuntu).
Careful. I tried on *buntu 22.04; snap and apt, but didn't get any updated version. So back to my trusted pip install. YMMV
'uploader_id': self._search_regex(r'/(?:channel/|user/|@)([^/?&#]+)', owner_profile_url, 'uploader id', default=None),
This worked, thank you! In my case it was in line 1794.
@jduckett, the error log is well known. Let us know the result of type youtube-dl
, the exact command(s) that you used to update, and, if you can recall, how your yt-dl was originally installed.
This issue is solved: read the Description below If you still want to comment after reading that, think again: first read this post below to avoid your comment being deleted or marked as spam.
Checklist
Verbose log
[YouTube] Unable to extract uploader id
``` yt-dlp.exe" -x -4 --download-archive "C:\Youtube-dlp\download_history.txt" --external-downloader aria2c --restrict-filenames --match-filter "description*='ESTRENO'" --audio-format mp3 -o "E:\FOLDER\RENAME\%%(title)s.%%(ext)s" "https://www.youtube.com/watch?v=lcusH7ksCNw&list=PLuXU-g7mjkKPvWSFq7xI_N4Xj7A3iSOU3&index=67" -v [debug] Command-line config: ['-x', '-4', '--download-archive', 'C:\\Youtube-dlp\\download_history.txt', '--external-downloader', 'aria2c', '--restrict-filenames', '--match-filter', "description*='ESTRENO'", '--audio-format', 'mp3', '-o', 'E:\\A.PROCESAR\\RENAME\\%%(title)s.%%(ext)s', 'https://www.youtube.com/watch?v=lcusH7ksCNw&list=PLuXU-g7mjkKPvWSFq7xI_N4Xj7A3iSOU3&index=67', '-v'] [debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version 2023.01.06 [6becd25] (win_exe) [debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19044-SP0 (OpenSSL 1.1.1k 25 Mar 2021) [debug] exe versions: ffmpeg N-109541-g94aa70d757-20230109 (setts), ffprobe N-109541-g94aa70d757-20230109, phantomjs 2.1.1 [debug] Optional libraries: Cryptodome-3.16.0, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4 [debug] Proxy map: {} [debug] Loaded 1760 extractors [debug] Loading archive file 'C:\\Youtube-dlp\\ download_history.txt' [youtube:tab] Extracting URL: https://www.youtube.com/watch?v=lcusH7ksCNw&list=PLuXU-g7mjkKPvWSFq7xI_N4Xj7A3iSOU3&index=67 [youtube:tab] Downloading playlist PLuXU-g7mjkKPvWSFq7xI_N4Xj7A3iSOU3 - add --no-playlist to download just the video lcusH7ksCNw [youtube:tab] PLuXU-g7mjkKPvWSFq7xI_N4Xj7A3iSOU3: Downloading webpage [youtube:tab] Extracting URL: https://www.youtube.com/playlist?list=PLuXU-g7mjkKPvWSFq7xI_N4Xj7A3iSOU3 [youtube:tab] PLuXU-g7mjkKPvWSFq7xI_N4Xj7A3iSOU3: Downloading webpage [youtube:tab] PLuXU-g7mjkKPvWSFq7xI_N4Xj7A3iSOU3: Redownloading playlist API JSON with unavailable videos [download] Downloading playlist: LA VENGANZA SERÁ TERRIBLE (Programas) [youtube:tab] Playlist LA VENGANZA SERÁ TERRIBLE (Programas): Downloading 67 items of 67 [download] Downloading item 1 of 67 [youtube] Extracting URL: https://www.youtube.com/watch?v=3h5-QPbKoVg [youtube] 3h5-QPbKoVg: Downloading webpage [youtube] 3h5-QPbKoVg: Downloading android player API JSON [debug] Loading youtube-nsig.1cbba2b4 from cache WARNING: [youtube] 3h5-QPbKoVg: Native nsig extraction failed: Trying with PhantomJS n = GDZ_5inyZ3r6QSP ; 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] 3h5-QPbKoVg: Executing signature code [debug] [youtube] PhantomJS command line: phantomjs "--ssl-protocol=any" "C:\Users\USER\AppData\Local\Temp\tmp88untizd" [debug] [youtube] Decrypted nsig GDZ_5inyZ3r6QSP => ECvndyupC0ex4A ERROR: [youtube] 3h5-QPbKoVg: 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 "yt_dlp\extractor\common.py", line 680, in extract File "yt_dlp\extractor\youtube.py", line 4049, in _real_extract File "yt_dlp\extractor\common.py", line 1228, in _search_regex ```Description
[Revised by @dirkf] OP actually reported the bug for yt-dlp.
The problem, which was revealed by a change in the metadata served by YouTube, applied to both youtube-dl and yt-dlp and has been fixed in both programs.
There is a release of yt-dlp that includes the fix. See #31535 for discussion of whether this would be a good choice for you.
See below for ways to update to a fixed version of youtube-dl. Using
-U
doesn't (yet) work. A new release may be created, including the final fix, some time later than now. However, there is now a nightly build from the latest code here.There's no point posting your log that shows the error now: feel free to thumb-up this post. Also, be aware that the initial patch still flagged the original issue as a WARNING; the fully fixed yt-dl doesn't. Consider raising a separate issue if your fixed yt-dl shows a different error.