[YouTube] Unable to extract uploader id #25717

Open
opened 2026-02-21 13:55:51 -05:00 by deekerman · 634 comments
Owner

Originally created by @Shituation on GitHub (Feb 16, 2023).

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

  • 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

[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. There is now a nightly build from the latest code here: this is the recommended solution.

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.

Originally created by @Shituation on GitHub (Feb 16, 2023). **This issue is solved: read the [Description](#Description) below** If you still want to comment after reading that, **think again**: first read [this post below](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1520185289) to avoid your comment being deleted or marked as spam. <!-- ###################################################################### WARNING! IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE ###################################################################### --> ## Checklist <!-- Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl: - First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2021.12.17. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED. - Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser. - Make sure that all URLs and arguments with special characters are properly quoted or escaped as explained in http://yt-dl.org/escape. - Search the bugtracker for similar issues: http://yt-dl.org/search-issues. DO NOT post duplicates. - Finally, put x into all relevant boxes (like this [x]) --> - [x] I'm reporting a broken site support - [x] I've verified that I'm running youtube-dl version **2021.12.17** - [x] I've checked that all provided URLs are alive and playable in a browser - [x] I've checked that all URLs and arguments with special characters are properly quoted or escaped - [x] I've searched the bugtracker for similar issues including closed ones ## Verbose log <!-- Provide the complete verbose output of youtube-dl that clearly demonstrates the problem. Add the `-v` flag to your command line you run youtube-dl with (`youtube-dl -v <your command line>`), copy the WHOLE output and insert it below. It should look similar to this: [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj'] [debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251 [debug] youtube-dl version 2021.12.17 [debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2 [debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4 [debug] Proxy map: {} <more lines> --> <details><summary>[YouTube] Unable to extract uploader id</summary> ``` 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 ``` </details> <a id=Description> ## Description </a> <!-- Provide an explanation of your issue in an arbitrary form. Provide any additional information, suggested solution and as much context and examples as possible. If work on your issue requires account credentials please provide them or explain how one can obtain them. --> [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_](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1433230848) and [_yt-dlp_](https://github.com/yt-dlp/yt-dlp/issues/6247) and has been fixed in both programs. There is a release of [_yt-dlp_](https://github.com/yt-dlp/yt-dlp) that includes the fix. See #31535 for discussion of whether this would be a good choice for you. **See [below](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611) 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](https://github.com/ytdl-org/youtube-dl/issues/31585). There is now a **nightly build** from the latest code [here](https://github.com/ytdl-org/ytdl-nightly/releases): this is the **recommended solution**. There's **no point posting your log that shows the error** now: feel free to thumb-up [this post](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1433230848). Also, be aware that the initial patch still flagged the original issue [as a WARNING](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1436130288); the [fully fixed yt-dl](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1443615453) doesn't. [Consider raising a separate issue](https://github.com/ytdl-org/youtube-dl/issues/30839) if your fixed yt-dl shows a different error.
Author
Owner

@christianKuntz commented on GitHub (Feb 16, 2023):

Same here; a more simplified sample command line and result to reproduce the issue is as follows:
I have a batch (.cmd in Windows), downloading multiple playlists' updates.
When the issue first occured, I have added .yt-dlp.exe -U as the first command, which did not help.
I just have created a single video command to ease reproduction.

Additional info: youtube-dl shows the same error without -v option; a subsequent attempt with -v added suddenly downloaded the video. So it might be hard to reproduce.
Suggestion: Can that be due to manfest.googlevideos.com temporarily being unreachable?
(I guess that from youtube-dl's verbose output when it worked)

My error sample:

...> .\yt-dlp.exe -v https://youtube.com/watch?v=hrpVKlj2QI0
[debug] Command-line config: ['-v', 'https://youtube.com/watch?v=hrpVKlj2QI0']
[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.22621-SP0 (OpenSSL 1.1.1k 25 Mar 2021)
[debug] exe versions: ffmpeg N-109820-g2c4dcbd66b-20230210 (setts), ffprobe N-109820-g2c4dcbd66b-20230210, 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
[youtube] Extracting URL: https://youtube.com/watch?v=hrpVKlj2QI0
[youtube] hrpVKlj2QI0: Downloading webpage
[youtube] hrpVKlj2QI0: Downloading android player API JSON
[youtube] hrpVKlj2QI0: Downloading MPD manifest
ERROR: [youtube] hrpVKlj2QI0: 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

@christianKuntz commented on GitHub (Feb 16, 2023): Same here; a more simplified sample command line and result to reproduce the issue is as follows: I have a batch (.cmd in Windows), downloading multiple playlists' updates. When the issue first occured, I have added .yt-dlp.exe -U as the first command, which did not help. I just have created a single video command to ease reproduction. Additional info: youtube-dl shows the same error without -v option; a subsequent attempt with -v added suddenly downloaded the video. So it might be hard to reproduce. Suggestion: Can that be due to manfest.googlevideos.com temporarily being unreachable? (I guess that from youtube-dl's verbose output when it worked) My error sample: ...> .\yt-dlp.exe -v https://youtube.com/watch?v=hrpVKlj2QI0 [debug] Command-line config: ['-v', 'https://youtube.com/watch?v=hrpVKlj2QI0'] [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.22621-SP0 (OpenSSL 1.1.1k 25 Mar 2021) [debug] exe versions: ffmpeg N-109820-g2c4dcbd66b-20230210 (setts), ffprobe N-109820-g2c4dcbd66b-20230210, 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 [youtube] Extracting URL: https://youtube.com/watch?v=hrpVKlj2QI0 [youtube] hrpVKlj2QI0: Downloading webpage [youtube] hrpVKlj2QI0: Downloading android player API JSON [youtube] hrpVKlj2QI0: Downloading MPD manifest ERROR: [youtube] hrpVKlj2QI0: 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
Author
Owner

@LucasAlmeida0 commented on GitHub (Feb 16, 2023):

Got the same issue here

@LucasAlmeida0 commented on GitHub (Feb 16, 2023): Got the same issue here
Author
Owner

@dmelladoc commented on GitHub (Feb 16, 2023):

I'm having the same issue here. Using youtube-dl version 2021.12.17

It seems that youtube might have changed something internally.

youtube-dl --verbose https://www.youtube.com/watch\?v\=y6_TOFy3k6k
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=y6_TOFy3k6k']
[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.12-zen1-1-zen-x86_64-with-glibc2.37
[debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] y6_TOFy3k6k: 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.
@dmelladoc commented on GitHub (Feb 16, 2023): I'm having the same issue here. Using youtube-dl version 2021.12.17 It seems that youtube might have changed something internally. ```sh youtube-dl --verbose https://www.youtube.com/watch\?v\=y6_TOFy3k6k [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=y6_TOFy3k6k'] [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.12-zen1-1-zen-x86_64-with-glibc2.37 [debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2, rtmpdump 2.4 [debug] Proxy map: {} [youtube] y6_TOFy3k6k: 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. ```
Author
Owner

@Shituation commented on GitHub (Feb 16, 2023):

Its probably a change on youtube's side and the indicated regex in the CLI, is obsolete now.
Not a coder here so I cannot help.

@Shituation commented on GitHub (Feb 16, 2023): Its probably a change on youtube's side and the indicated regex in the CLI, is obsolete now. Not a coder here so I cannot help.
Author
Owner

@nicolaasjan commented on GitHub (Feb 16, 2023):

Already fixed in yt-dlp.
https://github.com/yt-dlp/yt-dlp/issues/6247
github.com/yt-dlp/yt-dlp@149eb0bbf3

@nicolaasjan commented on GitHub (Feb 16, 2023): Already fixed in yt-dlp. https://github.com/yt-dlp/yt-dlp/issues/6247 https://github.com/yt-dlp/yt-dlp/commit/149eb0bbf34fa8fdf8d1e2aa28e17479d099e26b
Author
Owner

@SoundsBetter commented on GitHub (Feb 16, 2023):

It works for me from time to time

Python version 3.11.1 (CPython) - Windows-10-10.0.19044-SP0
C:\Users\dr7mu>C:\Users\dr7mu\AppData\Roaming\Python\Python311\Scripts\youtube-dl --verbose https://youtu.be/PtcHNvVooLQ
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://youtu.be/PtcHNvVooLQ']
[debug] Encodings: locale cp1251, fs utf-8, out utf-8, pref cp1251
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.11.1 (CPython) - Windows-10-10.0.19044-SP0
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] PtcHNvVooLQ: Downloading webpage
[youtube] PtcHNvVooLQ: Downloading MPD manifest
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'https://rr3---sn-npa3oxu-c0ns.googlevideo.com/videoplayback?expire=1676587820&ei=zF7uY_rJJciR1was1oPICw&ip=5.152.109.165&id=o-ADzBJJPVVVl-AU3mcvIsev5R0V1fTR01mJ_nuqSQx5Wm&itag=22&source=youtube&requiressl=yes&mh=pV&mm=31%2C29&mn=sn-npa3oxu-c0ns%2Csn-4g5lznlz&ms=au%2Crdu&mv=m&mvi=3&pl=24&initcwndbps=907500&vprv=1&mime=video%2Fmp4&ns=g4drxay16iE_vip8yIu0wmoL&ratebypass=yes&dur=1.904&lmt=1577620449803537&mt=1676565912&fvip=1&fexp=24007246&c=WEB&txp=6216222&n=c1FH5nfa5vHvkem&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAI-mZRq0fh65Jnpt1sCMDw35TI8IVWhW--gfmUg-YLWNAiEA7MCq4VJoeEW-LZOSJMOcEXxGK07GKwuYdVUZFXJ32Hg%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgN6wKZpbb1vDhJhiMB32tj8aTsYhtJZcSmhp8jj8qRGkCIQCzm2axUyvk7xLxaJBmt9WdiOOFDh1ZDwZdwptys1Rk7g%3D%3D'
[download] Destination: Wilhelm Scream (Iconic funny Scream) - Sound Effect for Editing-PtcHNvVooLQ.mp4
[download] 100% of 44.67KiB in 00:00

C:\Users\dr7mu>C:\Users\dr7mu\AppData\Roaming\Python\Python311\Scripts\youtube-dl --verbose https://youtu.be/PtcHNvVooLQ
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://youtu.be/PtcHNvVooLQ']
[debug] Encodings: locale cp1251, fs utf-8, out utf-8, pref cp1251
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.11.1 (CPython) - Windows-10-10.0.19044-SP0
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] PtcHNvVooLQ: Downloading webpage
[youtube] PtcHNvVooLQ: 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 "C:\Users\dr7mu\AppData\Roaming\Python\Python311\site-packages\youtube_dl\YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\dr7mu\AppData\Roaming\Python\Python311\site-packages\youtube_dl\YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
                ^^^^^^^^^^^^^^^
  File "C:\Users\dr7mu\AppData\Roaming\Python\Python311\site-packages\youtube_dl\extractor\common.py", line 534, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\dr7mu\AppData\Roaming\Python\Python311\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 "C:\Users\dr7mu\AppData\Roaming\Python\Python311\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.

I use one script in PyCharm and it works one time out of five

@SoundsBetter commented on GitHub (Feb 16, 2023): It works for me from time to time <details><summary>Python version 3.11.1 (CPython) - Windows-10-10.0.19044-SP0</summary> ``` C:\Users\dr7mu>C:\Users\dr7mu\AppData\Roaming\Python\Python311\Scripts\youtube-dl --verbose https://youtu.be/PtcHNvVooLQ [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', 'https://youtu.be/PtcHNvVooLQ'] [debug] Encodings: locale cp1251, fs utf-8, out utf-8, pref cp1251 [debug] youtube-dl version 2021.12.17 [debug] Python version 3.11.1 (CPython) - Windows-10-10.0.19044-SP0 [debug] exe versions: none [debug] Proxy map: {} [youtube] PtcHNvVooLQ: Downloading webpage [youtube] PtcHNvVooLQ: Downloading MPD manifest [debug] Default format spec: best/bestvideo+bestaudio [debug] Invoking downloader on 'https://rr3---sn-npa3oxu-c0ns.googlevideo.com/videoplayback?expire=1676587820&ei=zF7uY_rJJciR1was1oPICw&ip=5.152.109.165&id=o-ADzBJJPVVVl-AU3mcvIsev5R0V1fTR01mJ_nuqSQx5Wm&itag=22&source=youtube&requiressl=yes&mh=pV&mm=31%2C29&mn=sn-npa3oxu-c0ns%2Csn-4g5lznlz&ms=au%2Crdu&mv=m&mvi=3&pl=24&initcwndbps=907500&vprv=1&mime=video%2Fmp4&ns=g4drxay16iE_vip8yIu0wmoL&ratebypass=yes&dur=1.904&lmt=1577620449803537&mt=1676565912&fvip=1&fexp=24007246&c=WEB&txp=6216222&n=c1FH5nfa5vHvkem&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAI-mZRq0fh65Jnpt1sCMDw35TI8IVWhW--gfmUg-YLWNAiEA7MCq4VJoeEW-LZOSJMOcEXxGK07GKwuYdVUZFXJ32Hg%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgN6wKZpbb1vDhJhiMB32tj8aTsYhtJZcSmhp8jj8qRGkCIQCzm2axUyvk7xLxaJBmt9WdiOOFDh1ZDwZdwptys1Rk7g%3D%3D' [download] Destination: Wilhelm Scream (Iconic funny Scream) - Sound Effect for Editing-PtcHNvVooLQ.mp4 [download] 100% of 44.67KiB in 00:00 C:\Users\dr7mu>C:\Users\dr7mu\AppData\Roaming\Python\Python311\Scripts\youtube-dl --verbose https://youtu.be/PtcHNvVooLQ [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', 'https://youtu.be/PtcHNvVooLQ'] [debug] Encodings: locale cp1251, fs utf-8, out utf-8, pref cp1251 [debug] youtube-dl version 2021.12.17 [debug] Python version 3.11.1 (CPython) - Windows-10-10.0.19044-SP0 [debug] exe versions: none [debug] Proxy map: {} [youtube] PtcHNvVooLQ: Downloading webpage [youtube] PtcHNvVooLQ: 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 "C:\Users\dr7mu\AppData\Roaming\Python\Python311\site-packages\youtube_dl\YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\dr7mu\AppData\Roaming\Python\Python311\site-packages\youtube_dl\YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) ^^^^^^^^^^^^^^^ File "C:\Users\dr7mu\AppData\Roaming\Python\Python311\site-packages\youtube_dl\extractor\common.py", line 534, in extract ie_result = self._real_extract(url) ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\dr7mu\AppData\Roaming\Python\Python311\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 "C:\Users\dr7mu\AppData\Roaming\Python\Python311\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. ``` </details> I use one script in PyCharm and it works one time out of five
Author
Owner

@nicolaasjan commented on GitHub (Feb 16, 2023):

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...

@nicolaasjan commented on GitHub (Feb 16, 2023): [Line 2125](https://github.com/ytdl-org/youtube-dl/blob/dd9aa74beefc179f943051c4e19eecad87ab1124/youtube_dl/extractor/youtube.py#L2125) in [youtube.py](https://github.com/ytdl-org/youtube-dl/blob/master/youtube_dl/extractor/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...
Author
Owner

@Shituation commented on GitHub (Feb 16, 2023):

Damn... why didn't those guys change the name to something less confusing.

Sorry.

@Shituation commented on GitHub (Feb 16, 2023): Damn... why didn't those guys change the name to something less confusing. Sorry.
Author
Owner

@dirkf commented on GitHub (Feb 16, 2023):

Working in git master:

$ python -m youtube_dl -o '%(uploader_id)s' --get-filename 'https://www.youtube.com/watch?v=y6_TOFy3k6k'
UCJ6o36XL0CpYb6U5dNBiXHQ
$
@dirkf commented on GitHub (Feb 16, 2023): Working in git master: ```shellsession $ python -m youtube_dl -o '%(uploader_id)s' --get-filename 'https://www.youtube.com/watch?v=y6_TOFy3k6k' UCJ6o36XL0CpYb6U5dNBiXHQ $ ```
Author
Owner

@christianKuntz commented on GitHub (Feb 16, 2023):

for yt-dlp a fix is already documented and I could fix it by building the latest version;
the exact fix of the regex, performed by @bashonly is described here

@christianKuntz commented on GitHub (Feb 16, 2023): for yt-dlp a fix is already documented and I could fix it by building the latest version; the exact fix of the regex, performed by @bashonly is described [here](https://github.com/yt-dlp/yt-dlp/commit/149eb0bbf34fa8fdf8d1e2aa28e17479d099e26b)
Author
Owner

@dirkf commented on GitHub (Feb 16, 2023):

Actually I can't reproduce any error for yt-dl release or yt-dlp 2022.11.22 (regression?), both giving UCJ6o36XL0CpYb6U5dNBiXHQ with no error for y6_TOFy3k6k. Nor do I get an error with 3h5-QPbKoVg in any of the three. If anyone can show a page where the extraction crashes or produces the wrong uploader_id, I'll re-open this.

Possibly YT ran an A-B test that has now been withdrawn.

@dirkf commented on GitHub (Feb 16, 2023): Actually I can't reproduce any error for yt-dl release or yt-dlp 2022.11.22 (regression?), both giving `UCJ6o36XL0CpYb6U5dNBiXHQ` with no error for `y6_TOFy3k6k`. Nor do I get an error with `3h5-QPbKoVg` in any of the three. If anyone can show a page where the extraction crashes or produces the wrong `uploader_id`, I'll re-open this. Possibly YT ran an A-B test that has now been withdrawn.
Author
Owner

@bashonly commented on GitHub (Feb 16, 2023):

@dirkf
It seems to be some sort of regional(?) A/B-testing. I wasn't able to reproduce the issue at first either, but I was able to confirm the change in site behavior through affected users' page dumps. Youtube has begun serving web JSON where the ownerProfileUrl value is the @handle URL format instead of /channel/ or /user/, and this breaks the fatal _search_regex() used to extract uploader_id

@bashonly commented on GitHub (Feb 16, 2023): @dirkf It seems to be some sort of regional(?) A/B-testing. I wasn't able to reproduce the issue at first either, but I was able to confirm the change in site behavior through affected users' page dumps. Youtube has begun serving web JSON where the `ownerProfileUrl` value is the `@handle` URL format instead of `/channel/` or `/user/`, and this breaks the fatal `_search_regex()` used to extract `uploader_id`
Author
Owner

@Delitants commented on GitHub (Feb 16, 2023):

Same problem!!!

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.
youtube-dl -U
youtube-dl is up-to-date (2021.12.17)
@Delitants commented on GitHub (Feb 16, 2023): Same problem!!! ``` 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. youtube-dl -U youtube-dl is up-to-date (2021.12.17) ```
Author
Owner

@nPHYN1T3 commented on GitHub (Feb 16, 2023):

This just started happening to me. Things have worked all day until a bit ago. Tons of reports on here but no fixes other than some self rolled patches. Given this is closed but still broken...something something dark side. About the regional theory, I've tested raw and with TOR and get the same result.

Python version 3.10.9 (CPython) - Linux-6.1.12-arch1-1-x86_64-with-glibc2.37 ``` [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['https://www.youtube.com/watch?v=HrmcAFaVL6I', '--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.9 (CPython) - Linux-6.1.12-arch1-1-x86_64-with-glibc2.37 [debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2, rtmpdump 2.4 [debug] Proxy map: {} [youtube] HrmcAFaVL6I: 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. ```
@nPHYN1T3 commented on GitHub (Feb 16, 2023): This just started happening to me. Things have worked all day until a bit ago. Tons of reports on here but no fixes other than some self rolled patches. Given this is closed but still broken...something something dark side. About the regional theory, I've tested raw and with TOR and get the same result. <details><summary>Python version 3.10.9 (CPython) - Linux-6.1.12-arch1-1-x86_64-with-glibc2.37</summary> ``` [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['https://www.youtube.com/watch?v=HrmcAFaVL6I', '--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.9 (CPython) - Linux-6.1.12-arch1-1-x86_64-with-glibc2.37 [debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2, rtmpdump 2.4 [debug] Proxy map: {} [youtube] HrmcAFaVL6I: 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. ``` </details>
Author
Owner

@Vangelis66 commented on GitHub (Feb 16, 2023):

Working in git master:

If anyone can show a page where the extraction crashes or produces the wrong uploader_id, I'll re-open this.

... Some 5-6 hours ago, git master (snapshot git-20230214-gdd9aa74) was hit-and-miss, in that one invocation of yt-dl for a specific YT video ID would work as expected, whereas next invocation for the same video ID, some seconds later, would produce the ERROR message contained in this issue's title 😠 ; IOW, pretty much what was described by @SoundsBetter 😉 ...

However, at this time (ca. 00:25 GMT of 20230217), it's always "miss" 😞 , i.e. the YT changes have fully propagated to the CDNs serving my location (SE Europe):

yt-dl -vF "y6_TOFy3k6k" => 

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--ffmpeg-location', '.\\FFmpeg', '--external-downloader-args', '-v 8 -stats', '-vF', 'y6_TOFy3k6k']
[debug] Encodings: locale cp1253, fs mbcs, out cp737, pref cp1253
[debug] youtube-dl version 2023.02.16.19419
[debug] Python version 3.4.4 (CPython) - Windows-Vista-6.0.6003-SP2
[debug] exe versions: ffmpeg n5.2-dev-2245-N-109649-gab8cde6, ffprobe n5.2-dev-2245-N-109649-gab8cde6, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] y6_TOFy3k6k: Downloading webpage
[debug] [youtube] Decrypted nsig G7tWAGDe6v0HC9p => 8oOTd8zyOMPnHA
[debug] [youtube] Decrypted nsig 827vHwKOyzOGH4d => OtJOHYU2-Y7DWw
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 "YoutubeDL.py", line 816, in wrapper
  File "YoutubeDL.py", line 837, in __extract_info
  File "common.py", line 535, in extract
  File "D:\a\youtube-dl\youtube-dl\youtube_dl\extractor\youtube.py", line 2125, in _real_extract
  File "common.py", line 1013, 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.

EDIT:

yt-dl --get-filename "y6_TOFy3k6k" -o "%(uploader_id)s" => 

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.

yt-dl --get-filename "3h5-QPbKoVg" -o "%(uploader_id)s" => 

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.
@Vangelis66 commented on GitHub (Feb 16, 2023): > Working in git master: > If anyone can show a page where the extraction crashes or produces the wrong `uploader_id`, I'll re-open this. ... Some **5**-**6** hours ago, `git master` (snapshot `git-20230214-gdd9aa74`) was **hit-and-miss**, in that one invocation of `yt-dl` for **a specific YT video ID** would work as expected, whereas next invocation **for the same video ID**, some seconds later, would produce the **ERROR** message contained in this issue's title 😠 ; IOW, pretty much what was described by @SoundsBetter 😉 ... However, at this time (ca. 00:25 GMT of 20230217), **it's always "miss"** 😞 , i.e. the **YT** changes have fully propagated to the CDNs serving my location (SE Europe): ```shell yt-dl -vF "y6_TOFy3k6k" => [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--ffmpeg-location', '.\\FFmpeg', '--external-downloader-args', '-v 8 -stats', '-vF', 'y6_TOFy3k6k'] [debug] Encodings: locale cp1253, fs mbcs, out cp737, pref cp1253 [debug] youtube-dl version 2023.02.16.19419 [debug] Python version 3.4.4 (CPython) - Windows-Vista-6.0.6003-SP2 [debug] exe versions: ffmpeg n5.2-dev-2245-N-109649-gab8cde6, ffprobe n5.2-dev-2245-N-109649-gab8cde6, phantomjs 2.1.1, rtmpdump 2.4 [debug] Proxy map: {} [youtube] y6_TOFy3k6k: Downloading webpage [debug] [youtube] Decrypted nsig G7tWAGDe6v0HC9p => 8oOTd8zyOMPnHA [debug] [youtube] Decrypted nsig 827vHwKOyzOGH4d => OtJOHYU2-Y7DWw 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 "YoutubeDL.py", line 816, in wrapper File "YoutubeDL.py", line 837, in __extract_info File "common.py", line 535, in extract File "D:\a\youtube-dl\youtube-dl\youtube_dl\extractor\youtube.py", line 2125, in _real_extract File "common.py", line 1013, 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. ``` EDIT: ```shell yt-dl --get-filename "y6_TOFy3k6k" -o "%(uploader_id)s" => 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. yt-dl --get-filename "3h5-QPbKoVg" -o "%(uploader_id)s" => 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. ```
Author
Owner

@dirkf commented on GitHub (Feb 16, 2023):

In any case the extraction of an optional field shouldn't crash the extraction:

-            'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
+            'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id', fatal=False) if owner_profile_url else None,

[Update] To quote @nicolaasjan:

That's not the real fix.
It was fixed with the merging of pull request #31675 two weeks ago.

Exactly. Don't apply this change. Use the suggested methods as linked from the Description, which you should read again if you were thinking of applying this change.

@dirkf commented on GitHub (Feb 16, 2023): In any case the extraction of an optional field shouldn't crash the extraction: ```diff - 'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None, + 'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id', fatal=False) if owner_profile_url else None, ``` [Update] To quote @nicolaasjan: >That's not the real fix. It was fixed with the merging of pull request #31675 two weeks ago. Exactly. Don't apply this change. Use the [suggested methods](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611) as linked from the [Description](https://github.com/ytdl-org/youtube-dl/issues/31530#Description), which you should read again if you were thinking of applying this change.
Author
Owner

@huzzam commented on GitHub (Feb 16, 2023):

same here. you probably don't need more bug reports but since i came here to report it, here it is:

Python version 3.10.10 (CPython) - macOS-12.6.3-x86_64-i386-64bit

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', 'mp4', '--verbose', 'https://www.youtube.com/watch?v=dQw4w9WgXcQ']
[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.10 (CPython) - macOS-12.6.3-x86_64-i386-64bit
[debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2
[debug] Proxy map: {}
[youtube] imj6Rghr95g: 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 "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/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 "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/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.
@huzzam commented on GitHub (Feb 16, 2023): same here. you probably don't need more bug reports but since i came here to report it, here it is: <details><summary>Python version 3.10.10 (CPython) - macOS-12.6.3-x86_64-i386-64bit</summary> <pre><code> [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-f', 'mp4', '--verbose', 'https://www.youtube.com/watch?v=dQw4w9WgXcQ'] [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.10 (CPython) - macOS-12.6.3-x86_64-i386-64bit [debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2 [debug] Proxy map: {} [youtube] imj6Rghr95g: 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 "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/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 "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/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. </code></pre> </details>
Author
Owner

@Vangelis66 commented on GitHub (Feb 16, 2023):

In any case, the extraction of an optional field shouldn't crash the extraction:

... With the suggested patch applied:

yt-dl -vF "y6_TOFy3k6k" => 

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--ffmpeg-location', '.\\FFmpeg', '--external-downloader-args', '-v 8 -stats', '-vF', 'y6_TOFy3k6k']
[debug] Encodings: locale cp1253, fs mbcs, out cp737, pref cp1253
[debug] youtube-dl version 2023.02.16.19419
[debug] Python version 3.4.4 (CPython) - Windows-Vista-6.0.6003-SP2
[debug] exe versions: ffmpeg n5.2-dev-2245-N-109649-gab8cde6, ffprobe n5.2-dev-2245-N-109649-gab8cde6, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] y6_TOFy3k6k: Downloading webpage
[debug] [youtube] Decrypted nsig Y36IoycIuu5NGbW1 => 5F9rK5j6OOd4Mg
[debug] [youtube] Decrypted nsig nPHxAsdq4x-MxFxV => ZSHNLTuIxceXpA
WARNING: 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.
[info] Available formats for y6_TOFy3k6k:
format code  extension  resolution note
249          webm       audio only tiny   50k , webm_dash container, opus @ 50k(48000Hz), 13.97MiB
250          webm       audio only tiny   72k , webm_dash container, opus @ 72k(48000Hz), 20.23MiB
251          webm       audio only tiny  128k , webm_dash container, opus @128k(48000Hz), 35.76MiB
140          m4a        audio only tiny  129k , m4a_dash container, mp4a.40.2@129k (44100Hz), 35.96MiB
160          mp4        256x144    144p   18k , mp4_dash container, avc1.4d400c@  18k, 24fps, video only, 5.00MiB
394          mp4        256x144    144p   24k , mp4_dash container, av01.0.00M.08@  24k, 24fps, video only, 6.84MiB
278          webm       256x144    144p   36k , webm_dash container, vp9@  36k, 24fps, video only, 10.27MiB
133          mp4        426x240    240p   25k , mp4_dash container, avc1.4d4015@  25k, 24fps, video only, 7.02MiB
395          mp4        426x240    240p   48k , mp4_dash container, av01.0.00M.08@  48k, 24fps, video only, 13.44MiB
242          webm       426x240    240p   54k , webm_dash container, vp9@  54k, 24fps, video only, 15.24MiB
134          mp4        640x360    360p   38k , mp4_dash container, avc1.4d401e@  38k, 24fps, video only, 10.77MiB
396          mp4        640x360    360p   81k , mp4_dash container, av01.0.01M.08@  81k, 24fps, video only, 22.56MiB
243          webm       640x360    360p   95k , webm_dash container, vp9@  95k, 24fps, video only, 26.54MiB
135          mp4        854x480    480p   53k , mp4_dash container, avc1.4d401e@  53k, 24fps, video only, 14.94MiB
397          mp4        854x480    480p  130k , mp4_dash container, av01.0.04M.08@ 130k, 24fps, video only, 36.27MiB
244          webm       854x480    480p  132k , webm_dash container, vp9@ 132k, 24fps, video only, 36.75MiB
136          mp4        1280x720   720p   85k , mp4_dash container, avc1.4d401f@  85k, 24fps, video only, 23.75MiB
247          webm       1280x720   720p  208k , webm_dash container, vp9@ 208k,24fps, video only, 57.79MiB
398          mp4        1280x720   720p  235k , mp4_dash container, av01.0.05M.08@ 235k, 24fps, video only, 65.28MiB
137          mp4        1920x1080  1080p  247k , mp4_dash container, avc1.640028@ 247k, 24fps, video only, 68.86MiB
399          mp4        1920x1080  1080p  434k , mp4_dash container, av01.0.08M.08@ 434k, 24fps, video only, 120.74MiB
248          webm       1920x1080  1080p  543k , webm_dash container, vp9@ 543k, 24fps, video only, 150.87MiB
18           mp4        640x360    360p  205k , avc1.42001E, 24fps, mp4a.40.2 (44100Hz), 56.95MiB
22           mp4        1280x720   720p  214k , avc1.64001F, 24fps, mp4a.40.2 (44100Hz) (best)

... and

yt-dl --get-filename "y6_TOFy3k6k" -o "%(uploader_id)s" =>

WARNING: 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.
NA
@Vangelis66 commented on GitHub (Feb 16, 2023): > In any case, the extraction of an optional field **shouldn't crash** the extraction: ... With the suggested patch applied: ```shell yt-dl -vF "y6_TOFy3k6k" => [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--ffmpeg-location', '.\\FFmpeg', '--external-downloader-args', '-v 8 -stats', '-vF', 'y6_TOFy3k6k'] [debug] Encodings: locale cp1253, fs mbcs, out cp737, pref cp1253 [debug] youtube-dl version 2023.02.16.19419 [debug] Python version 3.4.4 (CPython) - Windows-Vista-6.0.6003-SP2 [debug] exe versions: ffmpeg n5.2-dev-2245-N-109649-gab8cde6, ffprobe n5.2-dev-2245-N-109649-gab8cde6, phantomjs 2.1.1, rtmpdump 2.4 [debug] Proxy map: {} [youtube] y6_TOFy3k6k: Downloading webpage [debug] [youtube] Decrypted nsig Y36IoycIuu5NGbW1 => 5F9rK5j6OOd4Mg [debug] [youtube] Decrypted nsig nPHxAsdq4x-MxFxV => ZSHNLTuIxceXpA WARNING: 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. [info] Available formats for y6_TOFy3k6k: format code extension resolution note 249 webm audio only tiny 50k , webm_dash container, opus @ 50k(48000Hz), 13.97MiB 250 webm audio only tiny 72k , webm_dash container, opus @ 72k(48000Hz), 20.23MiB 251 webm audio only tiny 128k , webm_dash container, opus @128k(48000Hz), 35.76MiB 140 m4a audio only tiny 129k , m4a_dash container, mp4a.40.2@129k (44100Hz), 35.96MiB 160 mp4 256x144 144p 18k , mp4_dash container, avc1.4d400c@ 18k, 24fps, video only, 5.00MiB 394 mp4 256x144 144p 24k , mp4_dash container, av01.0.00M.08@ 24k, 24fps, video only, 6.84MiB 278 webm 256x144 144p 36k , webm_dash container, vp9@ 36k, 24fps, video only, 10.27MiB 133 mp4 426x240 240p 25k , mp4_dash container, avc1.4d4015@ 25k, 24fps, video only, 7.02MiB 395 mp4 426x240 240p 48k , mp4_dash container, av01.0.00M.08@ 48k, 24fps, video only, 13.44MiB 242 webm 426x240 240p 54k , webm_dash container, vp9@ 54k, 24fps, video only, 15.24MiB 134 mp4 640x360 360p 38k , mp4_dash container, avc1.4d401e@ 38k, 24fps, video only, 10.77MiB 396 mp4 640x360 360p 81k , mp4_dash container, av01.0.01M.08@ 81k, 24fps, video only, 22.56MiB 243 webm 640x360 360p 95k , webm_dash container, vp9@ 95k, 24fps, video only, 26.54MiB 135 mp4 854x480 480p 53k , mp4_dash container, avc1.4d401e@ 53k, 24fps, video only, 14.94MiB 397 mp4 854x480 480p 130k , mp4_dash container, av01.0.04M.08@ 130k, 24fps, video only, 36.27MiB 244 webm 854x480 480p 132k , webm_dash container, vp9@ 132k, 24fps, video only, 36.75MiB 136 mp4 1280x720 720p 85k , mp4_dash container, avc1.4d401f@ 85k, 24fps, video only, 23.75MiB 247 webm 1280x720 720p 208k , webm_dash container, vp9@ 208k,24fps, video only, 57.79MiB 398 mp4 1280x720 720p 235k , mp4_dash container, av01.0.05M.08@ 235k, 24fps, video only, 65.28MiB 137 mp4 1920x1080 1080p 247k , mp4_dash container, avc1.640028@ 247k, 24fps, video only, 68.86MiB 399 mp4 1920x1080 1080p 434k , mp4_dash container, av01.0.08M.08@ 434k, 24fps, video only, 120.74MiB 248 webm 1920x1080 1080p 543k , webm_dash container, vp9@ 543k, 24fps, video only, 150.87MiB 18 mp4 640x360 360p 205k , avc1.42001E, 24fps, mp4a.40.2 (44100Hz), 56.95MiB 22 mp4 1280x720 720p 214k , avc1.64001F, 24fps, mp4a.40.2 (44100Hz) (best) ``` ... and ```shell yt-dl --get-filename "y6_TOFy3k6k" -o "%(uploader_id)s" => WARNING: 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. NA ```
Author
Owner

@Vangelis66 commented on GitHub (Feb 16, 2023):

... And with this patch:

yt-dl --get-filename "y6_TOFy3k6k" -o "%(uploader_id)s" =>

Shaun_vids

yt-dl --get-filename "3h5-QPbKoVg" -o "%(uploader_id)s" => 

Audio-Visual-Clips
@Vangelis66 commented on GitHub (Feb 16, 2023): ... And with [this](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1433470254) patch: ```shell yt-dl --get-filename "y6_TOFy3k6k" -o "%(uploader_id)s" => Shaun_vids yt-dl --get-filename "3h5-QPbKoVg" -o "%(uploader_id)s" => Audio-Visual-Clips ```
Author
Owner

@dirkf commented on GitHub (Feb 17, 2023):

This is still not reproducible in the UK. In all cases I get what I would say is a user channel id, UCJ6o36XL0CpYb6U5dNBiXHQ vs Shaun_vids.

Isn't Shaun_vids the uploader rather than the uploader_id?

@dirkf commented on GitHub (Feb 17, 2023): This is still not reproducible in the UK. In all cases I get what I would say is a user channel id, `UCJ6o36XL0CpYb6U5dNBiXHQ` vs `Shaun_vids`. Isn't `Shaun_vids` the `uploader` rather than the `uploader_id`?
Author
Owner

@bashonly commented on GitHub (Feb 17, 2023):

Isn't Shaun_vids the uploader rather than the uploader_id?

uploader is the "display" name, in this case "Shaun".

uploader_id was never consistent to begin with because the regex allowed it to be be extracted from either a /channel/ URL format (e.g. UCJ6o36XL0CpYb6U5dNBiXHQ == channel_id) or the old /user/ URL format (not the channel_id). It looks like now youtube is trying to switch all accounts to the @handle URL format, so a likely future scenario is that this will be the only value we are able to extract as the uploader_id. (The yt-dlp regex has been modified to include the @ from the handle URL in the uploader_id, in order to be able to differentiate it from the /user/-type uploader_id)

@bashonly commented on GitHub (Feb 17, 2023): > Isn't `Shaun_vids` the `uploader` rather than the `uploader_id`? `uploader` is the "display" name, in this case "Shaun". `uploader_id` was never consistent to begin with because the regex allowed it to be be extracted from either a `/channel/` URL format (e.g. `UCJ6o36XL0CpYb6U5dNBiXHQ` == `channel_id`) or the old `/user/` URL format (not the `channel_id`). It looks like now youtube is trying to switch all accounts to the `@handle` URL format, so a likely future scenario is that this will be the only value we are able to extract as the `uploader_id`. (The yt-dlp regex has been modified to include the `@` from the handle URL in the `uploader_id`, in order to be able to differentiate it from the `/user/`-type `uploader_id`)
Author
Owner

@dirkf commented on GitHub (Feb 17, 2023):

Safety fix in github.com/ytdl-org/youtube-dl@2dd6c6edd8, pending resolution of https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1434463781.

@dirkf commented on GitHub (Feb 17, 2023): Safety fix in https://github.com/ytdl-org/youtube-dl/commit/2dd6c6edd8e0fc5e45865b8e6d865e35147de772, pending resolution of https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1434463781.
Author
Owner

@dirkf commented on GitHub (Feb 17, 2023):

TEMPLATE BROKEN had to create the issue, then edit.

Check #30839 and raise a separate issue if still required.

@dirkf commented on GitHub (Feb 17, 2023): > TEMPLATE BROKEN had to create the issue, then edit. Check #30839 and raise a separate issue if still required.
Author
Owner

@dirkf commented on GitHub (Feb 17, 2023):

...pending resolution of https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1434498460.

According to https://github.com/yt-dlp/yt-dlp/issues/6247#issuecomment-1433092700:

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"

Once I can look at a page that has the new format, it should be possible to find where the actual channel ID is. As of e8198c517b, yt-dl already looks in two places for the URL containing the channel ID: perhaps it should look in reverse order.

@dirkf commented on GitHub (Feb 17, 2023): > ...pending resolution of https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1434498460. According to https://github.com/yt-dlp/yt-dlp/issues/6247#issuecomment-1433092700: >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" Once I can look at a page that has the new format, it should be possible to find where the actual channel ID is. As of e8198c517b, yt-dl already looks in two places for the URL containing the channel ID: perhaps it should look in reverse order.
Author
Owner

@bashonly commented on GitHub (Feb 17, 2023):

yt-dl already looks in two places for the URL containing the channel ID: perhaps it should look in reverse order.

channel_id is still being extracted just fine. You could easily make the uploader_id value a duplicate of the channel_id if you want. But that is not what the code was doing before, and why ignore the handle?

@bashonly commented on GitHub (Feb 17, 2023): > yt-dl already looks in two places for the URL containing the channel ID: perhaps it should look in reverse order. `channel_id` is still being extracted just fine. You could easily make the `uploader_id` value a duplicate of the `channel_id` if you want. But that is not what the code was doing before, and why ignore the handle?
Author
Owner

@dirkf commented on GitHub (Feb 17, 2023):

channel_id is still being extracted just fine. You could easily make the uploader_id value a duplicate of the channel_id if you want. But that is not what the code was doing before, and why ignore the handle?

s/channel/owner/ but the problem URLs here have a channel_id. https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1434497578 is useful.

My concern is whether we should return the same value that is in the test cases, or whether some of the test cases are wrong.

The issue is showing in the CI tests but not yet in London.

@dirkf commented on GitHub (Feb 17, 2023): >`channel_id` is still being extracted just fine. You could easily make the `uploader_id` value a duplicate of the `channel_id` if you want. But that is not what the code was doing before, and why ignore the handle? s/channel/owner/ but the problem URLs here have a channel_id. https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1434497578 is useful. My concern is whether we should return the same value that is in the test cases, or whether some of the test cases are wrong. The issue is showing in the CI tests but not yet in London.
Author
Owner

@gucio321 commented on GitHub (Feb 17, 2023):

strange thing, after building from source, I'm getting the same error, but it starts downloading.

here are logs if someone is interessted
[debug] System config: ['--prefer-free-formats']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://youtu.be/e8laLiWolGg']
[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] e8laLiWolGg: Downloading webpage
[debug] [youtube] Decrypted nsig qgcMTj9XIztrAMQI => MnX6rXsJz_5g3A
[debug] [youtube] Decrypted nsig iFupsFsbysKbWN5z => 35B-aOzEMIraSg
WARNING: 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.
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://rr5---sn-5uh5o-f5fs.googlevideo.com/videoplayback?expire=1676669640&ei=aJ7vY52jEZS-x_APjpiPoAw&ip=212.182.87.79&id=o-AKR6djKGBSMHyexyrupaccLPAnhgjTfOesFfAouU7KlX&itag=313&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C271%2C278%2C313%2C394%2C395%2C396%2C397%2C398%2C399%2C400%2C401&source=youtube&requiressl=yes&mh=Xw&mm=31%2C29&mn=sn-5uh5o-f5fs%2Csn-5hne6nzd&ms=au%2Crdu&mv=m&mvi=5&pl=20&initcwndbps=581250&vprv=1&mime=video%2Fwebm&ns=OMBq6sieXAYugKWbU7p47-UL&gir=yes&clen=415447901&dur=226.080&lmt=1661392249534187&mt=1676647283&fvip=5&keepalive=yes&fexp=24007246&c=WEB&txp=453C434&n=MnX6rXsJz_5g3A&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgWgzyZsnefkNWPzcT44fsgRXrGnjhFQA2c4n4hJ0gsTsCIQDDBTo5NezYSL7g9Z5A1hNoUmu75AJU8KGlvyyPWI6AQg%3D%3D&sig=AOq0QJ8wRQIgeRvkZHY3o7wlUUDMZhYtFEjGlLilmBD6_hGv4LOyoBkCIQCSxzcSppPs4i5wgL7VUTI4oH318Z2YTEuzR4J5lPXggA%3D%3D'
[download] Resuming download at byte 2096128
[download] Destination: Arhbo featuring Ozuna & GIMS _ FIFA World Cup 2022™ Official Soundtrack-e8laLiWolGg.f313.webm

[download]   0.5% of 396.20MiB at 105.28KiB/s ETA 01:04:05
[download]   0.5% of 396.20MiB at 309.20KiB/s ETA 21:47
[download]   0.5% of 396.20MiB at 711.47KiB/s ETA 09:27
[download]   0.5% of 396.20MiB at  1.47MiB/s ETA 04:28
[download]   0.5% of 396.20MiB at 669.51KiB/s ETA 10:03
[download]   0.5% of 396.20MiB at 827.24KiB/s ETA 08:08
[download]   0.5% of 396.20MiB at  1.08MiB/s ETA 06:05
[download]   0.6% of 396.20MiB at  1.65MiB/s ETA 03:58
[download]   0.6% of 396.20MiB at  2.67MiB/s ETA 02:27
[download]   0.8% of 396.20MiB at  2.68MiB/s ETA 02:26
[download]   1.0% of 396.20MiB at  4.42MiB/s ETA 01:28
[download]   1.5% of 396.20MiB at  4.55MiB/s ETA 01:25
ERROR: Interrupted by user
@gucio321 commented on GitHub (Feb 17, 2023): strange thing, after building from source, I'm getting the same error, but it starts downloading. <details><summary>here are logs if someone is interessted</summary> ```console [debug] System config: ['--prefer-free-formats'] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', 'https://youtu.be/e8laLiWolGg'] [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] e8laLiWolGg: Downloading webpage [debug] [youtube] Decrypted nsig qgcMTj9XIztrAMQI => MnX6rXsJz_5g3A [debug] [youtube] Decrypted nsig iFupsFsbysKbWN5z => 35B-aOzEMIraSg WARNING: 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. [debug] Default format spec: bestvideo+bestaudio/best [debug] Invoking downloader on 'https://rr5---sn-5uh5o-f5fs.googlevideo.com/videoplayback?expire=1676669640&ei=aJ7vY52jEZS-x_APjpiPoAw&ip=212.182.87.79&id=o-AKR6djKGBSMHyexyrupaccLPAnhgjTfOesFfAouU7KlX&itag=313&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C271%2C278%2C313%2C394%2C395%2C396%2C397%2C398%2C399%2C400%2C401&source=youtube&requiressl=yes&mh=Xw&mm=31%2C29&mn=sn-5uh5o-f5fs%2Csn-5hne6nzd&ms=au%2Crdu&mv=m&mvi=5&pl=20&initcwndbps=581250&vprv=1&mime=video%2Fwebm&ns=OMBq6sieXAYugKWbU7p47-UL&gir=yes&clen=415447901&dur=226.080&lmt=1661392249534187&mt=1676647283&fvip=5&keepalive=yes&fexp=24007246&c=WEB&txp=453C434&n=MnX6rXsJz_5g3A&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgWgzyZsnefkNWPzcT44fsgRXrGnjhFQA2c4n4hJ0gsTsCIQDDBTo5NezYSL7g9Z5A1hNoUmu75AJU8KGlvyyPWI6AQg%3D%3D&sig=AOq0QJ8wRQIgeRvkZHY3o7wlUUDMZhYtFEjGlLilmBD6_hGv4LOyoBkCIQCSxzcSppPs4i5wgL7VUTI4oH318Z2YTEuzR4J5lPXggA%3D%3D' [download] Resuming download at byte 2096128 [download] Destination: Arhbo featuring Ozuna & GIMS _ FIFA World Cup 2022™ Official Soundtrack-e8laLiWolGg.f313.webm [download] 0.5% of 396.20MiB at 105.28KiB/s ETA 01:04:05 [download] 0.5% of 396.20MiB at 309.20KiB/s ETA 21:47 [download] 0.5% of 396.20MiB at 711.47KiB/s ETA 09:27 [download] 0.5% of 396.20MiB at 1.47MiB/s ETA 04:28 [download] 0.5% of 396.20MiB at 669.51KiB/s ETA 10:03 [download] 0.5% of 396.20MiB at 827.24KiB/s ETA 08:08 [download] 0.5% of 396.20MiB at 1.08MiB/s ETA 06:05 [download] 0.6% of 396.20MiB at 1.65MiB/s ETA 03:58 [download] 0.6% of 396.20MiB at 2.67MiB/s ETA 02:27 [download] 0.8% of 396.20MiB at 2.68MiB/s ETA 02:26 [download] 1.0% of 396.20MiB at 4.42MiB/s ETA 01:28 [download] 1.5% of 396.20MiB at 4.55MiB/s ETA 01:25 ERROR: Interrupted by user ``` </details>
Author
Owner

@dirkf commented on GitHub (Feb 17, 2023):

That's a WARNING, not an error: https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1434498460.

@dirkf commented on GitHub (Feb 17, 2023): That's a `WARNING`, not an error: https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1434498460.
Author
Owner

@Vangelis66 commented on GitHub (Feb 17, 2023):

This is still not reproducible in the UK.

The issue is showing in the CI tests but not yet in London.

I used my commercial VPN to switch to a UK IP address and can still (ca. 16:00 GMT, 20230217) confirm:

yt-dl --get-filename "y6_TOFy3k6k" -o "%(uploader_id)s" =>

UCJ6o36XL0CpYb6U5dNBiXHQ

yt-dl --get-filename "3h5-QPbKoVg" -o "%(uploader_id)s" => 

UC9AY3VP-VqMJh_Uj_1BbSPA

I wonder, though, why the UK has been treated "differently" so far 😜 ...
If dirkf is able to use a VPN to "travel" overseas, perhaps it should be possible for him to:

look at a page that has the new format,

Thanks for your efforts, BTW! 👍

@Vangelis66 commented on GitHub (Feb 17, 2023): > This is still **not reproducible in the UK**. > The issue is showing in the CI tests **but not yet in London**. I used my commercial **VPN** to switch to a **UK IP address** and can **still** (ca. 16:00 GMT, 20230217) confirm: ```shell yt-dl --get-filename "y6_TOFy3k6k" -o "%(uploader_id)s" => UCJ6o36XL0CpYb6U5dNBiXHQ yt-dl --get-filename "3h5-QPbKoVg" -o "%(uploader_id)s" => UC9AY3VP-VqMJh_Uj_1BbSPA ``` I wonder, though, why the UK has been treated "differently" so far 😜 ... If **dirkf** is able to use a **VPN** to "travel" overseas, perhaps it should be possible for him to: > look at a page that has the new format, Thanks for your efforts, BTW! 👍
Author
Owner

@christianKuntz commented on GitHub (Feb 17, 2023):

@bashonly

For me, your explanation of phased rollout/changes on the CDN perfectly explains, why my attempts to reproduce this, using the same video id sometimes succeeded yesterday and sometimes not (I'm from Germany).
Still, being neither a Python nor a regex expert (yet), I can only repeat: cloning yt-dlp master after your commit yesterday and following the create exe instructions for Windows, then exchanging the exe fixed everything for me.
My script scans some 500 channels with some 4000 playlists and did not report a single userid extraction error since your fix. If I understod it right, youtube-dl uses a slightly different regex to tackle that same issue; I cannot judge due to my lack of expertise; I can only confirm that your solution is working just fine.

... which leaves me confused, why this gets re-opened repeatedly, but probably this will only stop, when new precompiled builds are released.

Big Thank you.

@christianKuntz commented on GitHub (Feb 17, 2023): @bashonly For me, your explanation of phased rollout/changes on the CDN perfectly explains, why my attempts to reproduce this, using the same video id sometimes succeeded yesterday and sometimes not (I'm from Germany). Still, being neither a Python nor a regex expert (yet), I can only repeat: cloning yt-dlp master after your commit yesterday and following the create exe instructions for Windows, then exchanging the exe fixed everything for me. My script scans some 500 channels with some 4000 playlists and did not report a single userid extraction error since your fix. If I understod it right, youtube-dl uses a slightly different regex to tackle that same issue; I cannot judge due to my lack of expertise; I can only confirm that your solution is working just fine. ... which leaves me confused, why this gets re-opened repeatedly, but probably this will only stop, when new precompiled builds are released. Big Thank you.
Author
Owner

@Vangelis66 commented on GitHub (Feb 17, 2023):

why this gets re-opened repeatedly,

... That's the easiest of answers 😜 ...

People from all "affected" areas of the globe jump in, as a knee-jerk reaction, to submit new (duplicate 😠 ) issues about that YT breakage, without:

  1. Following the "how-to" on opening a new issue (you have to be already logged-in before hitting the green New issue button)
  2. Choosing the correct new issue template (Broken site support, in this case)
  3. Once in a template, they bypass the pre-typed, required, input fields, or, even if/when they read:
  • I've searched the bugtracker for similar issues including closed ones

they mechanically tick that, without realising what it speaks of... 😠

  1. Windows users in particular (I'm one of them 😜 ) are, at most times, completely clueless/helpless as to what an open source project is, what is a code patch, how to apply it, how to follow given advice on running/installing the app "from master branch", how to compile the patched source into a binary, etc.
    So, in complete desperation, they cram the issue tracker(s) for "guidance"/"spoon-feeding", without the slightest motivation to search themselves on the "topics" I cited previously... 👎

but probably this will only stop, when new precompiled builds are released.

This has already happened for the "downstream" project, yt-dlp; for youtube-dl, you're probably on your own (3rd party provided "daily" binaries will be made available in the wee hours of tomorrow 😉 ) - BTW, as you might have read already, master branch, currently, only averts the app from "barfing" completely at physical locations where uploader_id fails to be extracted by the pre-existing RegExp code...

@Vangelis66 commented on GitHub (Feb 17, 2023): > why this gets re-opened repeatedly, ... That's the easiest of answers 😜 ... People from all "**affected**" areas of the globe jump in, as a knee-jerk reaction, to submit new (duplicate 😠 ) issues about that **YT** breakage, without: 1. Following the "how-to" on opening a new issue (you have to be **already logged-in** before hitting the green `New issue` button) 2. Choosing the **correct** new issue template (`Broken site support`, in this case) 3. Once in a template, they bypass the **pre-typed**, **required**, **input fields**, or, even if/when they read: > - [ ] I've searched the bugtracker for similar issues including closed ones they mechanically tick that, **without realising what it speaks of**... 😠 4. **Windows** users in particular (I'm one of them 😜 ) are, at most times, completely clueless/helpless as to what an **open source** project is, what is a **code patch**, how to apply it, how to follow given advice on running/installing the app "from `master` branch", how to **compile the patched source into a binary**, etc. So, in complete desperation, they cram the issue tracker(s) for "guidance"/"spoon-feeding", without the slightest motivation to search themselves on the "topics" I cited previously... 👎 > but probably this will only stop, when **new precompiled builds are released**. This has already happened for the "downstream" project, `yt-dlp`; for `youtube-dl`, you're probably on your own (3rd party provided "daily" binaries will be made available in the wee hours of tomorrow 😉 ) - BTW, as you might have read already, `master` branch, currently, only averts the app from "barfing" completely at physical locations where `uploader_id` fails to be extracted by the pre-existing RegExp code...
Author
Owner

@jamiedaniel commented on GitHub (Feb 17, 2023):

I have the same issue:

Python version 3.10.10 (CPython) - macOS-13.2.1-arm64-arm-64bit
% youtube-dl -x --audio-format mp3 https://youtu.be/mApDI4EW5Ho --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-x', '--audio-format', 'mp3', 'https://youtu.be/mApDI4EW5Ho', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Git HEAD: 17c872fb5
[debug] Python version 3.10.10 (CPython) - macOS-13.2.1-arm64-arm-64bit
[debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2
[debug] Proxy map: {}
[youtube] mApDI4EW5Ho: 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 "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/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 "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/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.
@jamiedaniel commented on GitHub (Feb 17, 2023): I have the same issue: <details><summary>Python version 3.10.10 (CPython) - macOS-13.2.1-arm64-arm-64bit</summary> ``` % youtube-dl -x --audio-format mp3 https://youtu.be/mApDI4EW5Ho --verbose [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-x', '--audio-format', 'mp3', 'https://youtu.be/mApDI4EW5Ho', '--verbose'] [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 [debug] youtube-dl version 2021.12.17 [debug] Git HEAD: 17c872fb5 [debug] Python version 3.10.10 (CPython) - macOS-13.2.1-arm64-arm-64bit [debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2 [debug] Proxy map: {} [youtube] mApDI4EW5Ho: 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 "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/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 "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/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. ``` </details>
Author
Owner

@Delitants commented on GitHub (Feb 17, 2023):

Omg why it takes so long to fix this?

@Delitants commented on GitHub (Feb 17, 2023): Omg why it takes so long to fix this?
Author
Owner

@dirkf commented on GitHub (Feb 17, 2023):

See https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1434498460.

@dirkf commented on GitHub (Feb 17, 2023): See https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1434498460.
Author
Owner

@Akshat752 commented on GitHub (Feb 17, 2023):

Is there a fix?

@Akshat752 commented on GitHub (Feb 17, 2023): Is there a fix?
Author
Owner

@dirkf commented on GitHub (Feb 17, 2023):

Is there a fix?

See https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435088359.

Also review #31535.

@dirkf commented on GitHub (Feb 17, 2023): > Is there a fix? See https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435088359. Also review #31535.
Author
Owner

@tukkek commented on GitHub (Feb 17, 2023):

As a temporary work-around for youtube-dl users, I can confirm that the current version of yt-dlp available on pip has fixed the issue (but I did have to use -f best to avoid an error fetching URLs).

I know this isn't exactly the place to share this but I'm sure lots of people are coming here to find a practical solution and not just to report the error so hopefully this is useful to someone reading.

@tukkek commented on GitHub (Feb 17, 2023): As a temporary work-around for `youtube-dl` users, I can confirm that the current version of `yt-dlp` available on `pip` has fixed the issue (but I did have to use `-f best` to avoid an error fetching URLs). I know this isn't exactly the place to share this but I'm sure lots of people are coming here to find a practical solution and not just to report the error so hopefully this is useful to someone reading.
Author
Owner

@felixm3 commented on GitHub (Feb 17, 2023):

Same issue. 🥲

youtube-dl -o "/Users/felixm3/Downloads/%(title)s.%(ext)s" -x --audio-format "mp3" 'https://www.youtube.com/playlist?list=PLc_SwOK0df2UaYTVMrJP9m0yMwldMU4Nf'
[youtube:tab] PLc_SwOK0df2UaYTVMrJP9m0yMwldMU4Nf: Downloading webpage
[download] Downloading playlist: Fall 2022 Immunology Course
[youtube:tab] playlist Fall 2022 Immunology Course: Downloading 39 videos
[download] Downloading video 1 of 39
[youtube] tQ_BUCW9yS0: 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.

Also:

% youtube-dl -U
youtube-dl is up-to-date (2021.12.17)
@felixm3 commented on GitHub (Feb 17, 2023): Same issue. 🥲 ``` youtube-dl -o "/Users/felixm3/Downloads/%(title)s.%(ext)s" -x --audio-format "mp3" 'https://www.youtube.com/playlist?list=PLc_SwOK0df2UaYTVMrJP9m0yMwldMU4Nf' [youtube:tab] PLc_SwOK0df2UaYTVMrJP9m0yMwldMU4Nf: Downloading webpage [download] Downloading playlist: Fall 2022 Immunology Course [youtube:tab] playlist Fall 2022 Immunology Course: Downloading 39 videos [download] Downloading video 1 of 39 [youtube] tQ_BUCW9yS0: 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. ``` Also: ``` % youtube-dl -U youtube-dl is up-to-date (2021.12.17) ```
Author
Owner

@Delitants commented on GitHub (Feb 17, 2023):

Same issue. 🥲

youtube-dl -o "/Users/felixm3/Downloads/%(title)s.%(ext)s" -x --audio-format "mp3" 'https://www.youtube.com/playlist?list=PLc_SwOK0df2UaYTVMrJP9m0yMwldMU4Nf'
[youtube:tab] PLc_SwOK0df2UaYTVMrJP9m0yMwldMU4Nf: Downloading webpage
[download] Downloading playlist: Fall 2022 Immunology Course
[youtube:tab] playlist Fall 2022 Immunology Course: Downloading 39 videos
[download] Downloading video 1 of 39
[youtube] tQ_BUCW9yS0: 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.

Also:

% youtube-dl -U
youtube-dl is up-to-date (2021.12.17)

pip install --upgrade yt-dlp
and replace youtube-dl command with yt-dlp

@Delitants commented on GitHub (Feb 17, 2023): > Same issue. 🥲 > > ``` > youtube-dl -o "/Users/felixm3/Downloads/%(title)s.%(ext)s" -x --audio-format "mp3" 'https://www.youtube.com/playlist?list=PLc_SwOK0df2UaYTVMrJP9m0yMwldMU4Nf' > [youtube:tab] PLc_SwOK0df2UaYTVMrJP9m0yMwldMU4Nf: Downloading webpage > [download] Downloading playlist: Fall 2022 Immunology Course > [youtube:tab] playlist Fall 2022 Immunology Course: Downloading 39 videos > [download] Downloading video 1 of 39 > [youtube] tQ_BUCW9yS0: 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. > ``` > > Also: > > ``` > % youtube-dl -U > youtube-dl is up-to-date (2021.12.17) > ``` pip install --upgrade yt-dlp and replace youtube-dl command with yt-dlp
Author
Owner

@dirkf commented on GitHub (Feb 17, 2023):

The current position is that the crash has been fixed for both yt-dl and yt-dlp and #31535 describes what someone could do to obtain fixed versions.

Now, the issue has shown up in the UK this evening so I can more easily review the question of what should be extracted when the ownerProfileUrl is like /@{channel}.

Result.

@dirkf commented on GitHub (Feb 17, 2023): The current position is that the crash has been fixed for both yt-dl and yt-dlp and #31535 describes what someone could do to obtain fixed versions. Now, the issue has shown up in the UK this evening so I can more easily review the question of what should be extracted when the `ownerProfileUrl` is like `/@{channel}`. [Result](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435734719).
Author
Owner

@pimsdsigd commented on GitHub (Feb 17, 2023):

The current solution is that the crash has been fixed for both yt-dl and yt-dlp and #31535 describes what someone could do to obtain fixed versions.

Now, the issue has shown up in the UK this evening so I can more easily review the question of what should be extracted when the ownerProfileUrl is like /@{channel}. WIP

The issue is persisting with yt-dl in France. Please let me know when you got it fixed in your zone

@pimsdsigd commented on GitHub (Feb 17, 2023): > The current solution is that the crash has been fixed for both yt-dl and yt-dlp and #31535 describes what someone could do to obtain fixed versions. > > Now, the issue has shown up in the UK this evening so I can more easily review the question of what should be extracted when the `ownerProfileUrl` is like `/@{channel}`. WIP The issue is persisting with yt-dl in France. Please let me know when you got it fixed in your zone
Author
Owner

@CimimUxMaio commented on GitHub (Feb 17, 2023):

What about youtube_dl as a python library? Is there a way to make it work or should we wait for a new release?

@CimimUxMaio commented on GitHub (Feb 17, 2023): What about youtube_dl as a python library? Is there a way to make it work or should we wait for a new release?
Author
Owner

@skjsjslee commented on GitHub (Feb 17, 2023):

Started seeing this problem today. As others have reported, building from the source does take care of the particular issue.

@skjsjslee commented on GitHub (Feb 17, 2023): Started seeing this problem today. As others have reported, building from the source does take care of the particular issue.
Author
Owner

@Cheeseless commented on GitHub (Feb 17, 2023):

I have to ask. If the issue has been fixed in master, why isn't there a new release? Seems like that would prevent spam more effectively than telling inexperienced users to building from source.

@Cheeseless commented on GitHub (Feb 17, 2023): I have to ask. If the issue has been fixed in master, why isn't there a new release? Seems like that would prevent spam more effectively than telling inexperienced users to building from source.
Author
Owner

@dirkf commented on GitHub (Feb 17, 2023):

The issue is persisting with yt-dl in France. ...

It will until you take one of the actions mentioned in #31535. Or if YT rolls back the new page structure.

What about youtube_dl as a python library?

Install from the git master with pip to get the latest fixes, or even replace or patch youtube_dl/extractor/youtube.py (care needed depending on permissions).

@dirkf commented on GitHub (Feb 17, 2023): >The issue is persisting with yt-dl in France. ... It will until you take one of the actions mentioned in #31535. Or if YT rolls back the new page structure. > What about youtube_dl as a python library? Install from the git master with _pip_ to get the latest fixes, or even replace or patch `youtube_dl/extractor/youtube.py` (care needed depending on permissions).
Author
Owner

@nPHYN1T3 commented on GitHub (Feb 17, 2023):

It will until you take one of the actions mentioned in #31535. Or if YT rolls back the new page structure.

I've read #31535 far too many times thinking I've missed these magical actions only to still not see these magical actions to remedy things. There are also no instructions on how to build from the source, just the little dev blurb about adding your own extractor that still ends with no build but just how to pull/push and wait for someone else to build the binary. I'm ignorant when it comes to making python into a single bin and the docs aren't helping.

I seriously doubt YT will "roll back" anything. I'm sure this like many previous changes are to cause problems like this to better funnel viewers on to official viewing platforms for data collection.

As a related but unrelated issue VLC can no longer play YT either and no update to it's lua for YT either.

@nPHYN1T3 commented on GitHub (Feb 17, 2023): > It will until you take one of the actions mentioned in #31535. Or if YT rolls back the new page structure. I've read #31535 far too many times thinking I've missed these magical actions only to still not see these magical actions to remedy things. There are also no instructions on how to build from the source, just the little dev blurb about adding your own extractor that still ends with no build but just how to pull/push and wait for someone else to build the binary. I'm ignorant when it comes to making python into a single bin and the docs aren't helping. I seriously doubt YT will "roll back" anything. I'm sure this like many previous changes are to cause problems like this to better funnel viewers on to official viewing platforms for data collection. As a related but unrelated issue VLC can no longer play YT either and no update to it's lua for YT either.
Author
Owner

@dirkf commented on GitHub (Feb 17, 2023):

... telling inexperienced users to building from source

You don't have to "build from source". Youtube-dl is a Python program that runs directly under a variety of Python versions with no setup beyond pip.

It's possible to make single-file versions of the program that unpack the program and a Python interpreter every time you run the program. The linked issue suggests how you could obtain such a version of the program.

@dirkf commented on GitHub (Feb 17, 2023): > ... telling inexperienced users to building from source You don't have to "build from source". Youtube-dl is a Python program that runs directly under a variety of Python versions with no setup beyond _pip_. It's possible to make single-file versions of the program that unpack the program and a Python interpreter every time you run the program. The linked issue suggests how you could obtain such a version of the program.
Author
Owner

@dirkf commented on GitHub (Feb 17, 2023):

... VLC can no longer play YT either and no update to its lua for YT either

I believe VLC's yt-dl integration has been broken for some time. The maintainer of the yt-dl hook made a fuss about patching yt-dl with code based on his LUA patch when YT started requiring a challenge to be solved for unthrottled download speeds but hasn't taken advantage of the unthrottling code placed in the public domain by yt-dlp and yt-dl.

With video players like VLC that can accept a pipe as input, pipe yt-dl's download into the player, using yt-dl option -o - and typically - as the filename for the player. This certainly works for me with mpv.

@dirkf commented on GitHub (Feb 17, 2023): >... VLC can no longer play YT either and no update to its lua for YT either I believe _VLC_'s yt-dl integration has been broken for some time. The maintainer of the yt-dl hook made a fuss about patching yt-dl with code based on his LUA patch when YT started requiring a challenge to be solved for unthrottled download speeds but hasn't taken advantage of the unthrottling code placed in the public domain by yt-dlp and yt-dl. With video players like _VLC_ that can accept a pipe as input, pipe yt-dl's download into the player, using yt-dl option `-o -` and typically `-` as the filename for the player. This certainly works for me with _mpv_.
Author
Owner

@nPHYN1T3 commented on GitHub (Feb 17, 2023):

Well since I clearly can't see anything on that post that would suggest where to "obtain" a working version of the program I guess telling me it has info on where to obtain a working version of the program doesn't help...unless of course you mean I should use the OTHER program (yt-dlp). Again, you didn't make that clear and I'm here for youtube-dl not yt-dlp. Perhaps I will look into that and rewrite all my systems to use that given how youtube-dl hasn't had a new release in over a year and this thread is like 1980's stereo instructions on mescaline. ;p

@nPHYN1T3 commented on GitHub (Feb 17, 2023): Well since I clearly can't see anything on that post that would suggest where to "obtain" a working version of the program I guess telling me it has info on where to obtain a working version of the program doesn't help...unless of course you mean I should use the OTHER program (yt-dlp). Again, you didn't make that clear and I'm here for youtube-dl not yt-dlp. Perhaps I will look into that and rewrite all my systems to use that given how youtube-dl hasn't had a new release in over a year and this thread is like 1980's stereo instructions on mescaline. ;p
Author
Owner

@nPHYN1T3 commented on GitHub (Feb 17, 2023):

For not having to build this as a bin I tried running from the master code zip I grabbed and it fails to run. I was going to swap out the lines noted in the dif but that too was a mess. Says replace 2125 (or something) but then that bit is over 3 or 4 lines in there. When I tried to python -m bla bla it wouldn't run leaving me wondering if perhaps the working directory was wrong for it but again, the docs gloss over so much. Like the python -m youtube-dl...just run it...from where in its directory structure?

@nPHYN1T3 commented on GitHub (Feb 17, 2023): For not having to build this as a bin I tried running from the master code zip I grabbed and it fails to run. I was going to swap out the lines noted in the dif but that too was a mess. Says replace 2125 (or something) but then that bit is over 3 or 4 lines in there. When I tried to python -m bla bla it wouldn't run leaving me wondering if perhaps the working directory was wrong for it but again, the docs gloss over so much. Like the python -m youtube-dl...just run it...from _where_ in its directory structure?
Author
Owner

@jmazzitelli commented on GitHub (Feb 17, 2023):

@nPHYN1T3 I feel your pain. I just got here due to this error and was at a loss just like you. Reading the dev instructions and trying it, I got it to work. This is how:

  1. Clone this repo: git clone https://github.com/ytdl-org/youtube-dl.git
  2. Go into the youtube-dl directory of the new git repo you just cloned:cd youtube-dl/ (note the "dash" - in youtube-dl)
  3. Run python passing in the -m option and the YT URL: python -m youtube_dl <YT URL> (note the underscore _ in youtube_dl)

You'll get a warning still about the "unable to extract uploader_id" but it will keep going.

@jmazzitelli commented on GitHub (Feb 17, 2023): @nPHYN1T3 I feel your pain. I just got here due to this error and was at a loss just like you. Reading the [dev instructions](https://github.com/ytdl-org/youtube-dl#developer-instructions) and trying it, I got it to work. This is how: 1. Clone this repo: `git clone https://github.com/ytdl-org/youtube-dl.git` 2. Go into the youtube-dl directory of the new git repo you just cloned:`cd youtube-dl/` (note the "dash" `-` in youtube-dl) 3. Run python passing in the -m option and the YT URL: `python -m youtube_dl <YT URL>` (note the underscore `_` in youtube_dl) You'll get a warning still about the "unable to extract uploader_id" but it will keep going.
Author
Owner

@nPHYN1T3 commented on GitHub (Feb 17, 2023):

I don't use git so I didn't clone, I just grabbed the master zipped. I suspect there is some difference in directory structure. When I ran python -m youtube_dl it just died, don't remember the error but it died. i.e. it didn't do anything but kick out the error. So I opened the py to see what it was doing. Was only a few lines basically importing the youtube-dl folder in the same directory so it seemed it should have worked. I'm adapting things for the yt-dlp. I had never looked at it but seems like a dead drop in replacement. From what I gleaned on some other posts it was just a different program but looks like a fork with some give and take on features but a lot more up to date. I tested it and it works so I'm switching though I'm not sure it will 100% work with my stuff yet. I mean it works but not sure all the same options and args are there yet...just checking things out now and it's bed time so I'm a tad frazzled.

@nPHYN1T3 commented on GitHub (Feb 17, 2023): I don't use git so I didn't clone, I just grabbed the master zipped. I suspect there is some difference in directory structure. When I ran python -m youtube_dl it just died, don't remember the error but it *died*. i.e. it didn't do anything but kick out the error. So I opened the py to see what it was doing. Was only a few lines basically importing the youtube-dl folder in the same directory so it seemed it should have worked. I'm adapting things for the yt-dlp. I had never looked at it but seems like a dead drop in replacement. From what I gleaned on some other posts it was just a different program but looks like a fork with some give and take on features but a lot more up to date. I tested it and it works so I'm switching though I'm not sure it will 100% work with my stuff yet. I mean it works but not sure all the same options and args are there yet...just checking things out now and it's bed time so I'm a tad frazzled.
Author
Owner

@dirkf commented on GitHub (Feb 17, 2023):

...[didn't really understand #31535]...

Crikey, that was all described in the posts of the linked issue by bashonly and myself. Also, USE PIP to install from the repo if you have a working Python, and get one if you don't.

@dirkf commented on GitHub (Feb 17, 2023): >...[didn't really understand #31535]... Crikey, that was all described in the posts of the linked issue by bashonly and myself. Also, **USE PIP** to install from the repo if you have a working Python, and get one if you don't.
Author
Owner

@CimimUxMaio commented on GitHub (Feb 17, 2023):

For those using the python Iibrary, You can install the master branch using:
pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl

I think it is simpler.

@CimimUxMaio commented on GitHub (Feb 17, 2023): For those using the python Iibrary, You can install the master branch using: pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl I think it is simpler.
Author
Owner

@Vangelis66 commented on GitHub (Feb 17, 2023):

Running from updated master branch source, for Windows users, with CPython installed and already in your %PATH% - the yt-dlp way 😜 ...

Navigate in your browser to:
https://github.com/ytdl-org/youtube-dl

Locate and expand the green <> Code button

Download the git source via the Download ZIP button
(actual link:
https://api.github.com/repos/ytdl-org/youtube-dl/zipball/master)

Once on disk, extract "here" (natively via Windows Explorer or via your preferred extractor - I use 7-zip) - the archive should be extracted onto a disk location where your Windows account has write privileges...

Open the extracted folder (named ytdl-org-youtube-dl-2dd6c6e); inside it, create a youtube-dl.cmd file with below content:

@py -bb -Werror -Xdev "%~dp0youtube_dl\__main__.py" %*
The lot should look like below:

yt-dl

Open your Windows Command Prompt, then cd to the inside of the extracted folder.

You can then run `youtube-dl` by invoking the newly created `.cmd` (aka `.bat`) file:
D:\Python3716-32\ytdl-org-youtube-dl-2dd6c6e>youtube-dl -vF "p7FCgw_GlWc"

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-vF', 'p7FCgw_GlWc']
[debug] Encodings: locale cp1253, fs utf-8, out utf-8, pref cp1253
[debug] youtube-dl version 2023.02.17
[debug] Python version 3.7.16 (CPython) - Windows-Vista-6.0.6003-SP2
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] p7FCgw_GlWc: Downloading webpage
[youtube] Confirming age
[youtube] p7FCgw_GlWc: Downloading API JSON
[debug] [youtube] Decrypted nsig a_OjXN0Ftn_LILMF => JZ8oiE-DX4INFQ
[debug] [youtube] Decrypted nsig xCl4hvTncz9D4J2b => fwrKBQxXzwmYhA
WARNING: 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.
[info] Available formats for p7FCgw_GlWc:
format code  extension  resolution note
249-0        webm       audio only tiny   51k , webm_dash container, opus @ 51k(48000Hz), 3.89MiB
249-1        webm       audio only tiny   51k , webm_dash container, opus @ 51k(48000Hz), 3.89MiB
250-0        webm       audio only tiny   66k , webm_dash container, opus @ 66k(48000Hz), 5.04MiB
250-1        webm       audio only tiny   66k , webm_dash container, opus @ 66k(48000Hz), 5.05MiB
251-0        webm       audio only tiny  127k , webm_dash container, opus @127k(48000Hz), 9.65MiB
251-1        webm       audio only tiny  127k , webm_dash container, opus @127k(48000Hz), 9.70MiB
140-0        m4a        audio only tiny  129k , m4a_dash container, mp4a.40.2@129k (44100Hz), 9.83MiB
140-1        m4a        audio only tiny  129k , m4a_dash container, mp4a.40.2@129k (44100Hz), 9.83MiB
160          mp4        256x144    144p   33k , mp4_dash container, avc1.4d400c@  33k, 30fps, video only, 2.53MiB
278          webm       256x144    144p   80k , webm_dash container, vp9@  80k,30fps, video only, 6.12MiB
394          mp4        256x144    144p   84k , mp4_dash container, av01.0.00M.08@  84k, 30fps, video only, 6.40MiB
133          mp4        426x240    240p   55k , mp4_dash container, avc1.4d4015@  55k, 30fps, video only, 4.23MiB
242          webm       426x240    240p   68k , webm_dash container, vp9@  68k,30fps, video only, 5.17MiB
395          mp4        426x240    240p  189k , mp4_dash container, av01.0.00M.08@ 189k, 30fps, video only, 14.41MiB
134          mp4        640x360    360p  114k , mp4_dash container, avc1.4d401e@ 114k, 30fps, video only, 8.67MiB
243          webm       640x360    360p  130k , webm_dash container, vp9@ 130k,30fps, video only, 9.90MiB
396          mp4        640x360    360p  301k , mp4_dash container, av01.0.01M.08@ 301k, 30fps, video only, 22.87MiB
135          mp4        854x480    480p  193k , mp4_dash container, avc1.4d401f@ 193k, 30fps, video only, 14.71MiB
244          webm       854x480    480p  208k , webm_dash container, vp9@ 208k,30fps, video only, 15.81MiB
397          mp4        854x480    480p  547k , mp4_dash container, av01.0.04M.08@ 547k, 30fps, video only, 41.59MiB
247          webm       1280x720   720p  402k , webm_dash container, vp9@ 402k,30fps, video only, 30.57MiB
136          mp4        1280x720   720p  452k , mp4_dash container, avc1.4d401f@ 452k, 30fps, video only, 34.36MiB
398          mp4        1280x720   720p 1112k , mp4_dash container, av01.0.05M.08@1112k, 30fps, video only, 84.46MiB
248          webm       1920x1080  1080p 1618k , webm_dash container, vp9@1618k, 30fps, video only, 122.86MiB
399          mp4        1920x1080  1080p 1759k , mp4_dash container, av01.0.08M.08@1759k, 30fps, video only, 133.61MiB
137          mp4        1920x1080  1080p 2850k , mp4_dash container, avc1.640028@2850k, 30fps, video only, 216.45MiB
18           mp4        640x360    360p  162k , avc1.42001E, 30fps, mp4a.40.2 (22050Hz) (best)

D:\Python3716-32\ytdl-org-youtube-dl-2dd6c6e>
@Vangelis66 commented on GitHub (Feb 17, 2023): Running from **updated** `master branch` **source**, for **Windows** users, with CPython **installed** and **already in your** `%PATH%` - the `yt-dlp` way 😜 ... Navigate in your browser to: https://github.com/ytdl-org/youtube-dl Locate and expand the green `<> Code` button Download the git source via the `Download ZIP` button (actual link: https://api.github.com/repos/ytdl-org/youtube-dl/zipball/master) Once on disk, extract "**here**" (natively via **Windows Explorer** or via your preferred extractor - I use `7-zip`) - the archive should be extracted onto a disk location where your Windows account has `write` privileges... Open the extracted folder (named `ytdl-org-youtube-dl-2dd6c6e`); inside it, create a `youtube-dl.cmd` file with below content: ```cmd @py -bb -Werror -Xdev "%~dp0youtube_dl\__main__.py" %* ``` <details><summary>The lot should look like below:</summary> ![yt-dl](https://user-images.githubusercontent.com/9669492/219827481-757380b8-d7b4-4c60-9502-52e428c613fc.png) </details> Open your **Windows Command Prompt**, then `cd` to the inside of the extracted folder. <details> <summary>You can then run `youtube-dl` by invoking the newly created `.cmd` (aka `.bat`) file:</summary> ```shell D:\Python3716-32\ytdl-org-youtube-dl-2dd6c6e>youtube-dl -vF "p7FCgw_GlWc" [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-vF', 'p7FCgw_GlWc'] [debug] Encodings: locale cp1253, fs utf-8, out utf-8, pref cp1253 [debug] youtube-dl version 2023.02.17 [debug] Python version 3.7.16 (CPython) - Windows-Vista-6.0.6003-SP2 [debug] exe versions: none [debug] Proxy map: {} [youtube] p7FCgw_GlWc: Downloading webpage [youtube] Confirming age [youtube] p7FCgw_GlWc: Downloading API JSON [debug] [youtube] Decrypted nsig a_OjXN0Ftn_LILMF => JZ8oiE-DX4INFQ [debug] [youtube] Decrypted nsig xCl4hvTncz9D4J2b => fwrKBQxXzwmYhA WARNING: 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. [info] Available formats for p7FCgw_GlWc: format code extension resolution note 249-0 webm audio only tiny 51k , webm_dash container, opus @ 51k(48000Hz), 3.89MiB 249-1 webm audio only tiny 51k , webm_dash container, opus @ 51k(48000Hz), 3.89MiB 250-0 webm audio only tiny 66k , webm_dash container, opus @ 66k(48000Hz), 5.04MiB 250-1 webm audio only tiny 66k , webm_dash container, opus @ 66k(48000Hz), 5.05MiB 251-0 webm audio only tiny 127k , webm_dash container, opus @127k(48000Hz), 9.65MiB 251-1 webm audio only tiny 127k , webm_dash container, opus @127k(48000Hz), 9.70MiB 140-0 m4a audio only tiny 129k , m4a_dash container, mp4a.40.2@129k (44100Hz), 9.83MiB 140-1 m4a audio only tiny 129k , m4a_dash container, mp4a.40.2@129k (44100Hz), 9.83MiB 160 mp4 256x144 144p 33k , mp4_dash container, avc1.4d400c@ 33k, 30fps, video only, 2.53MiB 278 webm 256x144 144p 80k , webm_dash container, vp9@ 80k,30fps, video only, 6.12MiB 394 mp4 256x144 144p 84k , mp4_dash container, av01.0.00M.08@ 84k, 30fps, video only, 6.40MiB 133 mp4 426x240 240p 55k , mp4_dash container, avc1.4d4015@ 55k, 30fps, video only, 4.23MiB 242 webm 426x240 240p 68k , webm_dash container, vp9@ 68k,30fps, video only, 5.17MiB 395 mp4 426x240 240p 189k , mp4_dash container, av01.0.00M.08@ 189k, 30fps, video only, 14.41MiB 134 mp4 640x360 360p 114k , mp4_dash container, avc1.4d401e@ 114k, 30fps, video only, 8.67MiB 243 webm 640x360 360p 130k , webm_dash container, vp9@ 130k,30fps, video only, 9.90MiB 396 mp4 640x360 360p 301k , mp4_dash container, av01.0.01M.08@ 301k, 30fps, video only, 22.87MiB 135 mp4 854x480 480p 193k , mp4_dash container, avc1.4d401f@ 193k, 30fps, video only, 14.71MiB 244 webm 854x480 480p 208k , webm_dash container, vp9@ 208k,30fps, video only, 15.81MiB 397 mp4 854x480 480p 547k , mp4_dash container, av01.0.04M.08@ 547k, 30fps, video only, 41.59MiB 247 webm 1280x720 720p 402k , webm_dash container, vp9@ 402k,30fps, video only, 30.57MiB 136 mp4 1280x720 720p 452k , mp4_dash container, avc1.4d401f@ 452k, 30fps, video only, 34.36MiB 398 mp4 1280x720 720p 1112k , mp4_dash container, av01.0.05M.08@1112k, 30fps, video only, 84.46MiB 248 webm 1920x1080 1080p 1618k , webm_dash container, vp9@1618k, 30fps, video only, 122.86MiB 399 mp4 1920x1080 1080p 1759k , mp4_dash container, av01.0.08M.08@1759k, 30fps, video only, 133.61MiB 137 mp4 1920x1080 1080p 2850k , mp4_dash container, avc1.640028@2850k, 30fps, video only, 216.45MiB 18 mp4 640x360 360p 162k , avc1.42001E, 30fps, mp4a.40.2 (22050Hz) (best) D:\Python3716-32\ytdl-org-youtube-dl-2dd6c6e> ``` </details>
Author
Owner

@Pigeonwang08 commented on GitHub (Feb 17, 2023):

I met the same problme today 2/18
So how can I solve this problem on Linux ? I‘m a fresh user that have no idea
plz this is really important for me

@Pigeonwang08 commented on GitHub (Feb 17, 2023): I met the same problme today 2/18 So how can I solve this problem on Linux ? I‘m a fresh user that have no idea plz this is really important for me
Author
Owner

@dirkf commented on GitHub (Feb 17, 2023):

How was your yt-dl installed?

@dirkf commented on GitHub (Feb 17, 2023): How was your yt-dl installed?
Author
Owner

@dirkf commented on GitHub (Feb 17, 2023):

Installing from the nightly build release is the recommended solution. The examples below could be adapted for use there.

For those using the python library, you can install the master branch using:
pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl

I think it is simpler.

Indeed. What is the effect of #egg=youtube_dl?

You may need to add --force-reinstall since pip can't tell that this is a new version. For instance, @paulrougieux recommends this:

pip install --upgrade --force-reinstall "git+https://github.com/ytdl-org/youtube-dl.git"

To avoid requiring git, use the zip download offered from the "<> Code>Download ZIP" pull-down on the main page, but changing the extension to .tar.gz; or use the .tar.gz source download from the nightly release page.

Some package managers eliminate pip from the Python installation itself. Eg, with apt, you also have to install python-pip (2.7) or python3-pip.

In any pip commands it's recommended to use python -m pip instead of just pip, where python is the name of the Python that you want or expect to run yt-dl, say python3.9. Be sure to use the same Python that is running when yt-dl runs.

See also https://adamj.eu/tech/2019/03/11/pip-install-from-a-git-repository/.

@dirkf commented on GitHub (Feb 17, 2023): **Installing from the nightly build [release](https://github.com/ytdl-org/ytdl-nightly/releases) is the recommended solution**. The examples below could be adapted for use there. >For those using the python library, you can install the master branch using: pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl > >I think it is simpler. Indeed. What is the effect of `#egg=youtube_dl`? You may need to add `--force-reinstall` since _pip_ can't tell that this is a new version. For instance, [@paulrougieux](https://github.com/ytdl-org/youtube-dl/issues/32069) recommends this: ```console pip install --upgrade --force-reinstall "git+https://github.com/ytdl-org/youtube-dl.git" ``` To avoid requiring _git_, use the zip download offered from the "<> Code>Download ZIP" pull-down on the [main page](https://github.com/ytdl-org/youtube-dl), but changing the extension to [.tar.gz](https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz); or use the .tar.gz source download from the nightly release page. Some package managers eliminate _pip_ from the Python installation itself. Eg, with _apt_, you also have to install `python-pip` (2.7) or `python3-pip`. In any _pip_ commands it's recommended to use `python -m pip` instead of just `pip`, where `python` is the name of the Python that you want or expect to run yt-dl, say `python3.9`. Be sure to **use the same Python** that is running when yt-dl runs. See also https://adamj.eu/tech/2019/03/11/pip-install-from-a-git-repository/.
Author
Owner

@joyspce commented on GitHub (Feb 18, 2023):

Python version 3.8.10 (CPython) - Linux-4.19.0-23-amd64-x86_64-with-glibc2.29
[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 2021.12.17
[debug] Python version 3.8.10 (CPython) - Linux-4.19.0-23-amd64-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7
[debug] Proxy map: {}
[youtube] 3h5-QPbKoVg: 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.
@joyspce commented on GitHub (Feb 18, 2023): <details><summary>Python version 3.8.10 (CPython) - Linux-4.19.0-23-amd64-x86_64-with-glibc2.29</summary> ``` [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 2021.12.17 [debug] Python version 3.8.10 (CPython) - Linux-4.19.0-23-amd64-x86_64-with-glibc2.29 [debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7 [debug] Proxy map: {} [youtube] 3h5-QPbKoVg: 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. ``` </details>
Author
Owner

@VinnieThePooh commented on GitHub (Feb 18, 2023):

Problem confirmed on Arch Linux (installed via pacman)

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--no-playlist', '-r', '10M', '--verbose', '<video_url>']
[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.11-arch1-1-x86_64-with-glibc2.37
[debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2
[debug] Proxy map: {}
[youtube] Op_IcE9PVps: Downloading webpage
[youtube] Downloading just video <short_url> because of --no-playlist
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 "/usr/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/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 "/usr/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 

So, is it about markup change?

@VinnieThePooh commented on GitHub (Feb 18, 2023): Problem confirmed on Arch Linux (installed via pacman) ``` [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--no-playlist', '-r', '10M', '--verbose', '<video_url>'] [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.11-arch1-1-x86_64-with-glibc2.37 [debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2 [debug] Proxy map: {} [youtube] Op_IcE9PVps: Downloading webpage [youtube] Downloading just video <short_url> because of --no-playlist 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 "/usr/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/usr/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/usr/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/usr/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 "/usr/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 ``` So, is it about markup change?
Author
Owner

@camopants commented on GitHub (Feb 18, 2023):

UK based. Similar to all above. Consistent behaviour across multiple candidate videos.

Python version 2.7.17 (CPython) - Linux-4.15.0-204-generic-x86_64-with-Ubuntu-18.04-bionic

$ youtube-dl "https://www.youtube.com/watch?v=grCTXGW3sxQ&list=PL5wBMT6Z03J6mzp6UD2TNtWpYo3Bh5ULA"

$ youtube-dl "https://www.youtube.com/watch?v=grCTXGW3sxQ"

$ youtube-dl -i PL5wBMT6Z03J6mzp6UD2TNtWpYo3Bh5ULA

All the same result.

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.youtube.com/watch?v=grCTXGW3sxQ&list=PL5wBMT6Z03J6mzp6UD2TNtWpYo3Bh5ULA']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 2.7.17 (CPython) - Linux-4.15.0-204-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.11, ffprobe 3.4.11
[debug] Proxy map: {}
[youtube:tab] Downloading playlist PL5wBMT6Z03J6mzp6UD2TNtWpYo3Bh5ULA - add --no-playlist to just download video grCTXGW3sxQ
[youtube:tab] PL5wBMT6Z03J6mzp6UD2TNtWpYo3Bh5ULA: Downloading webpage
[youtube:tab] PL5wBMT6Z03J6mzp6UD2TNtWpYo3Bh5ULA: Downloading webpage
[download] Downloading playlist: The Guild: Season 1
[youtube:tab] playlist The Guild: Season 1: Downloading 10 videos
[download] Downloading video 1 of 10
[youtube] grCTXGW3sxQ: 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.

@camopants commented on GitHub (Feb 18, 2023): UK based. Similar to all above. Consistent behaviour across multiple candidate videos. <details><summary>Python version 2.7.17 (CPython) - Linux-4.15.0-204-generic-x86_64-with-Ubuntu-18.04-bionic</summary> <pre><code> $ youtube-dl "https://www.youtube.com/watch?v=grCTXGW3sxQ&list=PL5wBMT6Z03J6mzp6UD2TNtWpYo3Bh5ULA" $ youtube-dl "https://www.youtube.com/watch?v=grCTXGW3sxQ" $ youtube-dl -i PL5wBMT6Z03J6mzp6UD2TNtWpYo3Bh5ULA All the same result. [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'--verbose', u'https://www.youtube.com/watch?v=grCTXGW3sxQ&list=PL5wBMT6Z03J6mzp6UD2TNtWpYo3Bh5ULA'] [debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8 [debug] youtube-dl version 2021.12.17 [debug] Python version 2.7.17 (CPython) - Linux-4.15.0-204-generic-x86_64-with-Ubuntu-18.04-bionic [debug] exe versions: ffmpeg 3.4.11, ffprobe 3.4.11 [debug] Proxy map: {} [youtube:tab] Downloading playlist PL5wBMT6Z03J6mzp6UD2TNtWpYo3Bh5ULA - add --no-playlist to just download video grCTXGW3sxQ [youtube:tab] PL5wBMT6Z03J6mzp6UD2TNtWpYo3Bh5ULA: Downloading webpage [youtube:tab] PL5wBMT6Z03J6mzp6UD2TNtWpYo3Bh5ULA: Downloading webpage [download] Downloading playlist: The Guild: Season 1 [youtube:tab] playlist The Guild: Season 1: Downloading 10 videos [download] Downloading video 1 of 10 [youtube] grCTXGW3sxQ: 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. </code></pre> </details>
Author
Owner

@comicsansgreenki commented on GitHub (Feb 18, 2023):

Installed via pip3 on Fedora 37 - version 2021.12.17. Error log matches above.

@comicsansgreenki commented on GitHub (Feb 18, 2023): Installed via `pip3` on Fedora 37 - version `2021.12.17`. Error log matches above.
Author
Owner

@buhtz commented on GitHub (Feb 18, 2023):

Please let me also add my output

Python version 3.9.2 (CPython) - Linux-5.10.0-21-amd64-x86_64-with-glibc2.31
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '-f', 'best', '--format', 'mp4', 'https://youtu.be/QPiI6DTX0uk']
[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.10.0-21-amd64-x86_64-with-glibc2.31
[debug] exe versions: ffmpeg 4.3.5-0, ffprobe 4.3.5-0
[debug] Proxy map: {}
[youtube] QPiI6DTX0uk: Downloading webpage
[youtube] QPiI6DTX0uk: 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 "/home/admin/.local/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/home/admin/.local/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/home/admin/.local/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/home/admin/.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/admin/.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.

@buhtz commented on GitHub (Feb 18, 2023): Please let me also add my output <details><summary> Python version 3.9.2 (CPython) - Linux-5.10.0-21-amd64-x86_64-with-glibc2.31</summary> ``` [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', '-f', 'best', '--format', 'mp4', 'https://youtu.be/QPiI6DTX0uk'] [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.10.0-21-amd64-x86_64-with-glibc2.31 [debug] exe versions: ffmpeg 4.3.5-0, ffprobe 4.3.5-0 [debug] Proxy map: {} [youtube] QPiI6DTX0uk: Downloading webpage [youtube] QPiI6DTX0uk: 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 "/home/admin/.local/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/home/admin/.local/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/home/admin/.local/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/home/admin/.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/admin/.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. ``` </summary>
Author
Owner

@pimsdsigd commented on GitHub (Feb 18, 2023):

Hello I run on Windows without Python and the solution described above does not apply to this configuration, will there be a new build that is working or should we just move on to another project ?

@pimsdsigd commented on GitHub (Feb 18, 2023): Hello I run on Windows without Python and the solution described above does not apply to this configuration, will there be a new build that is working or should we just move on to another project ?
Author
Owner

@dirkk0 commented on GitHub (Feb 18, 2023):

For Linux:

@dirkk0 commented on GitHub (Feb 18, 2023): For Linux: - download the zip at https://github.com/ytdl-org/youtube-dl - extract - cd to the extracted directory and - run `python3 youtube_dl/__main__.py YT_ID`
Author
Owner

@nicolaasjan commented on GitHub (Feb 18, 2023):

Hello I run on Windows without Python and the solution described above does not apply to this configuration, will there be a new build that is working or should we just move on to another project ?

You could use the daily build from here.
Or move to yt-dlp.

@nicolaasjan commented on GitHub (Feb 18, 2023): > Hello I run on Windows without Python and the solution described above does not apply to this configuration, will there be a new build that is working or should we just move on to another project ? You could use the daily build from [here](https://github.com/ytdl-patched/youtube-dl). Or move to [yt-dlp](https://github.com/yt-dlp/yt-dlp).
Author
Owner

@nachanon commented on GitHub (Feb 18, 2023):

I have this problem with "latest" 2021.12.17 (i.e. 1+ year old) release too; the problem cropped up just today. But unlike many people who reported here: I actually use YouTube-DL from a very old (GNU/Linux) system, so YouTuble-DLP is not an option for me...

$ youtube-dl --version
2021.12.17
$ youtube-dl -f 18 https://www.youtube.com/watch?v=57US7TpC38w
[youtube] 57US7TpC38w: Downloading webpage
[youtube] 57US7TpC38w: Downloading player 11e3a4ec
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.
$ youtube-dl -f 18 --verbose https://www.youtube.com/watch?v=57US7TpC38w
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-f', u'18', u'--verbose', u'https://www.youtube.com/watch?v=57US7TpC38w']
[debug] Encodings: locale TIS-620, fs TIS-620, out TIS-620, pref TIS-620
[debug] youtube-dl version 2021.12.17
[debug] Python version 2.7.3 (CPython) - Linux-3.2.0-4-686-pae-i686-with-debian-7.0
[debug] exe versions: avconv 0.8.18-6, avprobe 0.8.18-6, ffmpeg 0.8.10-6, ffprobe 0.8.18-6, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] 57US7TpC38w: 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.

$ 

Regarding a use of current Git version, I do know how to use Git, but there is also more complication: I have found that current master commit of YouTube-DL at the time of this writing (2dd6c6e) also failed to run on my configuration, for a different reason (very likely a regression)...

$ git checkout master
Switched to branch 'master'
$ git checkout -q 2dd6c6e
$ git clean -qxdf ; git checkout -f
$ make
mkdir -p zip
for d in youtube_dl youtube_dl/downloader youtube_dl/extractor youtube_dl/postprocessor ; do \
	  mkdir -p zip/$d ;\
	  cp -pPR $d/*.py zip/$d/ ;\
	done
touch -t 200001010101 zip/youtube_dl/*.py zip/youtube_dl/*/*.py
mv zip/youtube_dl/__main__.py zip/
cd zip ; zip -q ../youtube-dl youtube_dl/*.py youtube_dl/*/*.py __main__.py
rm -rf zip
echo '#!/usr/bin/env python' > youtube-dl
cat youtube-dl.zip >> youtube-dl
rm youtube-dl.zip
chmod a+x youtube-dl
COLUMNS=80 /usr/bin/env python youtube_dl/__main__.py --help | /usr/bin/env python devscripts/make_readme.py
/usr/bin/env python devscripts/make_contributing.py README.md CONTRIBUTING.md
/bin/sh: 1: pandoc: not found
/bin/sh: 1: [: =: unexpected operator
pandoc -f markdown -t plain README.md -o README.txt
make: pandoc: Command not found
make: *** [README.txt] Error 127
$ ./youtube-dl -f 18 https://www.youtube.com/watch?v=57US7TpC38w
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "./youtube-dl/__main__.py", line 19, in <module>
  File "./youtube-dl/youtube_dl/__init__.py", line 475, in main
    
  File "./youtube-dl/youtube_dl/__init__.py", line 465, in _real_main
    
  File "./youtube-dl/youtube_dl/YoutubeDL.py", line 2081, in download
  File "./youtube-dl/youtube_dl/YoutubeDL.py", line 801, in extract_info
  File "./youtube-dl/youtube_dl/extractor/common.py", line 415, in suitable
  File "/usr/lib/python2.7/re.py", line 190, in compile
    return _compile(pattern, flags)
  File "/usr/lib/python2.7/re.py", line 242, in _compile
    raise error, v # invalid expression
sre_constants.error: nothing to repeat
$ 

Out of curiosity, I decided to do git bisect test (2021.12.17 a.k.a. 5014bd6 good, 2dd6c6e bad) to see what caused this regression, and I found that:

e19ec5232216fd801ded88728df5b50bfb05c1cc is the first bad commit
commit e19ec5232216fd801ded88728df5b50bfb05c1cc
Author: dirkf <fieldhouse@gmx.net>
Date:   Sat Feb 11 03:25:14 2023 +0000

    [Vimeo] Support /user{video_id}/{slug} URL format

:040000 040000 295c3c4303d73aa07a4d79f13a3acc31aa67a624 b1578ac329c110ea3096b31c38a4bfee4fd92f1b M	youtube_dl

So I went back to current master (2dd6c6e) and backed this offending commit out using git show e19ec52 | patch -p1 -R, then tried again... and voila!

$ git checkout -qf 2dd6c6e ; git clean -qxdf
$ git show e19ec52 | patch -p1 -R
patching file youtube_dl/extractor/vimeo.py
$ make
mkdir -p zip
for d in youtube_dl youtube_dl/downloader youtube_dl/extractor youtube_dl/postprocessor ; do \
	  mkdir -p zip/$d ;\
	  cp -pPR $d/*.py zip/$d/ ;\
	done
touch -t 200001010101 zip/youtube_dl/*.py zip/youtube_dl/*/*.py
mv zip/youtube_dl/__main__.py zip/
cd zip ; zip -q ../youtube-dl youtube_dl/*.py youtube_dl/*/*.py __main__.py
rm -rf zip
echo '#!/usr/bin/env python' > youtube-dl
cat youtube-dl.zip >> youtube-dl
rm youtube-dl.zip
chmod a+x youtube-dl
COLUMNS=80 /usr/bin/env python youtube_dl/__main__.py --help | /usr/bin/env python devscripts/make_readme.py
/usr/bin/env python devscripts/make_contributing.py README.md CONTRIBUTING.md
/bin/sh: 1: pandoc: not found
/bin/sh: 1: [: =: unexpected operator
pandoc -f markdown -t plain README.md -o README.txt
make: pandoc: Command not found
make: *** [README.txt] Error 127
$ ./youtube-dl -f 18 https://www.youtube.com/watch?v=57US7TpC38w
[youtube] 57US7TpC38w: Downloading webpage
WARNING: 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.
[download] Destination: Jefferz Koi () -English Cover- (Gen Hoshino)-57US7TpC38w.mp4
[download] 100% of 13.21MiB in 27:01
$ 

And once I installed Pandoc on the system and re-run Make, it completed and I could finally install the patched YouTube-DL on my system:

$ make
pandoc -f markdown -t plain README.md -o README.txt
/usr/bin/env python devscripts/prepare_manpage.py youtube-dl.1.temp.md
pandoc -s -f markdown -t man youtube-dl.1.temp.md -o youtube-dl.1
rm -f youtube-dl.1.temp.md
/usr/bin/env python devscripts/bash-completion.py
/usr/bin/env python devscripts/zsh-completion.py
/usr/bin/env python devscripts/fish-completion.py
/usr/bin/env python devscripts/make_supportedsites.py docs/supportedsites.md
$ su
Password: 
# make install
install -d /usr/local/bin
install -m 755 youtube-dl /usr/local/bin
install -d /usr/local/man/man1
install -m 644 youtube-dl.1 /usr/local/man/man1
install -d /etc/bash_completion.d
install -m 644 youtube-dl.bash-completion /etc/bash_completion.d/youtube-dl
install -d /usr/local/share/zsh/site-functions
install -m 644 youtube-dl.zsh /usr/local/share/zsh/site-functions/_youtube-dl
install -d /etc/fish/completions
install -m 644 youtube-dl.fish /etc/fish/completions/youtube-dl.fish
# 

^ So this is the current "workaround" procedure for people who are using (and/or care about) older systems. I'll probably report the regression later as a separate bug once I have time to.


YouTube-DL (original version tried): 2021.12.17 (source)
YouTube-DL (new, failed to compile): 2021.12.17-185-g2dd6c6e (Git 17-Feb-2023)
YouTube-DL (new, working): 2021.12.17-185-g2dd6c6e (Git 17-Feb-2023) with e19ec52 backed out
Python: 2.7.3 (Debian)
Git: 1.7.10.4 (Debian)
System: Debian GNU/Linux 7.0 "Wheezy" i386

@nachanon commented on GitHub (Feb 18, 2023): I have this problem with "latest" 2021.12.17 (i.e. 1+ year old) release too; **the problem cropped up just today**. But unlike many people who reported here: I actually use YouTube-DL from a very old (GNU/Linux) system, so **YouTuble-DLP is not an option for me**... $ youtube-dl --version 2021.12.17 $ youtube-dl -f 18 https://www.youtube.com/watch?v=57US7TpC38w [youtube] 57US7TpC38w: Downloading webpage [youtube] 57US7TpC38w: Downloading player 11e3a4ec 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. $ youtube-dl -f 18 --verbose https://www.youtube.com/watch?v=57US7TpC38w [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'-f', u'18', u'--verbose', u'https://www.youtube.com/watch?v=57US7TpC38w'] [debug] Encodings: locale TIS-620, fs TIS-620, out TIS-620, pref TIS-620 [debug] youtube-dl version 2021.12.17 [debug] Python version 2.7.3 (CPython) - Linux-3.2.0-4-686-pae-i686-with-debian-7.0 [debug] exe versions: avconv 0.8.18-6, avprobe 0.8.18-6, ffmpeg 0.8.10-6, ffprobe 0.8.18-6, rtmpdump 2.4 [debug] Proxy map: {} [youtube] 57US7TpC38w: 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. $ Regarding a use of current Git version, I _do_ know how to use Git, but there is also more complication: I have found that current `master` commit of YouTube-DL at the time of this writing (2dd6c6e) also failed to run on my configuration, for a different reason (very likely a regression)... $ git checkout master Switched to branch 'master' $ git checkout -q 2dd6c6e $ git clean -qxdf ; git checkout -f $ make mkdir -p zip for d in youtube_dl youtube_dl/downloader youtube_dl/extractor youtube_dl/postprocessor ; do \ mkdir -p zip/$d ;\ cp -pPR $d/*.py zip/$d/ ;\ done touch -t 200001010101 zip/youtube_dl/*.py zip/youtube_dl/*/*.py mv zip/youtube_dl/__main__.py zip/ cd zip ; zip -q ../youtube-dl youtube_dl/*.py youtube_dl/*/*.py __main__.py rm -rf zip echo '#!/usr/bin/env python' > youtube-dl cat youtube-dl.zip >> youtube-dl rm youtube-dl.zip chmod a+x youtube-dl COLUMNS=80 /usr/bin/env python youtube_dl/__main__.py --help | /usr/bin/env python devscripts/make_readme.py /usr/bin/env python devscripts/make_contributing.py README.md CONTRIBUTING.md /bin/sh: 1: pandoc: not found /bin/sh: 1: [: =: unexpected operator pandoc -f markdown -t plain README.md -o README.txt make: pandoc: Command not found make: *** [README.txt] Error 127 $ ./youtube-dl -f 18 https://www.youtube.com/watch?v=57US7TpC38w Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "./youtube-dl/__main__.py", line 19, in <module> File "./youtube-dl/youtube_dl/__init__.py", line 475, in main File "./youtube-dl/youtube_dl/__init__.py", line 465, in _real_main File "./youtube-dl/youtube_dl/YoutubeDL.py", line 2081, in download File "./youtube-dl/youtube_dl/YoutubeDL.py", line 801, in extract_info File "./youtube-dl/youtube_dl/extractor/common.py", line 415, in suitable File "/usr/lib/python2.7/re.py", line 190, in compile return _compile(pattern, flags) File "/usr/lib/python2.7/re.py", line 242, in _compile raise error, v # invalid expression sre_constants.error: nothing to repeat $ Out of curiosity, I decided to do `git bisect` test (`2021.12.17` a.k.a. 5014bd6 good, 2dd6c6e bad) to see what caused this regression, and I found that: e19ec5232216fd801ded88728df5b50bfb05c1cc is the first bad commit commit e19ec5232216fd801ded88728df5b50bfb05c1cc Author: dirkf <fieldhouse@gmx.net> Date: Sat Feb 11 03:25:14 2023 +0000 [Vimeo] Support /user{video_id}/{slug} URL format :040000 040000 295c3c4303d73aa07a4d79f13a3acc31aa67a624 b1578ac329c110ea3096b31c38a4bfee4fd92f1b M youtube_dl So I went back to current `master` (2dd6c6e) and backed this offending commit out using `git show e19ec52 | patch -p1 -R`, then tried again... and voila! $ git checkout -qf 2dd6c6e ; git clean -qxdf $ git show e19ec52 | patch -p1 -R patching file youtube_dl/extractor/vimeo.py $ make mkdir -p zip for d in youtube_dl youtube_dl/downloader youtube_dl/extractor youtube_dl/postprocessor ; do \ mkdir -p zip/$d ;\ cp -pPR $d/*.py zip/$d/ ;\ done touch -t 200001010101 zip/youtube_dl/*.py zip/youtube_dl/*/*.py mv zip/youtube_dl/__main__.py zip/ cd zip ; zip -q ../youtube-dl youtube_dl/*.py youtube_dl/*/*.py __main__.py rm -rf zip echo '#!/usr/bin/env python' > youtube-dl cat youtube-dl.zip >> youtube-dl rm youtube-dl.zip chmod a+x youtube-dl COLUMNS=80 /usr/bin/env python youtube_dl/__main__.py --help | /usr/bin/env python devscripts/make_readme.py /usr/bin/env python devscripts/make_contributing.py README.md CONTRIBUTING.md /bin/sh: 1: pandoc: not found /bin/sh: 1: [: =: unexpected operator pandoc -f markdown -t plain README.md -o README.txt make: pandoc: Command not found make: *** [README.txt] Error 127 $ ./youtube-dl -f 18 https://www.youtube.com/watch?v=57US7TpC38w [youtube] 57US7TpC38w: Downloading webpage WARNING: 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. [download] Destination: Jefferz Koi () -English Cover- (Gen Hoshino)-57US7TpC38w.mp4 [download] 100% of 13.21MiB in 27:01 $ And once I installed Pandoc on the system and re-run Make, it completed and I could finally install the patched YouTube-DL on my system: $ make pandoc -f markdown -t plain README.md -o README.txt /usr/bin/env python devscripts/prepare_manpage.py youtube-dl.1.temp.md pandoc -s -f markdown -t man youtube-dl.1.temp.md -o youtube-dl.1 rm -f youtube-dl.1.temp.md /usr/bin/env python devscripts/bash-completion.py /usr/bin/env python devscripts/zsh-completion.py /usr/bin/env python devscripts/fish-completion.py /usr/bin/env python devscripts/make_supportedsites.py docs/supportedsites.md $ su Password: # make install install -d /usr/local/bin install -m 755 youtube-dl /usr/local/bin install -d /usr/local/man/man1 install -m 644 youtube-dl.1 /usr/local/man/man1 install -d /etc/bash_completion.d install -m 644 youtube-dl.bash-completion /etc/bash_completion.d/youtube-dl install -d /usr/local/share/zsh/site-functions install -m 644 youtube-dl.zsh /usr/local/share/zsh/site-functions/_youtube-dl install -d /etc/fish/completions install -m 644 youtube-dl.fish /etc/fish/completions/youtube-dl.fish # **^ So this is the current "workaround" procedure for people who are using (and/or care about) older systems.** I'll probably report the regression later as a separate bug once I have time to. ----- YouTube-DL (original version tried): 2021.12.17 (source) YouTube-DL (new, failed to compile): 2021.12.17-185-g2dd6c6e (Git 17-Feb-2023) YouTube-DL (new, working): 2021.12.17-185-g2dd6c6e (Git 17-Feb-2023) with e19ec52 backed out Python: 2.7.3 (Debian) Git: 1.7.10.4 (Debian) System: Debian GNU/Linux 7.0 "Wheezy" i386
Author
Owner

@bagasme commented on GitHub (Feb 18, 2023):

I'm chiming in...

On current master (commit 2dd6c6edd8), listing available formats (-F) for Eat Bulaga Ending as test video, the error is downgraded to warning and the operation successed:

$ python -m youtube_dl --verbose -F https://www.youtube.com/watch?v=A9LEbObHj4Q
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '-F', 'https://www.youtube.com/watch?v=A9LEbObHj4Q']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Git HEAD: 2dd6c6edd8
[debug] Python version 3.9.2 (CPython) - Linux-5.15.94-local-x86_64-with-glibc2.31
[debug] exe versions: ffmpeg 4.3.5-0, ffprobe 4.3.5-0
[debug] Proxy map: {}
[youtube] A9LEbObHj4Q: Downloading webpage
[debug] [youtube] Decrypted nsig yxdppYjbtnVbZgzk => oo8-RwB1XhDfkQ
[debug] [youtube] Decrypted nsig wVL_yTGRKUoYhvNy => 2WZ00dc808wTlg
WARNING: 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.
[info] Available formats for A9LEbObHj4Q:
format code  extension  resolution note
249          webm       audio only tiny   40k , webm_dash container, opus @ 40k (48000Hz), 428.06KiB
250          webm       audio only tiny   50k , webm_dash container, opus @ 50k (48000Hz), 528.82KiB
251          webm       audio only tiny   92k , webm_dash container, opus @ 92k (48000Hz), 964.77KiB
140          m4a        audio only tiny  129k , m4a_dash container, mp4a.40.2@129k (44100Hz), 1.32MiB
278          webm       256x144    144p   97k , webm_dash container, vp9@  97k, 30fps, video only, 1020.93KiB
160          mp4        256x144    144p  111k , mp4_dash container, avc1.4d400c@ 111k, 30fps, video only, 1.14MiB
242          webm       426x240    240p  213k , webm_dash container, vp9@ 213k, 30fps, video only, 2.18MiB
133          mp4        426x240    240p  233k , mp4_dash container, avc1.4d4015@ 233k, 30fps, video only, 2.38MiB
243          webm       640x360    360p  369k , webm_dash container, vp9@ 369k, 30fps, video only, 3.77MiB
134          mp4        640x360    360p  526k , mp4_dash container, avc1.4d401e@ 526k, 30fps, video only, 5.37MiB
244          webm       854x480    480p  704k , webm_dash container, vp9@ 704k, 30fps, video only, 7.19MiB
135          mp4        854x480    480p  962k , mp4_dash container, avc1.4d401f@ 962k, 30fps, video only, 9.83MiB
247          webm       1280x720   720p 1456k , webm_dash container, vp9@1456k, 30fps, video only, 14.86MiB
136          mp4        1280x720   720p 1824k , mp4_dash container, avc1.64001f@1824k, 30fps, video only, 18.62MiB
18           mp4        640x360    360p  626k , avc1.42001E, 30fps, mp4a.40.2 (44100Hz), 6.40MiB
22           mp4        1280x720   720p 1952k , avc1.64001F, 30fps, mp4a.40.2 (44100Hz) (best)

you-get still works as before.

@bagasme commented on GitHub (Feb 18, 2023): I'm chiming in... On current master (commit 2dd6c6edd8e0fc5e45865b8e6d865e35147de772), listing available formats (`-F`) for [Eat Bulaga Ending as test video](https://www.youtube.com/watch?v=A9LEbObHj4Q), the error is downgraded to warning and the operation successed: ```bash $ python -m youtube_dl --verbose -F https://www.youtube.com/watch?v=A9LEbObHj4Q [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', '-F', 'https://www.youtube.com/watch?v=A9LEbObHj4Q'] [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 [debug] youtube-dl version 2021.12.17 [debug] Git HEAD: 2dd6c6edd8 [debug] Python version 3.9.2 (CPython) - Linux-5.15.94-local-x86_64-with-glibc2.31 [debug] exe versions: ffmpeg 4.3.5-0, ffprobe 4.3.5-0 [debug] Proxy map: {} [youtube] A9LEbObHj4Q: Downloading webpage [debug] [youtube] Decrypted nsig yxdppYjbtnVbZgzk => oo8-RwB1XhDfkQ [debug] [youtube] Decrypted nsig wVL_yTGRKUoYhvNy => 2WZ00dc808wTlg WARNING: 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. [info] Available formats for A9LEbObHj4Q: format code extension resolution note 249 webm audio only tiny 40k , webm_dash container, opus @ 40k (48000Hz), 428.06KiB 250 webm audio only tiny 50k , webm_dash container, opus @ 50k (48000Hz), 528.82KiB 251 webm audio only tiny 92k , webm_dash container, opus @ 92k (48000Hz), 964.77KiB 140 m4a audio only tiny 129k , m4a_dash container, mp4a.40.2@129k (44100Hz), 1.32MiB 278 webm 256x144 144p 97k , webm_dash container, vp9@ 97k, 30fps, video only, 1020.93KiB 160 mp4 256x144 144p 111k , mp4_dash container, avc1.4d400c@ 111k, 30fps, video only, 1.14MiB 242 webm 426x240 240p 213k , webm_dash container, vp9@ 213k, 30fps, video only, 2.18MiB 133 mp4 426x240 240p 233k , mp4_dash container, avc1.4d4015@ 233k, 30fps, video only, 2.38MiB 243 webm 640x360 360p 369k , webm_dash container, vp9@ 369k, 30fps, video only, 3.77MiB 134 mp4 640x360 360p 526k , mp4_dash container, avc1.4d401e@ 526k, 30fps, video only, 5.37MiB 244 webm 854x480 480p 704k , webm_dash container, vp9@ 704k, 30fps, video only, 7.19MiB 135 mp4 854x480 480p 962k , mp4_dash container, avc1.4d401f@ 962k, 30fps, video only, 9.83MiB 247 webm 1280x720 720p 1456k , webm_dash container, vp9@1456k, 30fps, video only, 14.86MiB 136 mp4 1280x720 720p 1824k , mp4_dash container, avc1.64001f@1824k, 30fps, video only, 18.62MiB 18 mp4 640x360 360p 626k , avc1.42001E, 30fps, mp4a.40.2 (44100Hz), 6.40MiB 22 mp4 1280x720 720p 1952k , avc1.64001F, 30fps, mp4a.40.2 (44100Hz) (best) ``` you-get still works as before.
Author
Owner

@pukkandan commented on GitHub (Feb 18, 2023):

@dirkf, you are going to have a terrible time playing whack-a-mole with duplicates. I suggest you should pin this, along with update instructions (pip / https://github.com/ytdl-patched/youtube-dl) to hopefully reduce the number of dups being opened

@pukkandan commented on GitHub (Feb 18, 2023): @dirkf, you are going to have a terrible time playing whack-a-mole with duplicates. I suggest you should pin this, along with update instructions (pip / https://github.com/ytdl-patched/youtube-dl) to hopefully reduce the number of dups being opened
Author
Owner

@dirkf commented on GitHub (Feb 18, 2023):

"are going to"?!

@dirkf commented on GitHub (Feb 18, 2023): "are going to"?!
Author
Owner

@dirkf commented on GitHub (Feb 18, 2023):

@nachanon, you're trying too hard. Just install the checked-out master in place of your previous installation ... at least once #31597 is fixed. Thanks.

Your Python probably doesn't have a pip that can do that directly from the repo, or perhaps not even from a local archive, but you can just copy the checked-out youtube_dl directory in place of the one in your installation (after backing up, obvs).

Also, @camopants, @s1sw4nto (but #31600).

@dirkf commented on GitHub (Feb 18, 2023): @nachanon, you're trying too hard. Just install the checked-out master in place of your previous installation ... at least once #31597 is fixed. Thanks. Your Python probably doesn't have a _pip_ that can do that directly from the repo, or perhaps not even from a local archive, but you can just copy the checked-out `youtube_dl` directory in place of the one in your installation (after backing up, obvs). Also, @camopants, @s1sw4nto (but #31600).
Author
Owner

@jmazzitelli commented on GitHub (Feb 18, 2023):

FWIW: suggesting that fork of yt-dlp does not help some people, particularly those who cannot upgrade (for whatever reason) to Python 3.7. I fit in with that camp. yt-dlp is not an option for me as I am pinned on py 3.6 and cannot upgrade.

That said, running from master worked for me. See: https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435447033

@jmazzitelli commented on GitHub (Feb 18, 2023): FWIW: suggesting that fork of `yt-dlp` does not help some people, particularly those who cannot upgrade (for whatever reason) to Python 3.7. I fit in with that camp. `yt-dlp` is not an option for me as I am pinned on py 3.6 and cannot upgrade. That said, running from master worked for me. See: https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435447033
Author
Owner

@bagasme commented on GitHub (Feb 18, 2023):

@dirkf, you are going to have a terrible time playing whack-a-mole with duplicates. I suggest you should pin this, along with update instructions (pip / https://github.com/ytdl-patched/youtube-dl) to hopefully reduce the number of dups being opened

I think so.

FYI, I came to this issue when browsing this repo. The topmost commit was 2dd6c6edd8, which mentioned this issue (and it is related).

I guess that when this issue has been closed and fixed, a new release should be made and inform users to immediately upgrade.

@bagasme commented on GitHub (Feb 18, 2023): > @dirkf, you are going to have a terrible time playing whack-a-mole with duplicates. I suggest you should pin this, along with update instructions (pip / https://github.com/ytdl-patched/youtube-dl) to hopefully reduce the number of dups being opened I think so. FYI, I came to this issue when browsing this repo. The topmost commit was 2dd6c6edd8e0fc5e45865b8e6d865e35147de772, which mentioned this issue (and it is related). I guess that when this issue has been closed and fixed, a new release should be made and inform users to immediately upgrade.
Author
Owner

@dirkf commented on GitHub (Feb 18, 2023):

@jmazzitelli, like @nPHYN1T3, just use pip with your relatively up-to-date Python.

Also @dirkk0, @buhtz, @comicsansgreenki, @huzzam, @jamiedaniel, @joyspce, @VinnieThePooh, @LaTaupeEspagnole.

@dirkf commented on GitHub (Feb 18, 2023): @jmazzitelli, like @nPHYN1T3, [just use _pip_](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435477247) with your relatively up-to-date Python. Also @dirkk0, @buhtz, @comicsansgreenki, @huzzam, @jamiedaniel, @joyspce, @VinnieThePooh, @LaTaupeEspagnole.
Author
Owner

@nPHYN1T3 commented on GitHub (Feb 18, 2023):

Pass...pip, pypy, composer, npm, yada yada malware bloat installers.

@nPHYN1T3 commented on GitHub (Feb 18, 2023): Pass...pip, pypy, composer, npm, yada yada malware bloat installers.
Author
Owner

@jmazzitelli commented on GitHub (Feb 18, 2023):

Thanks. I'm a python noob - I have no idea if installing stuff via pip will screw up my 3.6 environment (its very important I do not impact my py 3.6) .. so I avoided it.

And, actually, I was able to grab a patched version from here, and that worked good, too. Just replaced my old youtube-dl with that and all worked well.

So, there are at least 2 ways people can fix this problem without worrying about that yt-dlp fork.

Either run from master or get that patched youtube-dl.

@jmazzitelli commented on GitHub (Feb 18, 2023): Thanks. I'm a python noob - I have no idea if installing stuff via pip will screw up my 3.6 environment (its very important I do not impact my py 3.6) .. so I avoided it. And, actually, I was able to grab a [patched version from here](https://github.com/ytdl-patched/youtube-dl/releases/tag/2023.02.18.1919), and that worked good, too. Just replaced my old youtube-dl with that and all worked well. So, there are at least 2 ways people can fix this problem without worrying about that yt-dlp fork. Either [run from master](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435447033) or get that [patched youtube-dl](https://github.com/ytdl-patched/youtube-dl/releases/tag/2023.02.18.1919).
Author
Owner

@dirkf commented on GitHub (Feb 18, 2023):

... I have no idea if installing stuff via pip will screw up my 3.6 environment (its very important I do not impact my py 3.6) .. so I avoided it.

No, pip is a core feature of your Python installation, so use it.

The ability to install directly from a git repo, in particular from GitHub, is fairly recent. v20.3.4 is the last version that works in 2.7, 3.5 and later. For other versions check the pip changelog: eg, 3.2 needs 7.1.2, 3.4 needs 19.1.1 (thanks @Vangelis66).

@dirkf commented on GitHub (Feb 18, 2023): > ... I have no idea if installing stuff via pip will screw up my 3.6 environment (its very important I do not impact my py 3.6) .. so I avoided it. No, _pip_ is a core feature of your Python installation, so use it. The ability to install directly from a git repo, in particular from GitHub, is fairly recent. v20.3.4 is the last version that works in 2.7, 3.5 and later. For other versions check the _pip_ changelog: eg, 3.2 needs 7.1.2, 3.4 needs 19.1.1 (thanks @Vangelis66).
Author
Owner

@i-am-dan commented on GitHub (Feb 18, 2023):

Thanks. I'm a python noob - I have no idea if installing stuff via pip will screw up my 3.6 environment (its very important I do not impact my py 3.6) .. so I avoided it.

And, actually, I was able to grab a patched version from here, and that worked good, too. Just replaced my old youtube-dl with that and all worked well.

So, there are at least 2 ways people can fix this problem without worrying about that yt-dlp fork.

Either run from master or get that patched youtube-dl.

I was able to pip install the source package and can confirm the fix. I'm a novice-intermediate with python and I don't believe this install will affect your environment since it's just a pip install.

@i-am-dan commented on GitHub (Feb 18, 2023): > Thanks. I'm a python noob - I have no idea if installing stuff via pip will screw up my 3.6 environment (its very important I do not impact my py 3.6) .. so I avoided it. > > And, actually, I was able to grab a [patched version from here](https://github.com/ytdl-patched/youtube-dl/releases/tag/2023.02.18.1919), and that worked good, too. Just replaced my old youtube-dl with that and all worked well. > > So, there are at least 2 ways people can fix this problem without worrying about that yt-dlp fork. > > Either [run from master](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435447033) or get that [patched youtube-dl](https://github.com/ytdl-patched/youtube-dl/releases/tag/2023.02.18.1919). I was able to pip install the source package and can confirm the fix. I'm a novice-intermediate with python and I don't believe this install will affect your environment since it's just a pip install.
Author
Owner

@gspears333 commented on GitHub (Feb 18, 2023):

This issue also hit me today, 1st time ever I've had a youtube-dl bug. I have verified my installation is current via the youtube-dl -U switch. It occurred when trying to download youtube vid ( https://www.youtube.com/watch?v=Jnc77gMihPo ) on my Windows 10 OS HP laptop. Verbose log for you -- thanks and kind regards:

Python version 3.4.4 (CPython) - Windows-10-10.0.19041
F:\SETUP\Programs\HP_6570b>youtube-dl --verbose https://www.youtube.com/watch?v=Jnc77gMihPo
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=Jnc77gMihPo']
[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.19041
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] Jnc77gMihPo: 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.

F:\SETUP\Programs\HP_6570b>
@gspears333 commented on GitHub (Feb 18, 2023): This issue also hit me today, 1st time ever I've had a youtube-dl bug. I have verified my installation is current via the youtube-dl -U switch. It occurred when trying to download youtube vid ( https://www.youtube.com/watch?v=Jnc77gMihPo ) on my Windows 10 OS HP laptop. Verbose log for you -- thanks and kind regards: <details><summary>Python version 3.4.4 (CPython) - Windows-10-10.0.19041</summary> ``` F:\SETUP\Programs\HP_6570b>youtube-dl --verbose https://www.youtube.com/watch?v=Jnc77gMihPo [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=Jnc77gMihPo'] [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.19041 [debug] exe versions: none [debug] Proxy map: {} [youtube] Jnc77gMihPo: 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. F:\SETUP\Programs\HP_6570b> ``` </details>
Author
Owner
@dirkf commented on GitHub (Feb 18, 2023): @gspears333, see https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435304041, https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435615065, and #31535.
Author
Owner

@jmazzitelli commented on GitHub (Feb 18, 2023):

@gspears333 and also see https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435687661

@jmazzitelli commented on GitHub (Feb 18, 2023): @gspears333 and also see https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435687661
Author
Owner

@gspears333 commented on GitHub (Feb 18, 2023):

@gspears333, see #31530 (comment), #31530 (comment), and #31535.

Dude -- you the bomb! Thanks and the patch (the .exe version) has been successful on my yt download. Thanks again,....

@gspears333 commented on GitHub (Feb 18, 2023): > @gspears333, see [#31530 (comment)](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435304041), [#31530 (comment)](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435615065), and #31535. Dude -- you the bomb! Thanks and the patch (the .exe version) has been successful on my yt download. Thanks again,....
Author
Owner

@Tyrewt commented on GitHub (Feb 18, 2023):

Error remains after running youtube-dl -U: youtube-dl is up-to-date (2021.12.17) - Has this issue been fixed or am I misunderstanding?

@Tyrewt commented on GitHub (Feb 18, 2023): Error remains after running **youtube-dl -U**: youtube-dl is up-to-date (2021.12.17) - Has this issue been fixed or am I misunderstanding?
Author
Owner

@dirkf commented on GitHub (Feb 18, 2023):

To acquire the fix review the thread above, depending on your installation type. See also #31535.

@dirkf commented on GitHub (Feb 18, 2023): To acquire the fix review the thread above, depending on your installation type. See also #31535.
Author
Owner

@dirkf commented on GitHub (Feb 18, 2023):

After the issue showed up in the UK last night, I looked at problem video 3h5-QPbKoVg:

'uploader': 'Audio Visual Clips',
'uploader_id': 'NA',
'channel': 'Audio Visual Clips',
'channel_id': 'UC9AY3VP-VqMJh_Uj_1BbSPA',
'channel_url': 'https://www.youtube.com/channel/UC9AY3VP-VqMJh_Uj_1BbSPA',

In this page the @... value appears here:

<span itemprop="author" itemscope itemtype="http://schema.org/Person">
  <link itemprop="url" href="http://www.youtube.com/@Audio-Visual-Clips">
  <link itemprop="name" content="Audio Visual Clips">
</span>

And here, but this is just a navigation link:

<script type="application/ld+json" nonce="cgNt_K7hab_AuFX-K8HbPA">
{
  '@context': 'http://schema.org',
  '@type': 'BreadcrumbList',
  'itemListElement': [
    {
      '@type': 'ListItem',
      'position': 1,
      'item': {
        '@id': 'http://www.youtube.com/@Audio-Visual-Clips',
        'name': 'Audio Visual Clips'
      }
    }
  ]
}
</script>

And in the ytInitialPlayerResponse:

"ownerProfileUrl":"http://www.youtube.com/@Audio-Visual-Clips"

And in the ytInitialData, hidden in metadata attached to videoSecondaryInfoRenderer.owner, and also in the secondary video channel list and play-next items that come from the same uploader/channel.

While UC9AY3VP-VqMJh_Uj_1BbSPA appears in

<meta itemprop="channelId" content="UC9AY3VP-VqMJh_Uj_1BbSPA">

And in the ytInitialPlayerResponse

"channelId":"UC9AY3VP-VqMJh_Uj_1BbSPA"
...
"externalChannelId":"UC9AY3VP-VqMJh_Uj_1BbSPA"

To summarise:

value\location HTML videoDetails microformat twoColumnWatchNextResults
Audio Visual Clips author>name author ownerChannelName owner...title
/user/Audio... -none- -none- -none- -none-
/@Audio-Visual-Clips author>url ownerProfileUrl -none- owner...canonicalBaseUrl
UC9AY3VP-VqMJh_Uj_1BbSPA channelId channelId externalChannelId owner...browseId

In the final column I skipped some excessively deeply nested equivalents.

Now look at the yt-dl test video BaW_jenozKc, where these values are expected:

                'uploader': 'Philipp Hagemeister',
                'uploader_id': 'phihag',
                'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/phihag',
                'channel': 'Philipp Hagemeister',
                'channel_id': 'UCLqxVugv74EIW3VWh2NOa3Q',
                'channel_url': r're:https?://(?:www\.)?youtube\.com/channel/UCLqxVugv74EIW3VWh2NOa3Q',

In the page that is now being served:

  • Philipp Hagemeister appears where Audio Visual Clips appeared in 3h5-QPbKoVg
  • there is no phihag (apart from Philipp's email address)
  • and so there is no /user/phihag either
  • UCLqxVugv74EIW3VWh2NOa3Q appears where UC9AY3VP-VqMJh_Uj_1BbSPA appeared in 3h5-QPbKoVg
  • there is no /channel/... (but the tested value is currently created from the channel_id and not extracted)
value\location HTML videoDetails microformat twoColumnWatchNextResults
Philipp Hagemeister author>name author ownerChannelName owner...title
phihag -none- -none- -none -none
/user/phihag -none- -none- -none- -none
/@PhilippHagemeister author>url ownerProfileUrl -none- owner...canonicalBaseUrl
UCLqxVugv74EIW3VWh2NOa3Q channelId channelId externalChannelId owner...browseId

So this supports the theory that YT is migrating to channel URLs like /@{channel} instead of /channel/{channel_id}, though not (yet) redirecting from the latter. And the existing test-cases can't be saved, which is a pain considering how many there are.

Proposed final resolution:

  • uploader is the author text value
  • channel is the same
  • uploader_id becomes the @... value
  • channel_id is channelId
  • uploader_url is the author URL with /@...
  • channel_url is /channel/{channel_id} at least while that is valid.
@dirkf commented on GitHub (Feb 18, 2023): After the issue showed up in the UK last night, I looked at problem video `3h5-QPbKoVg`: ```py 'uploader': 'Audio Visual Clips', 'uploader_id': 'NA', 'channel': 'Audio Visual Clips', 'channel_id': 'UC9AY3VP-VqMJh_Uj_1BbSPA', 'channel_url': 'https://www.youtube.com/channel/UC9AY3VP-VqMJh_Uj_1BbSPA', ``` In this page the `@...` value appears here: ```html <span itemprop="author" itemscope itemtype="http://schema.org/Person"> <link itemprop="url" href="http://www.youtube.com/@Audio-Visual-Clips"> <link itemprop="name" content="Audio Visual Clips"> </span> ``` And here, but this is just a navigation link: ```html <script type="application/ld+json" nonce="cgNt_K7hab_AuFX-K8HbPA"> { '@context': 'http://schema.org', '@type': 'BreadcrumbList', 'itemListElement': [ { '@type': 'ListItem', 'position': 1, 'item': { '@id': 'http://www.youtube.com/@Audio-Visual-Clips', 'name': 'Audio Visual Clips' } } ] } </script> ``` And in the `ytInitialPlayerResponse`: ```js "ownerProfileUrl":"http://www.youtube.com/@Audio-Visual-Clips" ``` And in the `ytInitialData`, hidden in metadata attached to `videoSecondaryInfoRenderer.owner`, and also in the secondary video channel list and play-next items that come from the same uploader/channel. While `UC9AY3VP-VqMJh_Uj_1BbSPA` appears in ```html <meta itemprop="channelId" content="UC9AY3VP-VqMJh_Uj_1BbSPA"> ``` And in the `ytInitialPlayerResponse` ```js "channelId":"UC9AY3VP-VqMJh_Uj_1BbSPA" ... "externalChannelId":"UC9AY3VP-VqMJh_Uj_1BbSPA" ``` To summarise: | value\\location | HTML | videoDetails | microformat | twoColumnWatchNextResults | |:---------|:----:|:------------:|:-----------:|:--------------------------------:| | Audio Visual Clips | author>name | author | ownerChannelName | owner...title | | /user/Audio... | -none- | -none- | -none- | -none- | | /@Audio-Visual-Clips | author>url | ownerProfileUrl | -none- | owner...canonicalBaseUrl | | UC9AY3VP-VqMJh_Uj_1BbSPA | channelId | channelId | externalChannelId | owner...browseId | In the final column I skipped some excessively deeply nested equivalents. Now look at the yt-dl test video `BaW_jenozKc`, where these values are expected: ```py 'uploader': 'Philipp Hagemeister', 'uploader_id': 'phihag', 'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/phihag', 'channel': 'Philipp Hagemeister', 'channel_id': 'UCLqxVugv74EIW3VWh2NOa3Q', 'channel_url': r're:https?://(?:www\.)?youtube\.com/channel/UCLqxVugv74EIW3VWh2NOa3Q', ``` In the page that is now being served: * `Philipp Hagemeister` appears where `Audio Visual Clips` appeared in `3h5-QPbKoVg` * there is no `phihag` (apart from Philipp's email address) * and so there is no `/user/phihag` either * `UCLqxVugv74EIW3VWh2NOa3Q` appears where `UC9AY3VP-VqMJh_Uj_1BbSPA` appeared in `3h5-QPbKoVg` * there is no `/channel/...` (but the tested value is currently created from the `channel_id` and not extracted) | value\\location | HTML | videoDetails | microformat | twoColumnWatchNextResults | |:---------|:----:|:------------:|:-----------:|:--------------------------------:| | Philipp Hagemeister | author>name | author |ownerChannelName| owner...title | | phihag | -none- | -none- | -none | -none | | /user/phihag | -none- | -none- | -none- | -none | | /@PhilippHagemeister | author>url | ownerProfileUrl | -none- | owner...canonicalBaseUrl | | UCLqxVugv74EIW3VWh2NOa3Q | channelId | channelId | externalChannelId | owner...browseId | So this supports the theory that YT is migrating to channel URLs like `/@{channel}` instead of `/channel/{channel_id}`, though not (yet) redirecting from the latter. And the existing test-cases can't be saved, which is a pain considering how many there are. Proposed final resolution: * `uploader` is the author text value * `channel` is the same * `uploader_id` becomes the @... value * `channel_id` is `channelId` * `uploader_url` is the author URL with /@... * `channel_url` is `/channel/{channel_id}` at least while that is valid.
Author
Owner

@coletdjnz commented on GitHub (Feb 18, 2023):

https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435734719:
Proposed final resolution:

  • uploader is the author text value
  • channel is the same
  • uploader_id becomes the @... value
  • channel_id is channelId
  • uploader_url is the author URL with /@...
  • channel_url is /channel/{channel_id} at least while that is valid.

In yt-dlp we're looking at changing it to something similar:

  • channel and uploader are the same (current value of channel)
    -channel_id is only the channel UCID
  • channel_url is only the UCID channel url
    uploader_id is only the handle including the @
  • uploader_url is only the handle url
@coletdjnz commented on GitHub (Feb 18, 2023): > https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435734719: > Proposed final resolution: > * `uploader` is the author text value > * `channel` is the same > * `uploader_id` becomes the @... value > * `channel_id` is `channelId` > * `uploader_url` is the author URL with /@... > * `channel_url` is `/channel/{channel_id}` at least while that is valid. In yt-dlp we're looking at changing it to something similar: - `channel` and `uploader` are the same (current value of `channel`) -`channel_id` is only the channel UCID - `channel_url` is only the UCID channel url `uploader_id` is only the handle including the `@` - `uploader_url` is only the handle url
Author
Owner

@dwpoint commented on GitHub (Feb 18, 2023):

@nicolaasjan Thanks, your answer helped. Why doesn't the library itself correct this error? I have the latest version.

@dwpoint commented on GitHub (Feb 18, 2023): @nicolaasjan Thanks, your answer helped. Why doesn't the library itself correct this error? I have the latest version.
Author
Owner

@udippel commented on GitHub (Feb 18, 2023):

Instead of messing up my install with #31535 or likewise: when could we expect an update through youtube-dl -U, please?

@udippel commented on GitHub (Feb 18, 2023): Instead of messing up my install with #31535 or likewise: when could we expect an update through youtube-dl -U, please?
Author
Owner

@Sudo-null7 commented on GitHub (Feb 18, 2023):

Similar issue youtube changed there @ user stuff that youtube-dl hasn't implemented a fix for? due to this being a new thing


User@home:~$ youtube-dl "ytsearch:test"
[download] Downloading playlist: test
[youtube:search] query "test": Downloading page 1
[youtube:search] playlist test: Downloading 1 videos
[download] Downloading video 1 of 1
[youtube] 0l17q0EplGs: 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.

also happens with a URL

@Sudo-null7 commented on GitHub (Feb 18, 2023): Similar issue youtube changed there @ user stuff that youtube-dl hasn't implemented a fix for? due to this being a new thing ``` User@home:~$ youtube-dl "ytsearch:test" [download] Downloading playlist: test [youtube:search] query "test": Downloading page 1 [youtube:search] playlist test: Downloading 1 videos [download] Downloading video 1 of 1 [youtube] 0l17q0EplGs: 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. ``` also happens with a URL
Author
Owner

@Cheeseless commented on GitHub (Feb 18, 2023):

Similar issue maybe youtube did something that youtube-dl hasn't implemented a fix for?

The issue has been fixed already, there's just no release made for it for some reason so everyone's getting pointed at a manual update process in #31535. I can't imagine what that reason might be, though.

@Cheeseless commented on GitHub (Feb 18, 2023): > Similar issue maybe youtube did something that youtube-dl hasn't implemented a fix for? The issue has been fixed already, there's just no release made for it *for some reason* so everyone's getting pointed at a manual update process in #31535. I can't imagine what that reason might be, though.
Author
Owner

@dirkf commented on GitHub (Feb 18, 2023):

when could we expect an update through youtube-dl -U, please?

Not soon enough to avoid the update methods already documented, which is why they were.

@dirkf commented on GitHub (Feb 18, 2023): > when could we expect an update through youtube-dl -U, please? Not soon enough to avoid the update methods already documented, which is why they were.
Author
Owner

@HalfDemon commented on GitHub (Feb 18, 2023):

Python version 3.4.4 (CPython) - Windows-10-10.0.22000
PS C:\Users\monic> youtube-dl.exe https://www.youtube.com/watch?v=7DBVWouX_Qg --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.youtube.com/watch?v=7DBVWouX_Qg', '--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: ffmpeg 2022-03-21-git-505a7d39cd-full_build-www.gyan.dev, ffprobe 2022-03-21-git-505a7d39cd-full_build-www.gyan.dev
[debug] Proxy map: {}
[youtube] 7DBVWouX_Qg: Downloading webpage
[youtube] 7DBVWouX_Qg: Downloading m3u8 information
[youtube] 7DBVWouX_Qg: 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; 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.
@HalfDemon commented on GitHub (Feb 18, 2023): <details><summary>Python version 3.4.4 (CPython) - Windows-10-10.0.22000</summary> ``` PS C:\Users\monic> youtube-dl.exe https://www.youtube.com/watch?v=7DBVWouX_Qg --verbose [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['https://www.youtube.com/watch?v=7DBVWouX_Qg', '--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: ffmpeg 2022-03-21-git-505a7d39cd-full_build-www.gyan.dev, ffprobe 2022-03-21-git-505a7d39cd-full_build-www.gyan.dev [debug] Proxy map: {} [youtube] 7DBVWouX_Qg: Downloading webpage [youtube] 7DBVWouX_Qg: Downloading m3u8 information [youtube] 7DBVWouX_Qg: 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; 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. ``` </details>
Author
Owner

@Vangelis66 commented on GitHub (Feb 18, 2023):

The ability to install directly from a git repo, in particular from GitHub, is fairly recent.
(pip) v20.3.4 is the last version that works in py2.7 and later (except py3.2, needs pip v7.1.2).

In py3.4, the last compatible pip version is 19.1.1 😉 ; this is important to Windows XP diehards not on py2.7.18, because py3.4.x is the highest py3 version compatible with that OS...
After 19.1.1, came 19.2, which dropped support for any py3 version < 3.5 (but did keep support for py2.7 - and that support, like you said, was kept until (& including) pip v20.3.4) ...

@Vangelis66 commented on GitHub (Feb 18, 2023): > The ability to install directly from a git repo, in particular from GitHub, is fairly recent. > (pip) v**20.3.4** is **the last version that works in py2.7 and later** (**except py3.2**, needs pip v7.1.2). In `py3.4`, the last compatible `pip` version is [19.1.1](https://pypi.org/project/pip/19.1.1/) :wink: ; this is important to **Windows XP** diehards **not** on `py2.7.18`, because `py3.4.x` is the **highest** `py3` version **compatible** with that OS... After [19.1.1](https://pypi.org/project/pip/19.1.1/), came [19.2](https://pypi.org/project/pip/19.2/), which **dropped support** for any `py3` version **< 3.5** (but did keep support for `py2.7` - and that support, like you said, was kept until (& including) `pip` v[20.3.4](https://pypi.org/project/pip/20.3.4/)) ...
Author
Owner

@acche commented on GitHub (Feb 18, 2023):

ERROR: Unable to extract uploader id; How to resolve it?

@acche commented on GitHub (Feb 18, 2023): ERROR: Unable to extract uploader id; How to resolve it?
Author
Owner

@sunneo commented on GitHub (Feb 19, 2023):

Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.youtube.com/watch?v=n0Y1ezAu2pg', '--verbose']
[debug] Encodings: locale cp950, fs mbcs, out cp950, pref cp950
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg N-92752-g16ec62bbf4, ffprobe N-92752-g16ec62bbf4
[debug] Proxy map: {}
[youtube] n0Y1ezAu2pg: 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.
@sunneo commented on GitHub (Feb 19, 2023): <details><summary>Python version 3.4.4 (CPython) - Windows-10-10.0.19041</summary> ``` [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['https://www.youtube.com/watch?v=n0Y1ezAu2pg', '--verbose'] [debug] Encodings: locale cp950, fs mbcs, out cp950, pref cp950 [debug] youtube-dl version 2021.12.17 [debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041 [debug] exe versions: ffmpeg N-92752-g16ec62bbf4, ffprobe N-92752-g16ec62bbf4 [debug] Proxy map: {} [youtube] n0Y1ezAu2pg: 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. ``` </details>
Author
Owner

@mercer commented on GitHub (Feb 19, 2023):

Similar behavior as with other reports in this thread.

Python version 3.10.9 (CPython) - macOS-13.1-arm64-arm-64bit
➜  youtube-dl --verbose https://www.youtube.com/playlist\?list\=PLCeA6DzL9P4vhMbHjDUmL2hlEPMssyL1i
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/playlist?list=PLCeA6DzL9P4vhMbHjDUmL2hlEPMssyL1i']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Git HEAD: 17c872fb5
[debug] Python version 3.10.9 (CPython) - macOS-13.1-arm64-arm-64bit
[debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2, rtmpdump 2.4
[debug] Proxy map: {}
[youtube:tab] PLCeA6DzL9P4vhMbHjDUmL2hlEPMssyL1i: Downloading webpage
[download] Downloading playlist: Biochar Workshop: What, Why and How?
[youtube:tab] playlist Biochar Workshop: What, Why and How?: Downloading 6 videos
[download] Downloading video 1 of 6
[youtube] svNg5w7WY0k: 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 "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/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 "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/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.
@mercer commented on GitHub (Feb 19, 2023): Similar behavior as with other reports in this thread. <details><summary>Python version 3.10.9 (CPython) - macOS-13.1-arm64-arm-64bit</summary> ``` ➜ youtube-dl --verbose https://www.youtube.com/playlist\?list\=PLCeA6DzL9P4vhMbHjDUmL2hlEPMssyL1i [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', 'https://www.youtube.com/playlist?list=PLCeA6DzL9P4vhMbHjDUmL2hlEPMssyL1i'] [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 [debug] youtube-dl version 2021.12.17 [debug] Git HEAD: 17c872fb5 [debug] Python version 3.10.9 (CPython) - macOS-13.1-arm64-arm-64bit [debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2, rtmpdump 2.4 [debug] Proxy map: {} [youtube:tab] PLCeA6DzL9P4vhMbHjDUmL2hlEPMssyL1i: Downloading webpage [download] Downloading playlist: Biochar Workshop: What, Why and How? [youtube:tab] playlist Biochar Workshop: What, Why and How?: Downloading 6 videos [download] Downloading video 1 of 6 [youtube] svNg5w7WY0k: 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 "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/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 "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/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. ``` </details>
Author
Owner

@JohnTRL commented on GitHub (Feb 19, 2023):

Y'all, go /youtube_dl/extractor/common.py.
Line 983, change: fatal=True to fatal=False

@JohnTRL commented on GitHub (Feb 19, 2023): Y'all, go /youtube_dl/extractor/common.py. Line 983, change: `fatal=True` to `fatal=False`
Author
Owner

@s1sw4nto commented on GitHub (Feb 19, 2023):

Please update binary releases for Linux, compatible with python 2.6 or 2.7

@s1sw4nto commented on GitHub (Feb 19, 2023): Please update binary releases for Linux, compatible with python 2.6 or 2.7
Author
Owner

@nachanon commented on GitHub (Feb 19, 2023):

@dirkf,

@nachanon, you're trying too hard. Just install the checked-out master in place of your previous installation.

You misread my comment: I explicitly said that I had to revert some non-related commit for current Git-master YouTube-DL (2dd6c6e) to even start issuing the first request from my system-- which runs Python 2.7.3.

For that reason (now known as bug #31597), "Just install the checked-out master" will simply not work on my setup; and since the comment contains an exact procedure to make it work, hiding my comment is a disservice to other users who are fumbling in the dark to make it run from systems of similar age, a bearing similar range of Python version honestly.

YouTube-DL: 2021.12.17-185-g2dd6c6e (Git 17-Feb-2023) with e19ec52 backed out
Python: 2.7.3 (Debian)
System: Debian GNU/Linux 7.0 "Wheezy" i386

@nachanon commented on GitHub (Feb 19, 2023): @dirkf, > @nachanon, you're trying too hard. Just install the checked-out master in place of your previous installation. You misread [my comment](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435654669): I explicitly said that **I had to revert some non-related commit** for current Git-master YouTube-DL (2dd6c6e) to even start issuing the first request from my system-- which runs Python 2.7.3. For that reason (now known as bug #31597), "Just install the checked-out master" will simply not work on my setup; and since the comment contains **an exact procedure to make it work**, hiding my comment is a disservice to other users who are fumbling in the dark to make it run from systems of similar age, a bearing similar range of Python version honestly. YouTube-DL: 2021.12.17-185-g2dd6c6e (Git 17-Feb-2023) **with e19ec52 backed out** Python: 2.7.3 (Debian) System: Debian GNU/Linux 7.0 "Wheezy" i386
Author
Owner

@udippel commented on GitHub (Feb 19, 2023):

Not soon enough to avoid the update methods already documented, which is why they were.

Okay, so I should follow #31535, I guess.
Went there, but was unclear what do do, what I need. Don't want to mess up my system. *buntu 22.04, python3.

If youtube-dl -U is not to be expected very soon, it might be good to write a comprehensive 'Manual Update' for the most common OSes, and maybe python*.

@udippel commented on GitHub (Feb 19, 2023): > Not soon enough to avoid the update methods already documented, which is why they were. Okay, so I should follow #31535, I guess. Went there, but was unclear what do do, what I need. Don't want to mess up my system. *buntu 22.04, python3. If youtube-dl -U is not to be expected very soon, it might be good to write a comprehensive 'Manual Update' for the most common OSes, and maybe python*.
Author
Owner

@dirkf commented on GitHub (Feb 19, 2023):

tldr; (and who can blame you?)

Updating with -U won't work until there is a new release. There is now a nightly build of youtube-dl in our repo here: https://github.com/ytdl-org/ytdl-nightly/releases; please install from there. You can install this in the same ways as described in the manual, but change the URL for the download to match the appropriate one on the nightly release page. This is the way to go if you want a single file executable build, or if other methods don't succeed. See my post below for a script, or use a package like python-is-python3, or make a symbolic link, if your environment is POSIX-like and you don't have a Python called python.

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 (but, eg, Ubuntu so far only has a PPA update; see below for brew). As suggested by @HinTak, you could also ask the packagers of yt-dl in your package or distro repository to update the package from the git master of this repo, though some prefer only release builds.

If you have a Python installation, use pip to install from the git master of this repo: https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435477247.

If your yt-dl was installed with a package manager that needed admin, the command to update the module will need the same.

If you installed with brew, brew can now update you to a patched version that doesn't crash, but is not the latest git master. You can also try the --HEAD option to update to the latest master code, similar to the pip-based suggestions.

Or you can try using yt-dlp instead if your environment supports it: https://github.com/yt-dlp/yt-dlp.

Obviously, if you've tried to update in one of these ways and the original issue persists, the update didn't work: you are still running the release version or a development version that doesn't include the fix. Please check exactly how your yt-dl was installed and update accordingly. It may be easiest just to uninstall it and install the appropriate single file nightly build instead.

@dirkf commented on GitHub (Feb 19, 2023): tldr; (and who can blame you?) Updating with -U won't work until there is a [new release](https://github.com/ytdl-org/youtube-dl/issues/31585). There is now a nightly build of youtube-dl in our repo here: https://github.com/ytdl-org/ytdl-nightly/releases; **please install from there**. You can install this in the same ways as [described in the manual](https://github.com/ytdl-org/youtube-dl#user-content-installation), but change the URL for the download to match the appropriate one on the nightly release page. This is the way to go if you want a single file executable build, or if other methods don't succeed. See [my post below](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1449990989) for a script, or use a package like _python-is-python3_, or make a symbolic link, if your environment is POSIX-like and you don't have a Python called `python`. 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 (but, eg, Ubuntu so far only has a [PPA update](https://launchpad.net/~forkotov02/+archive/ubuntu/ppa); see below for _brew_). As suggested by @HinTak, you could also ask the packagers of yt-dl in your package or distro repository to update the package from the git master of this repo, though some prefer only release builds. If you have a Python installation, use _pip_ to install from the git master of this repo: https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435477247. If your yt-dl was installed with a package manager that needed admin, the command to update the module will need the same. If you installed with _brew_, _brew_ can [now update you](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1475065132) to a [patched version that doesn't crash, but is not the latest git master](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1475069872). You can also try the `--HEAD` option to update to the latest master code, similar to the _pip_-based suggestions. Or you can try using yt-dlp instead if your environment supports it: https://github.com/yt-dlp/yt-dlp. Obviously, if you've tried to update in one of these ways and the original issue persists, the update didn't work: you are still running the release version or a development version that doesn't include the fix. Please check exactly how your yt-dl was installed and update accordingly. It may be easiest just to uninstall it and install the appropriate single file nightly build instead.
Author
Owner

@dirkf commented on GitHub (Feb 19, 2023):

@nachanon

... I explicitly said that I had to revert some non-related commit for current

Unless you have this problem with the nightly build as linked above, I suggest that you broke the build while making your changes. The CI tests pass for Python 2.7 as you can check. That's why I don't want to publicise your experience, especially as a simpler solution is on offer.

@dirkf commented on GitHub (Feb 19, 2023): @nachanon >... I explicitly said that I had to revert some non-related commit for current Unless you have this problem with the nightly build as linked above, I suggest that you broke the build while making your changes. The CI tests pass for Python 2.7 as you [can check](ttps://github.com/ytdl-org/youtube-dl/actions/runs/4203228192). That's why I don't want to publicise your experience, especially as a simpler solution is on offer.
Author
Owner

@s1sw4nto commented on GitHub (Feb 19, 2023):

Traceback (most recent call last):
File "/usr/bin/youtube-dl", line 9, in
load_entry_point('youtube-dl==2021.12.17', 'console_scripts', 'youtube-dl')()
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 299, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2229, in load_entry_point
return ep.load()
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1948, in load
entry = import(self.module_name, globals(),globals(), ['name'])
File "/usr/lib/python2.6/site-packages/youtube_dl/init.py", line 15, in
from .options import (
File "/usr/lib/python2.6/site-packages/youtube_dl/options.py", line 8, in
from .downloader.external import list_external_downloaders
File "/usr/lib/python2.6/site-packages/youtube_dl/downloader/init.py", line 23, in
from .niconico import NiconicoDmcFD
File "/usr/lib/python2.6/site-packages/youtube_dl/downloader/niconico.py", line 11, in
from ..extractor.niconico import NiconicoIE
File "/usr/lib/python2.6/site-packages/youtube_dl/extractor/init.py", line 9, in
from .extractors import *
File "/usr/lib/python2.6/site-packages/youtube_dl/extractor/extractors.py", line 43, in
from .amara import AmaraIE
File "/usr/lib/python2.6/site-packages/youtube_dl/extractor/amara.py", line 5, in
from .youtube import YoutubeIE
File "/usr/lib/python2.6/site-packages/youtube_dl/extractor/youtube.py", line 23, in
from ..jsinterp import JSInterpreter
File "/usr/lib/python2.6/site-packages/youtube_dl/jsinterp.py", line 265
counters = {k: 0 for k in _MATCHING_PARENS.values()}
^
SyntaxError: invalid syntax

@s1sw4nto commented on GitHub (Feb 19, 2023): > Traceback (most recent call last): File "/usr/bin/youtube-dl", line 9, in <module> load_entry_point('youtube-dl==2021.12.17', 'console_scripts', 'youtube-dl')() File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 299, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2229, in load_entry_point return ep.load() File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1948, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/usr/lib/python2.6/site-packages/youtube_dl/__init__.py", line 15, in <module> from .options import ( File "/usr/lib/python2.6/site-packages/youtube_dl/options.py", line 8, in <module> from .downloader.external import list_external_downloaders File "/usr/lib/python2.6/site-packages/youtube_dl/downloader/__init__.py", line 23, in <module> from .niconico import NiconicoDmcFD File "/usr/lib/python2.6/site-packages/youtube_dl/downloader/niconico.py", line 11, in <module> from ..extractor.niconico import NiconicoIE File "/usr/lib/python2.6/site-packages/youtube_dl/extractor/__init__.py", line 9, in <module> from .extractors import * File "/usr/lib/python2.6/site-packages/youtube_dl/extractor/extractors.py", line 43, in <module> from .amara import AmaraIE File "/usr/lib/python2.6/site-packages/youtube_dl/extractor/amara.py", line 5, in <module> from .youtube import YoutubeIE File "/usr/lib/python2.6/site-packages/youtube_dl/extractor/youtube.py", line 23, in <module> from ..jsinterp import JSInterpreter File "/usr/lib/python2.6/site-packages/youtube_dl/jsinterp.py", line 265 counters = {k: 0 for k in _MATCHING_PARENS.values()} ^ SyntaxError: invalid syntax
Author
Owner

@udippel commented on GitHub (Feb 19, 2023):

If you have a Python installation, use pip to install from the git master of this repo: [#31530 (comment)

Fantastic. It SAYS : "Successfully installed youtube_dl-2021.12.17", but doesn't fail any longer.

[Edited to revert to my original comment]

Thanks a bunch for the help!
It DOES work, though brings up the 'unable to extract uploader id' as a warning.

My deepest apologies for the editing mess!

@udippel commented on GitHub (Feb 19, 2023): > If you have a Python installation, use _pip_ to install from the git master of this repo: [#31530 (comment) Fantastic. It SAYS : "Successfully installed youtube_dl-2021.12.17", but doesn't fail any longer. [Edited to revert to my original comment] Thanks a bunch for the help! It DOES work, though brings up the 'unable to extract uploader id' as a warning. My deepest apologies for the editing mess!
Author
Owner

@LaTaupeEspagnole commented on GitHub (Feb 19, 2023):

Same here :

Verbose log

Python version 3.10.9 (CPython) - Linux-6.1.12-arch1-1-x86_64-with-glibc2.37
$ youtube-dl --verbose https://www.youtube.com/watch?v=VfLAXJPz_q4
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=VfLAXJPz_q4']
[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.12-arch1-1-x86_64-with-glibc2.37
[debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2
[debug] Proxy map: {}
[youtube] VfLAXJPz_q4: 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 "/usr/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/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 "/usr/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.

Description

Seems youtube-dl can not get the "uploader id" on the page https://www.youtube.com/watch?v=VfLAXJPz_q4. It is an open video playable on browser and published 5 years ago.

@LaTaupeEspagnole commented on GitHub (Feb 19, 2023): Same here : ## Verbose log <details><summary>Python version 3.10.9 (CPython) - Linux-6.1.12-arch1-1-x86_64-with-glibc2.37</summary> ``` $ youtube-dl --verbose https://www.youtube.com/watch?v=VfLAXJPz_q4 [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=VfLAXJPz_q4'] [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.12-arch1-1-x86_64-with-glibc2.37 [debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2 [debug] Proxy map: {} [youtube] VfLAXJPz_q4: 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 "/usr/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/usr/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/usr/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/usr/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 "/usr/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. ``` </summary> ## Description Seems youtube-dl can not get the "uploader id" on the page https://www.youtube.com/watch?v=VfLAXJPz_q4. It is an open video playable on browser and published 5 years ago.
Author
Owner

@udippel commented on GitHub (Feb 19, 2023):

Same here :

Verbose log

Python version 3.10.9 (CPython) - Linux-6.1.12-arch1-1-x86_64-with-glibc2.37

Tried yours with the update of git master, and - just to confirm - worx.
Python version 3.10.6 (CPython) - Linux-5.15.0-60-generic-x86_64-with-glibc2.35

@udippel commented on GitHub (Feb 19, 2023): > Same here : > > ## Verbose log > Python version 3.10.9 (CPython) - Linux-6.1.12-arch1-1-x86_64-with-glibc2.37 Tried yours with the update of git master, and - just to confirm - worx. Python version 3.10.6 (CPython) - Linux-5.15.0-60-generic-x86_64-with-glibc2.35
Author
Owner

@arceon6 commented on GitHub (Feb 19, 2023):

Sorry for duplicate bug report. Still figuring this out. Ran sudo pip install --upgrade youtube_dl before youtube-dl errored out by the way.

@arceon6 commented on GitHub (Feb 19, 2023): Sorry for duplicate bug report. Still figuring this out. Ran sudo pip install --upgrade youtube_dl before youtube-dl errored out by the way.
Author
Owner

@ghost commented on GitHub (Feb 19, 2023):

@dirkf I saw the issue was fixed in the sticky'ed issue but I'm still receiving it after cloning master branch fresh

python -m youtube_dl https://www.youtube.com/watch?v=zfDSFw9Z8YY --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.youtube.com/watch?v=zfDSFw9Z8YY', '--verbose']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Git HEAD: 57802e632
[debug] Python version 3.11.0 (CPython) - Windows-10-10.0.22621-SP0
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] zfDSFw9Z8YY: Downloading webpage
[debug] [youtube] Decrypted nsig jpLHvCV4oEPn6WAv => zW3bDPZy0gx9IQ
[debug] [youtube] Decrypted nsig 6cu9Yu6gfzGUa0Bh => l5uDoJfuDS4Vsw
WARNING: 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.
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'https://rr6---sn-8xgp1vo-cvne.googlevideo.com/videoplayback?expire=1676866981&ei=RaHyY5bfJaaG_9EPiv2LoAI&ip=71.184.108.240&id=o-AAxxR2DcgIPGK9iP8Orye_Q2apDyHFAbHY0zw-b3A4cL&itag=22&source=youtube&requiressl=yes&mh=Hw&mm=31%2C29&mn=sn-8xgp1vo-cvne%2Csn-ab5l6nrz&ms=au%2Crdu&mv=m&mvi=6&pl=16&initcwndbps=1656250&vprv=1&mime=video%2Fmp4&ns=h-uNwAsuZww1vNNlieoeNaAL&cnr=14&ratebypass=yes&dur=101.471&lmt=1658500346299020&mt=1676844543&fvip=5&fexp=24007246&c=WEB&txp=5318224&n=l5uDoJfuDS4Vsw&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRAIgMJbguXII5fxomA_6Ie7V5yjWWNTIAuxly_-4hyOtsqMCIEAUe_ldpoO5h5KgLTMroqaYvaWNDH8QN0rctKs2mZki&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIhAMaYTU8subwxTXphZEy6jaAA5aEawaXa1M0SJtazNmZ4AiAYgn6og52UjD9g7x5rLNIFCfnXoWE468PdxZh00UodOw%3D%3D'
[download] What Are Docker Extensions-zfDSFw9Z8YY.mp4 has already been downloaded
[download] 100% of 7.35MiB
'''
@ghost commented on GitHub (Feb 19, 2023): @dirkf I saw the issue was fixed in the [sticky'ed issue](https://github.com/ytdl-org/youtube-dl/issues/30839) but I'm still receiving it after cloning master branch fresh ``` python -m youtube_dl https://www.youtube.com/watch?v=zfDSFw9Z8YY --verbose [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['https://www.youtube.com/watch?v=zfDSFw9Z8YY', '--verbose'] [debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252 [debug] youtube-dl version 2021.12.17 [debug] Git HEAD: 57802e632 [debug] Python version 3.11.0 (CPython) - Windows-10-10.0.22621-SP0 [debug] exe versions: none [debug] Proxy map: {} [youtube] zfDSFw9Z8YY: Downloading webpage [debug] [youtube] Decrypted nsig jpLHvCV4oEPn6WAv => zW3bDPZy0gx9IQ [debug] [youtube] Decrypted nsig 6cu9Yu6gfzGUa0Bh => l5uDoJfuDS4Vsw WARNING: 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. [debug] Default format spec: best/bestvideo+bestaudio [debug] Invoking downloader on 'https://rr6---sn-8xgp1vo-cvne.googlevideo.com/videoplayback?expire=1676866981&ei=RaHyY5bfJaaG_9EPiv2LoAI&ip=71.184.108.240&id=o-AAxxR2DcgIPGK9iP8Orye_Q2apDyHFAbHY0zw-b3A4cL&itag=22&source=youtube&requiressl=yes&mh=Hw&mm=31%2C29&mn=sn-8xgp1vo-cvne%2Csn-ab5l6nrz&ms=au%2Crdu&mv=m&mvi=6&pl=16&initcwndbps=1656250&vprv=1&mime=video%2Fmp4&ns=h-uNwAsuZww1vNNlieoeNaAL&cnr=14&ratebypass=yes&dur=101.471&lmt=1658500346299020&mt=1676844543&fvip=5&fexp=24007246&c=WEB&txp=5318224&n=l5uDoJfuDS4Vsw&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRAIgMJbguXII5fxomA_6Ie7V5yjWWNTIAuxly_-4hyOtsqMCIEAUe_ldpoO5h5KgLTMroqaYvaWNDH8QN0rctKs2mZki&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIhAMaYTU8subwxTXphZEy6jaAA5aEawaXa1M0SJtazNmZ4AiAYgn6og52UjD9g7x5rLNIFCfnXoWE468PdxZh00UodOw%3D%3D' [download] What Are Docker Extensions-zfDSFw9Z8YY.mp4 has already been downloaded [download] 100% of 7.35MiB '''
Author
Owner

@dirkf commented on GitHub (Feb 19, 2023):

I saw the issue was fixed in the sticky'ed issue but I'm still receiving it after cloning master branch fresh

That's a WARNING, not an ERROR, so it doesn't crash the program. The warning will go away once a full fix based on the analysis presented (way) above has been applied. The warning shows you that the value you might have expected to be extracted in the metadata is missing.

@dirkf commented on GitHub (Feb 19, 2023): >I saw the issue was fixed in the sticky'ed issue but I'm still receiving it after cloning master branch fresh That's a `WARNING`, not an `ERROR`, so it doesn't crash the program. The warning will go away once a full fix based on the analysis presented [(way) above](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435734719) has been applied. The warning shows you that the value you might have expected to be extracted in the metadata is missing.
Author
Owner

@kof0012 commented on GitHub (Feb 19, 2023):

https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1433470254

thanks,i have fix it.

@kof0012 commented on GitHub (Feb 19, 2023): >https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1433470254 thanks,i have fix it.
Author
Owner

@nicolaasjan commented on GitHub (Feb 20, 2023):

thanks,i have fix it.

Please note that this fix is "borrowed" from the fork project yt-dlp.

The fix here looks different.

@nicolaasjan commented on GitHub (Feb 20, 2023): > thanks,i have fix it. Please note that this fix is ["borrowed"](https://github.com/yt-dlp/yt-dlp/commit/c61cf091a54d3aa3c611722035ccde5ecfe981bb) from the fork project yt-dlp. The [fix here](https://github.com/ytdl-org/youtube-dl/commit/2dd6c6edd8e0fc5e45865b8e6d865e35147de772) looks different.
Author
Owner

@rmottainfo commented on GitHub (Feb 20, 2023):

I have already performed tests with various URLs, carried out the upgrade, and finally, is the procedure of sending the log correct?

youtube-dl --verbose https://www.youtube.com/watch?v=kvher7AlvrY
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=kvher7AlvrY']
[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.10.0-19-amd64-x86_64-with-glibc2.31
[debug] exe versions: ffmpeg 4.3.5-0, ffprobe 4.3.5-0, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] kvher7AlvrY: 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/rodrigo/.local/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
File "/home/rodrigo/.local/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
File "/home/rodrigo/.local/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/home/rodrigo/.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/rodrigo/.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.

@rmottainfo commented on GitHub (Feb 20, 2023): I have already performed tests with various URLs, carried out the upgrade, and finally, is the procedure of sending the log correct? youtube-dl --verbose https://www.youtube.com/watch?v=kvher7AlvrY [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=kvher7AlvrY'] [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.10.0-19-amd64-x86_64-with-glibc2.31 [debug] exe versions: ffmpeg 4.3.5-0, ffprobe 4.3.5-0, rtmpdump 2.4 [debug] Proxy map: {} [youtube] kvher7AlvrY: 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/rodrigo/.local/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/home/rodrigo/.local/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/home/rodrigo/.local/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/home/rodrigo/.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/rodrigo/.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.
Author
Owner

@udippel commented on GitHub (Feb 20, 2023):

youtube-dl --verbose https://www.youtube.com/watch?v=kvher7AlvrY
[debug] System config: []

I might become boring, though it works perfectly well (except of a warning) with the pip to install from the git master of this repo: [#31530 (comment)

In case you just want to GET the clip.

@udippel commented on GitHub (Feb 20, 2023): > youtube-dl --verbose https://www.youtube.com/watch?v=kvher7AlvrY > [debug] System config: [] I might become boring, though it works perfectly well (except of a warning) with the pip to install from the git master of this repo: [#31530 (comment) In case you just want to GET the clip.
Author
Owner

@ash80 commented on GitHub (Feb 20, 2023):

On Windows

.\youtube-dl.exe https://www.youtube.com/watch?v=-qkjk6vgb6w --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.youtube.com/watch?v=-qkjk6vgb6w', '--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.22621
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] -qkjk6vgb6w: Downloading webpage
[youtube] -qkjk6vgb6w: 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; 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
@ash80 commented on GitHub (Feb 20, 2023): On Windows ``` .\youtube-dl.exe https://www.youtube.com/watch?v=-qkjk6vgb6w --verbose [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['https://www.youtube.com/watch?v=-qkjk6vgb6w', '--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.22621 [debug] exe versions: none [debug] Proxy map: {} [youtube] -qkjk6vgb6w: Downloading webpage [youtube] -qkjk6vgb6w: 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; 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 ```
Author
Owner

@whinee commented on GitHub (Feb 20, 2023):

On Linux:

Command:

"$HOME"'/whi_ne/2/home/pyenv/bin/python' -m youtube_dl --no-playlist --extract-audio --audio-format flac --audio-quality 0 -o '/home/whine/whi_ne/0/downloads/media/music/%(title)s.%(ext)s' -f bestaudio 'https://www.youtube.com/watch?v=GU4sm9lrZPw' --verbose

Output:

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--no-playlist', '--extract-audio', '--audio-format', 'flac', '--audio-quality', '0', '-o', '/home/whine/whi_ne/0/downloads/media/music/%(title)s.%(ext)s', '-f', 'bestaudio', 'https://www.youtube.com/watch?v=GU4sm9lrZPw', '--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.9 (CPython) - Linux-6.1.4-arch1-1-x86_64-with-glibc2.36
[debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2
[debug] Proxy map: {}
[youtube] GU4sm9lrZPw: Downloading webpage
[youtube] Downloading just video GU4sm9lrZPw because of --no-playlist
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/whine/whi_ne/2/home/pyenv/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/home/whine/whi_ne/2/home/pyenv/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/home/whine/whi_ne/2/home/pyenv/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/home/whine/whi_ne/2/home/pyenv/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/whine/whi_ne/2/home/pyenv/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.```
@whinee commented on GitHub (Feb 20, 2023): On Linux: Command: ``` "$HOME"'/whi_ne/2/home/pyenv/bin/python' -m youtube_dl --no-playlist --extract-audio --audio-format flac --audio-quality 0 -o '/home/whine/whi_ne/0/downloads/media/music/%(title)s.%(ext)s' -f bestaudio 'https://www.youtube.com/watch?v=GU4sm9lrZPw' --verbose ``` Output: ``` [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--no-playlist', '--extract-audio', '--audio-format', 'flac', '--audio-quality', '0', '-o', '/home/whine/whi_ne/0/downloads/media/music/%(title)s.%(ext)s', '-f', 'bestaudio', 'https://www.youtube.com/watch?v=GU4sm9lrZPw', '--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.9 (CPython) - Linux-6.1.4-arch1-1-x86_64-with-glibc2.36 [debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2 [debug] Proxy map: {} [youtube] GU4sm9lrZPw: Downloading webpage [youtube] Downloading just video GU4sm9lrZPw because of --no-playlist 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/whine/whi_ne/2/home/pyenv/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/home/whine/whi_ne/2/home/pyenv/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/home/whine/whi_ne/2/home/pyenv/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/home/whine/whi_ne/2/home/pyenv/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/whine/whi_ne/2/home/pyenv/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.```
Author
Owner

@FallenWolf69 commented on GitHub (Feb 20, 2023):

I've suddenly been receiving a similar output despite being on the latest version of Youtube-dl:

PS Z:\ytdl> youtube-dl -x --audio-format mp3 https://www.youtube.com/watch?v=W4VTq0sa9yg
[youtube] W4VTq0sa9yg: 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.
PS Z:\ytdl> youtube-dl --version
2021.12.17
PS Z:\ytdl> youtube-dl -U
youtube-dl is up-to-date (2021.12.17)
PS Z:\ytdl>

@FallenWolf69 commented on GitHub (Feb 20, 2023): I've suddenly been receiving a similar output despite being on the latest version of Youtube-dl: `PS Z:\ytdl> youtube-dl -x --audio-format mp3 https://www.youtube.com/watch?v=W4VTq0sa9yg` `[youtube] W4VTq0sa9yg: 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.` `PS Z:\ytdl> youtube-dl --version` `2021.12.17` `PS Z:\ytdl> youtube-dl -U` `youtube-dl is up-to-date (2021.12.17)` `PS Z:\ytdl>`
Author
Owner

@ProgrammingLife commented on GitHub (Feb 21, 2023):

Already fixed in yt-dlp. yt-dlp/yt-dlp#6247 yt-dlp/yt-dlp@149eb0b

Thanks, works like a charm!

@ProgrammingLife commented on GitHub (Feb 21, 2023): > Already fixed in yt-dlp. [yt-dlp/yt-dlp#6247](https://github.com/yt-dlp/yt-dlp/issues/6247) [yt-dlp/yt-dlp@149eb0b](https://github.com/yt-dlp/yt-dlp/commit/149eb0bbf34fa8fdf8d1e2aa28e17479d099e26b) Thanks, works like a charm!
Author
Owner

@aabha3201 commented on GitHub (Feb 21, 2023):

Unable to extract uploader id

@aabha3201 commented on GitHub (Feb 21, 2023): Unable to extract uploader id
Author
Owner

@Pinho80 commented on GitHub (Feb 21, 2023):

I've following this error and how interested are the youtube-dl creators. My solution was to change my YT downloader app. You can browse for a Flatpak solution.

@Pinho80 commented on GitHub (Feb 21, 2023): I've following this error and how interested are the youtube-dl creators. My solution was to change my YT downloader app. You can browse for a Flatpak solution.
Author
Owner

@ReenigneArcher commented on GitHub (Feb 21, 2023):

A maintainer should probably lock this issue and limit it to contributors... nothing valuable is being added.

@ReenigneArcher commented on GitHub (Feb 21, 2023): A maintainer should probably lock this issue and limit it to contributors... nothing valuable is being added.
Author
Owner

@Vangelis66 commented on GitHub (Feb 21, 2023):

A maintainer should probably lock this issue and limit it to contributors

"The" (only one) current maintainer has his hands full with editing+closing the tens of duplicate issues people insist on submitting, showing complete disrespect to the procedure outlined in #30839 😡 (a PINNED issue no less in the tracker) ...
Locking this issue, the first/original one, will cause, no doubt, further duplicates' explosion...

nothing valuable is being added.

I (probably) agree, but that's because most "people" don't take some seconds/a minute to browse already posted info/solutions inside this thread and simply want to add a me, too comment, to "get it out of their chests" or similar... And, of course, everybody wants the easiest solution ASAP, that will restore their downloading "needs" in mere seconds (hence most decide to migrate to downstream, because tagged releases and sought-for binaries are already available - but certain older environments are not compatible with downstream) ...

@Vangelis66 commented on GitHub (Feb 21, 2023): > A maintainer should probably lock this issue and limit it to contributors "**The**" (only one) current maintainer has his hands full with editing+closing the **tens of duplicate issues** people insist on submitting, showing complete disrespect to the procedure outlined in #30839 😡 (a PINNED issue no less in the tracker) ... Locking this issue, the **first/original** one, will cause, no doubt, further duplicates' explosion... > nothing valuable is being added. I (probably) agree, but that's because most "people" don't take some seconds/a minute to browse already posted info/solutions inside this thread and simply want to add a `me, too` comment, to "get it out of their chests" or similar... And, of course, **everybody** wants the easiest solution ASAP, that will restore their downloading "needs" in **mere seconds** (hence most decide to migrate to `downstream`, because **tagged releases** and sought-for **binaries** are already available - but certain **older environments** are not compatible with `downstream`) ...
Author
Owner

@ReenigneArcher commented on GitHub (Feb 21, 2023):

Locking this issue, the first/original one, will cause, no doubt, further duplicates' explosion...

True, in that case I would then suggest disabling interactions from new GitHub users.
image

Won't stop all of this, but should help.

Pinning this specific issue would probably help reduce the duplicates (a little).

@ReenigneArcher commented on GitHub (Feb 21, 2023): > Locking this issue, the first/original one, will cause, no doubt, further duplicates' explosion... True, in that case I would then suggest disabling interactions from new GitHub users. ![image](https://user-images.githubusercontent.com/42013603/220474333-7548d786-beff-4539-af42-01ac521079b1.png) Won't stop all of this, but should help. Pinning this specific issue would probably help reduce the duplicates (a little).
Author
Owner

@Dec-35 commented on GitHub (Feb 21, 2023):

@dirkf

For those using the python Iibrary, You can install the master branch using:
pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl
I think it is simpler.

Indeed. What is the effect of #egg=youtube_dl?

See also https://adamj.eu/tech/2019/03/11/pip-install-from-a-git-repository/.

Okay, I might be dumb but I've run pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl (and python399 -m pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl btw since I have another python instance called python399) and that fixes nothing...

Python version 3.9.9 (CPython) - Windows-10-10.0.22621-SP0, release version
C:\Users\dec\Desktop\WhisperProject\whisperThings>youtube-dl https://youtube.com/watch?v=oQZcNGS7-pM
[youtube] oQZcNGS7-pM: 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.

C:\Users\dec\Desktop\WhisperProject\whisperThings>youtube-dl https://youtube.com/watch?v=oQZcNGS7-pM --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://youtube.com/watch?v=oQZcNGS7-pM', '--verbose']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.9.9 (CPython) - Windows-10-10.0.22621-SP0
[debug] exe versions: ffmpeg N-109725-g2d202985b7-20230130, ffprobe N-109725-g2d202985b7-20230130
[debug] Proxy map: {}
[youtube] oQZcNGS7-pM: 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 "C:\Users\dec\AppData\Local\Programs\Python\Python39\lib\site-packages\youtube_dl\YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "C:\Users\dec\AppData\Local\Programs\Python\Python39\lib\site-packages\youtube_dl\YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "C:\Users\dec\AppData\Local\Programs\Python\Python39\lib\site-packages\youtube_dl\extractor\common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "C:\Users\dec\AppData\Local\Programs\Python\Python39\lib\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 "C:\Users\dec\AppData\Local\Programs\Python\Python39\lib\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.
Am I missing something?
@Dec-35 commented on GitHub (Feb 21, 2023): @dirkf > > For those using the python Iibrary, You can install the master branch using: > > pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl > > I think it is simpler. > > Indeed. What is the effect of `#egg=youtube_dl`? > > See also https://adamj.eu/tech/2019/03/11/pip-install-from-a-git-repository/. Okay, I might be dumb but I've run `pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl` (and `python399 -m pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl` btw since I have another python instance called python399) and that fixes nothing... <details><summary>Python version 3.9.9 (CPython) - Windows-10-10.0.22621-SP0, release version</summary> ```console C:\Users\dec\Desktop\WhisperProject\whisperThings>youtube-dl https://youtube.com/watch?v=oQZcNGS7-pM [youtube] oQZcNGS7-pM: 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. C:\Users\dec\Desktop\WhisperProject\whisperThings>youtube-dl https://youtube.com/watch?v=oQZcNGS7-pM --verbose [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['https://youtube.com/watch?v=oQZcNGS7-pM', '--verbose'] [debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252 [debug] youtube-dl version 2021.12.17 [debug] Python version 3.9.9 (CPython) - Windows-10-10.0.22621-SP0 [debug] exe versions: ffmpeg N-109725-g2d202985b7-20230130, ffprobe N-109725-g2d202985b7-20230130 [debug] Proxy map: {} [youtube] oQZcNGS7-pM: 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 "C:\Users\dec\AppData\Local\Programs\Python\Python39\lib\site-packages\youtube_dl\YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "C:\Users\dec\AppData\Local\Programs\Python\Python39\lib\site-packages\youtube_dl\YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "C:\Users\dec\AppData\Local\Programs\Python\Python39\lib\site-packages\youtube_dl\extractor\common.py", line 534, in extract ie_result = self._real_extract(url) File "C:\Users\dec\AppData\Local\Programs\Python\Python39\lib\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 "C:\Users\dec\AppData\Local\Programs\Python\Python39\lib\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. ``` </details> Am I missing something?
Author
Owner

@zaphida commented on GitHub (Feb 21, 2023):

pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl
I successfully updated youtube-dl using the above command to 2021.12.17 but I still get the same error as you @Dec-35, I don't think you're dumb:

Python version 3.10.6 (CPython) - Linux-5.15.0-60-generic-x86_64-with-glibc2.35, release version
 kernel  ~  1  youtube-dl --verbose https://www.youtube.com/watch?v=CPY7VBYbDvw
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=CPY7VBYbDvw']
[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.15.0-60-generic-x86_64-with-glibc2.35
[debug] exe versions: ffmpeg 4.4.2, ffprobe 4.4.2, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] CPY7VBYbDvw: 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/kernel/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/home/kernel/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/home/kernel/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/home/kernel/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 "/home/kernel/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.
@zaphida commented on GitHub (Feb 21, 2023): `pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl` I successfully updated youtube-dl using the above command to 2021.12.17 but I still get the same error as you @Dec-35, I don't think you're dumb: <details><summary>Python version 3.10.6 (CPython) - Linux-5.15.0-60-generic-x86_64-with-glibc2.35, release version</summary> ```  kernel  ~  1  youtube-dl --verbose https://www.youtube.com/watch?v=CPY7VBYbDvw [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=CPY7VBYbDvw'] [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.15.0-60-generic-x86_64-with-glibc2.35 [debug] exe versions: ffmpeg 4.4.2, ffprobe 4.4.2, rtmpdump 2.4 [debug] Proxy map: {} [youtube] CPY7VBYbDvw: 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/kernel/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/home/kernel/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/home/kernel/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/home/kernel/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 "/home/kernel/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. ``` </details>
Author
Owner

@Vangelis66 commented on GitHub (Feb 21, 2023):

Am I missing something?

You're a Windows user, so the easiest solution for you is this one (a standalone x86 Windows binary).

If you insist on installing from git master (and having multiple Python environments might cause issues), then the git+https part implies you have installed git-for-windows and that git.exe has been added to your %PATH%...

You would then invoke yt-dl via your preferred python version like this:

python -m youtube_dl blahblahblah

@Vangelis66 commented on GitHub (Feb 21, 2023): > Am I missing something? You're a **Windows** user, so the easiest solution for you is [this](https://github.com/ytdl-patched/youtube-dl/releases/latest/download/youtube-dl.exe) one (a **standalone** x86 Windows binary). If you insist on installing from `git master` (and having **multiple Python environments** might cause issues), then the `git+https` part [implies](https://pip.pypa.io/en/stable/topics/vcs-support/#git) you have installed [git-for-windows](https://gitforwindows.org/) and that `git.exe` has been added to your `%PATH%`... You would then invoke `yt-dl` via your **preferred** python version like this: `python -m youtube_dl blahblahblah`
Author
Owner

@Dec-35 commented on GitHub (Feb 21, 2023):

After downloading the latest youtube-dl.exe, placing it in my Programs folder and adding it to the PATH, I still get the same error:

C:\Users\dec\Desktop\WhisperProject\whisperThings>youtube-dl https://youtube.com/watch?v=oQZcNGS7-pM
[youtube] oQZcNGS7-pM: 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.

Also: [debug] youtube-dl version 2021.12.17 (is this normal? Aren't I supposed to get a newer version since I'm running a daily build?)

@Dec-35 commented on GitHub (Feb 21, 2023): > After downloading the latest **youtube-dl.exe**, placing it in my Programs folder and adding it to the **PATH**, I still get the same error: ``` C:\Users\dec\Desktop\WhisperProject\whisperThings>youtube-dl https://youtube.com/watch?v=oQZcNGS7-pM [youtube] oQZcNGS7-pM: 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. ``` Also: `[debug] youtube-dl version 2021.12.17` (is this normal? Aren't I supposed to get a newer version since I'm running a daily build?)
Author
Owner

@dirkf commented on GitHub (Feb 21, 2023):

Agreed. Also, remove or rename the old single file youtube-dl.exe to ensure that it isn't running when you invoke youtube-dl. With the patched nightly build you would presumably overwrite the old one anyway

The nightly build has an updated version date and a disclaimer like this

[debug] youtube-dl version 2023.02.21.1919
** This build is unofficial daily builds, provided for ease of use.
** Please do not ask for any support.

while a pip version updated from the repo can be identified by an additional line like this

[debug] Git HEAD: 1d3751c3f

@zaphida, seems like you haven't updated the yt-dl instance that you intended. How was yt-dl installed on your system?

@dirkf commented on GitHub (Feb 21, 2023): [Agreed](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1439202420). Also, remove or rename the old single file `youtube-dl.exe` to ensure that it isn't running when you invoke `youtube-dl`. With the patched nightly build you would presumably overwrite the old one anyway The nightly build has an updated version date and a disclaimer like this ``` [debug] youtube-dl version 2023.02.21.1919 ** This build is unofficial daily builds, provided for ease of use. ** Please do not ask for any support. ``` while a _pip_ version updated from the repo can be identified by an additional line like this ``` [debug] Git HEAD: 1d3751c3f ``` @zaphida, seems like you haven't updated the yt-dl instance that you intended. How was yt-dl installed on your system?
Author
Owner

@Vangelis66 commented on GitHub (Feb 21, 2023):

After downloading the latest youtube-dl.exe

Where from?

@Vangelis66 commented on GitHub (Feb 21, 2023): > After downloading the latest youtube-dl.exe Where from?
Author
Owner

@Dec-35 commented on GitHub (Feb 21, 2023):

After downloading the latest youtube-dl.exe

Where from?

this link:

You're a Windows user, so the easiest solution for you is this one (a standalone x86 windows binary).

@Dec-35 commented on GitHub (Feb 21, 2023): > > After downloading the latest youtube-dl.exe > > Where from? this link: > You're a **Windows** user, so the easiest solution for you is [this](https://github.com/ytdl-patched/youtube-dl/releases/latest/download/youtube-dl.exe) one (a **standalone** x86 windows binary). >
Author
Owner

@Dec-35 commented on GitHub (Feb 21, 2023):

I think I know what's happening: I originally installed youtube-dl with pip and that must still be the default. I'll try to remove the pip version and thus force it to use the new executable that is in the PATH

@Dec-35 commented on GitHub (Feb 21, 2023): I think I know what's happening: I originally installed youtube-dl with pip and that must still be the default. I'll try to remove the pip version and thus force it to use the new executable that is in the PATH
Author
Owner

@Vangelis66 commented on GitHub (Feb 21, 2023):

this link:

That binary reports here:

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v']
[debug] Encodings: locale cp1253, fs mbcs, out cp737, pref cp1253
[debug] youtube-dl version 2023.02.21.1919
** This build is unofficial daily builds, provided for ease of use.
** Please do not ask for any support.
[debug] Python version 3.4.4 (CPython) - Windows-Vista-6.0.6003-SP2
[debug] exe versions: none
[debug] Proxy map: {}
Usage: youtube-dl [OPTIONS] URL [URL...]

youtube-dl: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.
@Vangelis66 commented on GitHub (Feb 21, 2023): > this link: That binary reports here: ```shell [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-v'] [debug] Encodings: locale cp1253, fs mbcs, out cp737, pref cp1253 [debug] youtube-dl version 2023.02.21.1919 ** This build is unofficial daily builds, provided for ease of use. ** Please do not ask for any support. [debug] Python version 3.4.4 (CPython) - Windows-Vista-6.0.6003-SP2 [debug] exe versions: none [debug] Proxy map: {} Usage: youtube-dl [OPTIONS] URL [URL...] youtube-dl: error: You must provide at least one URL. Type youtube-dl --help to see a list of all options. ```
Author
Owner

@zaphida commented on GitHub (Feb 21, 2023):

@zaphida, seems like you haven't updated the yt-dl instance that you intended. How was yt-dl installed on your system?

Using apt.
2021.12.17 is the version that pip grabbed from the git repository and built:
 kernel  ~  pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl Defaulting to user installation because normal site-packages is not writeable Collecting youtube_dl Cloning https://github.com/ytdl-org/youtube-dl.git (to revision master) to /tmp/pip-install-_otuq9fs/youtube-dl_8d519f6d33994564a562163328603a85 Running command git clone --filter=blob:none --quiet https://github.com/ytdl-org/youtube-dl.git /tmp/pip-install-_otuq9fs/youtube-dl_8d519f6d33994564a562163328603a85 Resolved https://github.com/ytdl-org/youtube-dl.git to commit 6067451e432fb65d487a8a67bb5cff52efb9ccf4 Preparing metadata (setup.py) ... done Building wheels for collected packages: youtube_dl Building wheel for youtube_dl (setup.py) ... done Created wheel for youtube_dl: filename=youtube_dl-2021.12.17-py2.py3-none-any.whl size=1918029 sha256=7a858a8eae1ad7623f9b1a5cde75e36eecaf8e0b6b948824c58b4e669c8e9fc4 Stored in directory: /tmp/pip-ephem-wheel-cache-59aqyrhf/wheels/b8/03/62/9c414b89a26da510b0a6d984b0ba74200d591e3d0abfa72aa8 Successfully built youtube_dl Installing collected packages: youtube_dl Successfully installed youtube_dl-2021.12.17

@zaphida commented on GitHub (Feb 21, 2023): > @zaphida, seems like you haven't updated the yt-dl instance that you intended. How was yt-dl installed on your system? Using apt. 2021.12.17 is the version that pip grabbed from the git repository and built: ` kernel  ~  pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl Defaulting to user installation because normal site-packages is not writeable Collecting youtube_dl Cloning https://github.com/ytdl-org/youtube-dl.git (to revision master) to /tmp/pip-install-_otuq9fs/youtube-dl_8d519f6d33994564a562163328603a85 Running command git clone --filter=blob:none --quiet https://github.com/ytdl-org/youtube-dl.git /tmp/pip-install-_otuq9fs/youtube-dl_8d519f6d33994564a562163328603a85 Resolved https://github.com/ytdl-org/youtube-dl.git to commit 6067451e432fb65d487a8a67bb5cff52efb9ccf4 Preparing metadata (setup.py) ... done Building wheels for collected packages: youtube_dl Building wheel for youtube_dl (setup.py) ... done Created wheel for youtube_dl: filename=youtube_dl-2021.12.17-py2.py3-none-any.whl size=1918029 sha256=7a858a8eae1ad7623f9b1a5cde75e36eecaf8e0b6b948824c58b4e669c8e9fc4 Stored in directory: /tmp/pip-ephem-wheel-cache-59aqyrhf/wheels/b8/03/62/9c414b89a26da510b0a6d984b0ba74200d591e3d0abfa72aa8 Successfully built youtube_dl Installing collected packages: youtube_dl Successfully installed youtube_dl-2021.12.17 `
Author
Owner

@Vangelis66 commented on GitHub (Feb 21, 2023):

The updated version can be identified by an additional line like this

[debug] Git HEAD: 1d3751c3f

... This isn't available in the standalone Windows executable (see above); if you were referring to a different way of a yt-dl installation, then please disregard 😉 ...

Edit: The comment I quoted from has been now edited to reflect it referenced a pip "type" of installation 😜 ...

@Vangelis66 commented on GitHub (Feb 21, 2023): > The updated version can be identified by an additional line like this > > `[debug] Git HEAD: 1d3751c3f` ... This isn't available in the **standalone Windows executable** (see above); if you were referring to a different way of a `yt-dl` installation, then please disregard 😉 ... **Edit**: The [comment](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1439213536) I quoted from has been now **edited** to reflect it referenced a `pip` "type" of installation 😜 ...
Author
Owner

@Dec-35 commented on GitHub (Feb 21, 2023):

Okay. Fixed. Recap:

I had previously installed youtube-dl with pip.
I then downloaded the daily executable, put it inside a folder which I coppied the path of and added it to the PATH
After running pip uninstall youtube-dl -y and a quick terminal restart, everything is back in order.

@Dec-35 commented on GitHub (Feb 21, 2023): Okay. Fixed. Recap: I had previously installed youtube-dl with **pip**. I then downloaded the daily executable, put it inside a folder which I coppied the path of and added it to the **PATH** After running `pip uninstall youtube-dl -y` and a quick terminal restart, everything is back in order.
Author
Owner

@dirkf commented on GitHub (Feb 21, 2023):

@zaphida, the pip update isn't the version that's running in your log (no Git HEAD). You probably need to run the pip command with sudo to modify the version installed by apt; also use python3.10 -m pip in case pip is linked to some other Python.

And of course xkcd.

@dirkf commented on GitHub (Feb 21, 2023): @zaphida, the _pip_ update isn't the version that's running in your log (no [`Git HEAD`](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1439213536)). You probably need to run the _pip_ command with `sudo` to modify the version installed by _apt_; also use `python3.10 -m pip` in case _pip_ is linked to some other Python. And of course [xkcd](https://xkcd.com/1987/).
Author
Owner

@bluevalien commented on GitHub (Feb 21, 2023):

if it helps, I installed installed various versions of youtube-dl to find out where it "broke"
youtube-dl-2021.1.24.1 works and youtube-dl-2021.2.4 gives the error Unable to extract uploader id. * edit was here

(venv) PS C:\Users\Oliver\Desktop\image_test> pip freeze  
numpy==1.24.2
opencv-python==4.7.0.68
pafy==0.5.5
youtube-dl==2021.2.4

all tests were run in python using some basic code in a venv

import cv2
import pafy
video = pafy.new('https://www.youtube.com/watch?v=CNxO7VN-xos')
best = video.getbest(preftype="mp4")
cap = cv2.VideoCapture(best.url)
while(cap.isOpened()):
    ret, frame = cap.read()
    if ret:
        cv2.imshow('frame', frame)
        if cv2.waitKey(1) & 0xFF == ord('q'):
            exit()
    else:
        break
cap.release()
cv2.destroyAllWindows()

I'm using python -m pip install youtube-dl==2021.1.24.1 as a work-around for now.

@bluevalien commented on GitHub (Feb 21, 2023): if it helps, I installed installed various versions of `youtube-dl` to find out where it "broke" `youtube-dl-2021.1.24.1` works and `youtube-dl-2021.2.4` gives the error `Unable to extract uploader id`. * edit was here ``` (venv) PS C:\Users\Oliver\Desktop\image_test> pip freeze numpy==1.24.2 opencv-python==4.7.0.68 pafy==0.5.5 youtube-dl==2021.2.4 ``` all tests were run in python using some basic code in a venv ``` import cv2 import pafy video = pafy.new('https://www.youtube.com/watch?v=CNxO7VN-xos') best = video.getbest(preftype="mp4") cap = cv2.VideoCapture(best.url) while(cap.isOpened()): ret, frame = cap.read() if ret: cv2.imshow('frame', frame) if cv2.waitKey(1) & 0xFF == ord('q'): exit() else: break cap.release() cv2.destroyAllWindows() ``` I'm using `python -m pip install youtube-dl==2021.1.24.1` as a work-around for now.
Author
Owner

@zaphida commented on GitHub (Feb 21, 2023):

@dirkf thanks, I removed the version installed by apt and reinstalled with python3.10 -m pip install youtube-dl
Running pip install with sudo gives a scary looking warning:
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
I'd rather not tread into that territory.

I still see no Git HEAD in the log, and I still get the unable to extract uploader id warning, but the video gets downloaded.

 kernel  ~  1  youtube-dl --verbose https://www.youtube.com/watch?v=CPY7VBYbDvw
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=CPY7VBYbDvw']
[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.15.0-60-generic-x86_64-with-glibc2.35
[debug] exe versions: ffmpeg 4.4.2, ffprobe 4.4.2, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] CPY7VBYbDvw: Downloading webpage
[debug] [youtube] Decrypted nsig MaaeVatB_iGvcewd => hlOkb5wMix3uQA
[debug] [youtube] Decrypted nsig zKH-pM_5smCGp0u_ => DS7ctJXPmGldaA
WARNING: 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.
[debug] Default format spec: bestvideo+bestaudio/best
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[debug] Invoking downloader on 'https://rr2---sn-u2bpouxgoxu-hxay.googlevideo.com/videoplayback?expire=1677056295&ei=x4T1Y4TVEfHRjuMPkaOYkAU&ip=194.223.40.36&id=o-AG1emD7l-ZRQXZTsiZSKA0ZTKdpLc7bv1LuIDYTeFdhu&itag=135&aitags=133%2C134%2C135%2C160%2C242%2C243%2C244%2C278&source=youtube&requiressl=yes&mh=ab&mm=31%2C29&mn=sn-u2bpouxgoxu-hxay%2Csn-hxa7zn7z&ms=au%2Crdu&mv=m&mvi=2&pl=21&initcwndbps=1710000&vprv=1&mime=video%2Fmp4&ns=Z76e2lqeeBOFonvhDtdTzTAL&gir=yes&clen=19850442&dur=1018.217&lmt=1446946687475273&mt=1677034412&fvip=2&keepalive=yes&fexp=24007246&beids=24472449&c=WEB&n=hlOkb5wMix3uQA&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgDMAYEefiTn3hA6cOYVvUqmfaPfEqv7EU9KzKy5TL_y0CIQCPyVMAYSVQiNPKwmGXHaE2c5AkYbeQCzL4BKvstsvFHA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgdWgPiB93grHG6kDe1VAWLiEPz1R5t3H46Ql9g_xbMr4CIBIoQ1S3xN2WDr9n57csAVZwzVk6mcUnXgfQvzorB3IM'
[download] Destination: Doom II OST (SC55) - Intermission Music (Extended)-CPY7VBYbDvw.f135.mp4
[download] 100% of 18.93MiB in 00:05
[debug] Invoking downloader on 'https://rr2---sn-u2bpouxgoxu-hxay.googlevideo.com/videoplayback?expire=1677056295&ei=x4T1Y4TVEfHRjuMPkaOYkAU&ip=194.223.40.36&id=o-AG1emD7l-ZRQXZTsiZSKA0ZTKdpLc7bv1LuIDYTeFdhu&itag=251&source=youtube&requiressl=yes&mh=ab&mm=31%2C29&mn=sn-u2bpouxgoxu-hxay%2Csn-hxa7zn7z&ms=au%2Crdu&mv=m&mvi=2&pl=21&initcwndbps=1710000&vprv=1&mime=audio%2Fwebm&ns=Z76e2lqeeBOFonvhDtdTzTAL&gir=yes&clen=16190889&dur=1018.221&lmt=1446947467216128&mt=1677034412&fvip=2&keepalive=yes&fexp=24007246&beids=24472449&c=WEB&n=hlOkb5wMix3uQA&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgTLVdTFroAWj46UjND2KjKq_H9ECYikBCdKpRORryIzICIQDmkDVEe5REixyg99IwL7xdUdDb9QCCENS039FqGqEhqA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgdWgPiB93grHG6kDe1VAWLiEPz1R5t3H46Ql9g_xbMr4CIBIoQ1S3xN2WDr9n57csAVZwzVk6mcUnXgfQvzorB3IM'
[download] Destination: Doom II OST (SC55) - Intermission Music (Extended)-CPY7VBYbDvw.f251.webm
[download] 100% of 15.44MiB in 00:02
[ffmpeg] Merging formats into "Doom II OST (SC55) - Intermission Music (Extended)-CPY7VBYbDvw.mkv"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:Doom II OST (SC55) - Intermission Music (Extended)-CPY7VBYbDvw.f135.mp4' -i 'file:Doom II OST (SC55) - Intermission Music (Extended)-CPY7VBYbDvw.f251.webm' -c copy -map 0:v:0 -map 1:a:0 'file:Doom II OST (SC55) - Intermission Music (Extended)-CPY7VBYbDvw.temp.mkv'
Deleting original file Doom II OST (SC55) - Intermission Music (Extended)-CPY7VBYbDvw.f135.mp4 (pass -k to keep)
Deleting original file Doom II OST (SC55) - Intermission Music (Extended)-CPY7VBYbDvw.f251.webm (pass -k to keep)

@zaphida commented on GitHub (Feb 21, 2023): @dirkf thanks, I removed the version installed by apt and reinstalled with python3.10 -m pip install youtube-dl Running pip install with sudo gives a scary looking warning: `WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv` I'd rather not tread into that territory. I still see no Git HEAD in the log, and I still get the unable to extract uploader id warning, but the video gets downloaded. ```  kernel  ~  1  youtube-dl --verbose https://www.youtube.com/watch?v=CPY7VBYbDvw [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=CPY7VBYbDvw'] [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.15.0-60-generic-x86_64-with-glibc2.35 [debug] exe versions: ffmpeg 4.4.2, ffprobe 4.4.2, rtmpdump 2.4 [debug] Proxy map: {} [youtube] CPY7VBYbDvw: Downloading webpage [debug] [youtube] Decrypted nsig MaaeVatB_iGvcewd => hlOkb5wMix3uQA [debug] [youtube] Decrypted nsig zKH-pM_5smCGp0u_ => DS7ctJXPmGldaA WARNING: 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. [debug] Default format spec: bestvideo+bestaudio/best WARNING: Requested formats are incompatible for merge and will be merged into mkv. [debug] Invoking downloader on 'https://rr2---sn-u2bpouxgoxu-hxay.googlevideo.com/videoplayback?expire=1677056295&ei=x4T1Y4TVEfHRjuMPkaOYkAU&ip=194.223.40.36&id=o-AG1emD7l-ZRQXZTsiZSKA0ZTKdpLc7bv1LuIDYTeFdhu&itag=135&aitags=133%2C134%2C135%2C160%2C242%2C243%2C244%2C278&source=youtube&requiressl=yes&mh=ab&mm=31%2C29&mn=sn-u2bpouxgoxu-hxay%2Csn-hxa7zn7z&ms=au%2Crdu&mv=m&mvi=2&pl=21&initcwndbps=1710000&vprv=1&mime=video%2Fmp4&ns=Z76e2lqeeBOFonvhDtdTzTAL&gir=yes&clen=19850442&dur=1018.217&lmt=1446946687475273&mt=1677034412&fvip=2&keepalive=yes&fexp=24007246&beids=24472449&c=WEB&n=hlOkb5wMix3uQA&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgDMAYEefiTn3hA6cOYVvUqmfaPfEqv7EU9KzKy5TL_y0CIQCPyVMAYSVQiNPKwmGXHaE2c5AkYbeQCzL4BKvstsvFHA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgdWgPiB93grHG6kDe1VAWLiEPz1R5t3H46Ql9g_xbMr4CIBIoQ1S3xN2WDr9n57csAVZwzVk6mcUnXgfQvzorB3IM' [download] Destination: Doom II OST (SC55) - Intermission Music (Extended)-CPY7VBYbDvw.f135.mp4 [download] 100% of 18.93MiB in 00:05 [debug] Invoking downloader on 'https://rr2---sn-u2bpouxgoxu-hxay.googlevideo.com/videoplayback?expire=1677056295&ei=x4T1Y4TVEfHRjuMPkaOYkAU&ip=194.223.40.36&id=o-AG1emD7l-ZRQXZTsiZSKA0ZTKdpLc7bv1LuIDYTeFdhu&itag=251&source=youtube&requiressl=yes&mh=ab&mm=31%2C29&mn=sn-u2bpouxgoxu-hxay%2Csn-hxa7zn7z&ms=au%2Crdu&mv=m&mvi=2&pl=21&initcwndbps=1710000&vprv=1&mime=audio%2Fwebm&ns=Z76e2lqeeBOFonvhDtdTzTAL&gir=yes&clen=16190889&dur=1018.221&lmt=1446947467216128&mt=1677034412&fvip=2&keepalive=yes&fexp=24007246&beids=24472449&c=WEB&n=hlOkb5wMix3uQA&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgTLVdTFroAWj46UjND2KjKq_H9ECYikBCdKpRORryIzICIQDmkDVEe5REixyg99IwL7xdUdDb9QCCENS039FqGqEhqA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgdWgPiB93grHG6kDe1VAWLiEPz1R5t3H46Ql9g_xbMr4CIBIoQ1S3xN2WDr9n57csAVZwzVk6mcUnXgfQvzorB3IM' [download] Destination: Doom II OST (SC55) - Intermission Music (Extended)-CPY7VBYbDvw.f251.webm [download] 100% of 15.44MiB in 00:02 [ffmpeg] Merging formats into "Doom II OST (SC55) - Intermission Music (Extended)-CPY7VBYbDvw.mkv" [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:Doom II OST (SC55) - Intermission Music (Extended)-CPY7VBYbDvw.f135.mp4' -i 'file:Doom II OST (SC55) - Intermission Music (Extended)-CPY7VBYbDvw.f251.webm' -c copy -map 0:v:0 -map 1:a:0 'file:Doom II OST (SC55) - Intermission Music (Extended)-CPY7VBYbDvw.temp.mkv' Deleting original file Doom II OST (SC55) - Intermission Music (Extended)-CPY7VBYbDvw.f135.mp4 (pass -k to keep) Deleting original file Doom II OST (SC55) - Intermission Music (Extended)-CPY7VBYbDvw.f251.webm (pass -k to keep) ```
Author
Owner

@dirkf commented on GitHub (Feb 22, 2023):

@zaphida, clearly that worked, then.

@dirkf commented on GitHub (Feb 22, 2023): @zaphida, clearly that worked, then.
Author
Owner

@dirkf commented on GitHub (Feb 22, 2023):

I'm using python -m pip install youtube-dl==2021.1.24.1 as a work-around for now.

Why not follow one of the solutions presented here instead of installing an old version that will fail differently?

@dirkf commented on GitHub (Feb 22, 2023): >I'm using python -m pip install youtube-dl==2021.1.24.1 as a work-around for now. Why not follow one of the solutions presented here instead of installing an old version that will fail differently?
Author
Owner

@Anduin2017 commented on GitHub (Feb 22, 2023):

Since we have a solution, please release a new production version with fix so we just download the latest production version and can use it well.

@Anduin2017 commented on GitHub (Feb 22, 2023): Since we have a solution, please release a new production version with fix so we just download the latest production version and can use it well.
Author
Owner

@thlor commented on GitHub (Feb 22, 2023):

Since we have a solution, please release a new production version with fix so we just download the latest production version and can use it well.

Could be a hotfix of the latest (2021.12.17) release, so nothing would get released which has been implemented since but is not ready for release yet. Making the -U flag work would help a lot of people and put an end of the duplicate issue reports.

@thlor commented on GitHub (Feb 22, 2023): > Since we have a solution, please release a new production version with fix so we just download the latest production version and can use it well. Could be a hotfix of the latest (2021.12.17) release, so nothing would get released which has been implemented since but is not ready for release yet. Making the -U flag work would help a lot of people and put an end of the duplicate issue reports.
Author
Owner

@infinitejesp commented on GitHub (Feb 22, 2023):

I'm too basic of a user to implement any of the workarounds illustrated above really. Will eagerly await a new release.

@infinitejesp commented on GitHub (Feb 22, 2023): I'm too basic of a user to implement any of the workarounds illustrated above really. Will eagerly await a new release.
Author
Owner

@ghost commented on GitHub (Feb 22, 2023):

youtube-dl 'https://www.youtube.com/watch?v=wx8nmd0oiGY' --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.youtube.com/watch?v=wx8nmd0oiGY', '--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.12.0a3+ (CPython) - Linux-6.0.0-kali6-amd64-x86_64-with-glibc2.36
[debug] exe versions: ffmpeg 5.1.2-2, ffprobe 5.1.2-2, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] wx8nmd0oiGY: 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 "/usr/local/lib/python3.12/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
                ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/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 "/usr/local/lib/python3.12/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.
@ghost commented on GitHub (Feb 22, 2023): ``` youtube-dl 'https://www.youtube.com/watch?v=wx8nmd0oiGY' --verbose [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['https://www.youtube.com/watch?v=wx8nmd0oiGY', '--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.12.0a3+ (CPython) - Linux-6.0.0-kali6-amd64-x86_64-with-glibc2.36 [debug] exe versions: ffmpeg 5.1.2-2, ffprobe 5.1.2-2, rtmpdump 2.4 [debug] Proxy map: {} [youtube] wx8nmd0oiGY: 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 "/usr/local/lib/python3.12/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) ^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/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 "/usr/local/lib/python3.12/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. ```
Author
Owner

@s3n0 commented on GitHub (Feb 22, 2023):

Hi.

Has the latest build (exe-binary) with a fix for Windows systems not yet been compiled and released ?

I downloaded the latest youtube-dl.exe (2021.12.17.0) but the problem persists.
URL download source: https://yt-dl.org/downloads/2021.12.17/youtube-dl.exe

Exactly as @dmelladoc last wrote: https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1433230848

Youtube URL to download: https://www.youtube.com/watch?v=yw_ShLNyHTk
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--output', 'Y:\\%(title)s.%(ext)s', '-f', 'bestaudio/best', '--audio-quality', '0', '--cookies', 'youtube_age_cookies.txt', '--embed-thumbnail', '--extract-audio', '--audio-format', 'mp3', 'https://www.youtube.com/watch?v=yw_ShLNyHTk']
[debug] Encodings: locale cp1250, fs mbcs, out cp852, pref cp1250
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg n4.3.2-161-g4383b9e8a3, ffprobe n4.3.2-161-g4383b9e8a3
[debug] Proxy map: {}
[youtube] yw_ShLNyHTk: 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.
@s3n0 commented on GitHub (Feb 22, 2023): Hi. Has the latest build (exe-binary) with a fix for Windows systems not yet been compiled and released ? I downloaded the latest youtube-dl.exe (2021.12.17.0) but the problem persists. URL download source: https://yt-dl.org/downloads/2021.12.17/youtube-dl.exe Exactly as @dmelladoc last wrote: https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1433230848 ``` Youtube URL to download: https://www.youtube.com/watch?v=yw_ShLNyHTk [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', '--output', 'Y:\\%(title)s.%(ext)s', '-f', 'bestaudio/best', '--audio-quality', '0', '--cookies', 'youtube_age_cookies.txt', '--embed-thumbnail', '--extract-audio', '--audio-format', 'mp3', 'https://www.youtube.com/watch?v=yw_ShLNyHTk'] [debug] Encodings: locale cp1250, fs mbcs, out cp852, pref cp1250 [debug] youtube-dl version 2021.12.17 [debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041 [debug] exe versions: ffmpeg n4.3.2-161-g4383b9e8a3, ffprobe n4.3.2-161-g4383b9e8a3 [debug] Proxy map: {} [youtube] yw_ShLNyHTk: 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. ```
Author
Owner

@tranzmatt commented on GitHub (Feb 22, 2023):

This crashed it for me:

owner_profile_url: http://www.youtube.com/@DarbySpiegel1027

@tranzmatt commented on GitHub (Feb 22, 2023): This crashed it for me: owner_profile_url: http://www.youtube.com/@DarbySpiegel1027
Author
Owner

@dirkf commented on GitHub (Feb 22, 2023):

This crashed it for me:
owner_profile_url: http://www.youtube.com/@DarbySpiegel1027

Current test version (private) on a video from that channel:

$ python3.9 -m youtube_dl -v --get-filename -o '%(uploader_id)s' 'EBLvMHBBqAc'
[debug] System config: ['--prefer-ffmpeg']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--get-filename', '-o', '%(uploader_id)s', 'EBLvMHBBqAc']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Git HEAD: 1d3751c3f
[debug] Python version 3.9.16 (CPython) - Linux-4.4.0-210-generic-i686-with-glibc2.23
[debug] exe versions: avconv 4.3, avprobe 4.3, ffmpeg 4.3, ffprobe 4.3
[debug] Proxy map: {}
[debug] Default format spec: bestvideo+bestaudio/best
@DarbySpiegel1027
$
@dirkf commented on GitHub (Feb 22, 2023): >This crashed it for me: owner_profile_url: http://www.youtube.com/@DarbySpiegel1027 Current test version (private) on a video from that channel: ```console $ python3.9 -m youtube_dl -v --get-filename -o '%(uploader_id)s' 'EBLvMHBBqAc' [debug] System config: ['--prefer-ffmpeg'] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-v', '--get-filename', '-o', '%(uploader_id)s', 'EBLvMHBBqAc'] [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 [debug] youtube-dl version 2021.12.17 [debug] Git HEAD: 1d3751c3f [debug] Python version 3.9.16 (CPython) - Linux-4.4.0-210-generic-i686-with-glibc2.23 [debug] exe versions: avconv 4.3, avprobe 4.3, ffmpeg 4.3, ffprobe 4.3 [debug] Proxy map: {} [debug] Default format spec: bestvideo+bestaudio/best @DarbySpiegel1027 $ ```
Author
Owner

@szekster commented on GitHub (Feb 22, 2023):

Latest youtube-dl downloaded, but after the update I am still getting the error:

[youtube] eFwcBVGLQM0: Downloading webpage
ERROR: Unable to extract uploader id;

still reporting same version, not sure if this was changed in the patch.
youtube-dl --version
2021.12.17

Running on Oracle Linux 8. Originally installed youtube-dl with commands:
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl

actually just checked and https://yt-dl.org/downloads/latest/youtube-dl still appears to be the old version. guess I can try with pip.

@szekster commented on GitHub (Feb 22, 2023): Latest youtube-dl downloaded, but after the update I am still getting the error: [youtube] eFwcBVGLQM0: Downloading webpage ERROR: Unable to extract uploader id; still reporting same version, not sure if this was changed in the patch. youtube-dl --version 2021.12.17 Running on Oracle Linux 8. Originally installed youtube-dl with commands: sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl sudo chmod a+rx /usr/local/bin/youtube-dl actually just checked and https://yt-dl.org/downloads/latest/youtube-dl still appears to be the old version. guess I can try with pip.
Author
Owner

@Takage commented on GitHub (Feb 22, 2023):

Okay. Fixed. Recap:

I had previously installed youtube-dl with pip. I then downloaded the daily executable, put it inside a folder which I coppied the path of and added it to the PATH After running pip uninstall youtube-dl -y and a quick terminal restart, everything is back in order.

I am on a Mac. The fix did not work for me still the same error: ERROR: Unable to extract uploader id;

@Takage commented on GitHub (Feb 22, 2023): > Okay. Fixed. Recap: > > I had previously installed youtube-dl with **pip**. I then downloaded the daily executable, put it inside a folder which I coppied the path of and added it to the **PATH** After running `pip uninstall youtube-dl -y` and a quick terminal restart, everything is back in order. I am on a Mac. The fix did not work for me still the same error: ERROR: Unable to extract uploader id;
Author
Owner

@dirkf commented on GitHub (Feb 22, 2023):

If you see ERROR: Unable to extract uploader id;, you are still running the release version or a development version that doesn't include the fix. Please check exactly how your yt-dl was installed and update accordingly. It may be easiest just to uninstall it and install the appropriate single file nightly build instead. Updating with -U won't work until there is a new release.

@dirkf commented on GitHub (Feb 22, 2023): If you see `ERROR: Unable to extract uploader id;`, you are still running the release version or a development version that doesn't include the fix. Please check exactly how your yt-dl was installed and update accordingly. It may be easiest just to uninstall it and install the appropriate single file nightly build instead. Updating with `-U` won't work until there is a new release.
Author
Owner

@ci-bo commented on GitHub (Feb 22, 2023):

It would be easiest if the -U flag worked instead of failing and recommending the user submit a bug report.

@ci-bo commented on GitHub (Feb 22, 2023): It would be easiest if the -U flag worked instead of failing and recommending the user submit a bug report.
Author
Owner

@s3n0 commented on GitHub (Feb 23, 2023):

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.

@s3n0 commented on GitHub (Feb 23, 2023): > 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](https://yt-dl.org/downloads/2021.12.17/youtube-dl.exe) ([sig](https://yt-dl.org/downloads/2021.12.17/youtube-dl.exe.sig) - SHA256 26e5c00c35c5c3edc86dfc0a720aed109a13b1b7c67ac654a0ce8ff82a1f2c16) ... which is not fixed, also always shows the same error.
Author
Owner

@mysiar commented on GitHub (Feb 23, 2023):

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.
@mysiar commented on GitHub (Feb 23, 2023): 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. ```
Author
Owner

@gittieandpete commented on GitHub (Feb 23, 2023):

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.

@gittieandpete commented on GitHub (Feb 23, 2023): 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.
Author
Owner

@ci-bo commented on GitHub (Feb 23, 2023):

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.

@ci-bo commented on GitHub (Feb 23, 2023): > 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.
Author
Owner

@udippel commented on GitHub (Feb 23, 2023):

[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.

@udippel commented on GitHub (Feb 23, 2023): > [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.
Author
Owner

@qixxttxl commented on GitHub (Feb 23, 2023):

[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.
@qixxttxl commented on GitHub (Feb 23, 2023): ``` [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. ```
Author
Owner

@gittieandpete commented on GitHub (Feb 23, 2023):

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.

@gittieandpete commented on GitHub (Feb 23, 2023): > > 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.
Author
Owner

@gittieandpete commented on GitHub (Feb 23, 2023):

[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.

@gittieandpete commented on GitHub (Feb 23, 2023): > > [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.
Author
Owner

@ci-bo commented on GitHub (Feb 23, 2023):

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)"

@ci-bo commented on GitHub (Feb 23, 2023): 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)"
Author
Owner

@tutacat commented on GitHub (Feb 23, 2023):

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.

@tutacat commented on GitHub (Feb 23, 2023): 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.
Author
Owner

@udippel commented on GitHub (Feb 23, 2023):

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:
@.***>

@udippel commented on GitHub (Feb 23, 2023): 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: > ***@***.***> >
Author
Owner

@zaphida commented on GitHub (Feb 23, 2023):

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:
@.***>

@zaphida commented on GitHub (Feb 23, 2023): 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: > ***@***.***> >
Author
Owner

@udippel commented on GitHub (Feb 23, 2023):

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:
@.***>

@udippel commented on GitHub (Feb 23, 2023): 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: > ***@***.***> >
Author
Owner

@tutacat commented on GitHub (Feb 23, 2023):

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.

@tutacat commented on GitHub (Feb 23, 2023): > 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.
Author
Owner

@RandomLive commented on GitHub (Feb 23, 2023):

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

@RandomLive commented on GitHub (Feb 23, 2023): 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
Author
Owner

@zaphida commented on GitHub (Feb 23, 2023):

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

@zaphida commented on GitHub (Feb 23, 2023): > 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
Author
Owner

@zaphida commented on GitHub (Feb 23, 2023):

@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.

@zaphida commented on GitHub (Feb 23, 2023): @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.
Author
Owner

@RandomLive commented on GitHub (Feb 23, 2023):

Got pip sorted, got git+ sorted, done all the things and it still ain't working.

@RandomLive commented on GitHub (Feb 23, 2023): Got pip sorted, got git+ sorted, done all the things and it still ain't working.
Author
Owner

@zaphida commented on GitHub (Feb 23, 2023):

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:
@.***>

@zaphida commented on GitHub (Feb 23, 2023): 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: > ***@***.***> >
Author
Owner

@RandomLive commented on GitHub (Feb 23, 2023):

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.

@RandomLive commented on GitHub (Feb 23, 2023): 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.
Author
Owner

@dirkf commented on GitHub (Feb 23, 2023):

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)"

As much as anyone knows.

@dirkf commented on GitHub (Feb 23, 2023): > 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)" [As much as anyone knows](https://github.com/ytdl-org/youtube-dl/issues/31530#issue-1587746229).
Author
Owner

@RandomLive commented on GitHub (Feb 23, 2023):

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)

@RandomLive commented on GitHub (Feb 23, 2023): 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)
Author
Owner

@dirkf commented on GitHub (Feb 23, 2023):

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).

@dirkf commented on GitHub (Feb 23, 2023): > 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](https://github.com/ytdl-org/youtube-dl/issues/31530#issue-1587746229)).
Author
Owner

@Tectract commented on GitHub (Feb 23, 2023):

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....

@Tectract commented on GitHub (Feb 23, 2023): 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](https://github.com/yt-dlp/yt-dlp/commit/149eb0bbf34fa8fdf8d1e2aa28e17479d099e26b). 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....
Author
Owner

@zaphida commented on GitHub (Feb 23, 2023):

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:
@.***>

@zaphida commented on GitHub (Feb 23, 2023): 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: > ***@***.***> >
Author
Owner

@Tectract commented on GitHub (Feb 23, 2023):

I tried yt-dlp but it required python3.7 or higher so it was easier to do this hotfix for me.

@Tectract commented on GitHub (Feb 23, 2023): I tried yt-dlp but it required python3.7 or higher so it was easier to do this hotfix for me.
Author
Owner

@dirkf commented on GitHub (Feb 23, 2023):

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.

@dirkf commented on GitHub (Feb 23, 2023): > 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.
Author
Owner

@s1sw4nto commented on GitHub (Feb 23, 2023):

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 ?

@s1sw4nto commented on GitHub (Feb 23, 2023): 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 ?
Author
Owner

@ToddAndMargo commented on GitHub (Feb 23, 2023):

It is back!

youtube-dl --update

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.

@ToddAndMargo commented on GitHub (Feb 23, 2023): It is back! # youtube-dl --update 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.
Author
Owner

@dirkf commented on GitHub (Feb 23, 2023):

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.

@dirkf commented on GitHub (Feb 23, 2023): 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.
Author
Owner

@ToddAndMargo commented on GitHub (Feb 24, 2023):

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?

@ToddAndMargo commented on GitHub (Feb 24, 2023): 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?
Author
Owner

@PeterGyger commented on GitHub (Feb 24, 2023):

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?

@PeterGyger commented on GitHub (Feb 24, 2023): 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?
Author
Owner

@dirkf commented on GitHub (Feb 24, 2023):

The final fix for the problem in the issue has been merged, but I'll leave this open for now in case it helps to attract uncertain reporters.

@ToddAndMargo, @PeterGyger, @jcubic, @stefanb, @RnRJohnny: read the thread.
@RandomLive: update yt-dlp whenever you need, but discuss it there.

@dirkf commented on GitHub (Feb 24, 2023): The [final fix](https://github.com/ytdl-org/youtube-dl/pull/31675) for the problem in the issue has been merged, but I'll leave this open for now in case it helps to attract uncertain reporters. @ToddAndMargo, @PeterGyger, @jcubic, @stefanb, @RnRJohnny: read the [thread](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435477247). @RandomLive: update yt-dlp whenever you need, but discuss it there.
Author
Owner

@RandomLive commented on GitHub (Feb 24, 2023):

Update: got yt-dlp working - I'm assuming I just run the -U command once a day to keep it in check?

@RandomLive commented on GitHub (Feb 24, 2023): Update: got yt-dlp working - I'm assuming I just run the -U command once a day to keep it in check?
Author
Owner

@jcubic commented on GitHub (Feb 24, 2023):

@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)
@jcubic commented on GitHub (Feb 24, 2023): @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) ```
Author
Owner

@dirkf commented on GitHub (Feb 24, 2023):

...do I need to clone the repo and build the project.

No.

@dirkf commented on GitHub (Feb 24, 2023): > ...do I need to clone the repo and build the project. [No.](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611)
Author
Owner

@stefanb commented on GitHub (Feb 24, 2023):

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

@stefanb commented on GitHub (Feb 24, 2023): 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
Author
Owner

@PeterGyger commented on GitHub (Feb 24, 2023):

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...

@PeterGyger commented on GitHub (Feb 24, 2023): 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...
Author
Owner

@jcubic commented on GitHub (Feb 24, 2023):

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?

@jcubic commented on GitHub (Feb 24, 2023): 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?
Author
Owner

@StandardV commented on GitHub (Feb 25, 2023):

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.

@StandardV commented on GitHub (Feb 25, 2023): 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.
Author
Owner

@udippel commented on GitHub (Feb 25, 2023):

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:
@.***>

@udippel commented on GitHub (Feb 25, 2023): 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: > ***@***.***> >
Author
Owner

@StandardV commented on GitHub (Feb 25, 2023):

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 :(

@StandardV commented on GitHub (Feb 25, 2023): 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 :(
Author
Owner

@LVMH-Daeriss commented on GitHub (Feb 25, 2023):

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 :)

@LVMH-Daeriss commented on GitHub (Feb 25, 2023): > [Line 2125](https://github.com/ytdl-org/youtube-dl/blob/dd9aa74beefc179f943051c4e19eecad87ab1124/youtube_dl/extractor/youtube.py#L2125) in [youtube.py](https://github.com/ytdl-org/youtube-dl/blob/master/youtube_dl/extractor/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 :)
Author
Owner

@RnRJohnny commented on GitHub (Feb 25, 2023):

I need a Windows build, unfortunately.

@RnRJohnny commented on GitHub (Feb 25, 2023): I need a Windows build, unfortunately.
Author
Owner

@KylePavone commented on GitHub (Feb 25, 2023):

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

@KylePavone commented on GitHub (Feb 25, 2023): > [Line 2125](https://github.com/ytdl-org/youtube-dl/blob/dd9aa74beefc179f943051c4e19eecad87ab1124/youtube_dl/extractor/youtube.py#L2125) in [youtube.py](https://github.com/ytdl-org/youtube-dl/blob/master/youtube_dl/extractor/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
Author
Owner

@jduckett commented on GitHub (Feb 25, 2023):

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.

@jduckett commented on GitHub (Feb 25, 2023): 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.
Author
Owner

@timelot commented on GitHub (Feb 26, 2023):

Thank you, found it in line 1794

@timelot commented on GitHub (Feb 26, 2023): Thank you, found it in line 1794
Author
Owner

@udippel commented on GitHub (Feb 26, 2023):

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

@udippel commented on GitHub (Feb 26, 2023): > 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
Author
Owner

@kmonar commented on GitHub (Feb 26, 2023):

'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.

@kmonar commented on GitHub (Feb 26, 2023): > '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.
Author
Owner

@dirkf commented on GitHub (Feb 26, 2023):

@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.

@dirkf commented on GitHub (Feb 26, 2023): @jduckett, [the error log is well known](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1441040428). 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.
Author
Owner

@udippel commented on GitHub (Feb 26, 2023):

I followed all of the instructions to update via pip and github. still not working

Don't know what you did. Though had the same here, also on Linux. Problem here: I installed as user, that is under HOME.
$ youtube-dl ... brought the error, again.
Then, explicitly, I did

$ .local/bin/youtube-dl

from then on it worked.

Tried again, pip uninstall . And after install

$ which youtube-dl 

would point to /usr/bin
After

$ .local/bin/youtube-dl

everything was okay, and

$ which youtube-dl 

would point to the version installed through pip

@udippel commented on GitHub (Feb 26, 2023): > I followed all of the instructions to update via pip and github. still not working Don't know what you did. Though had the same here, also on Linux. Problem here: I installed as user, that is under HOME. `$ youtube-dl ...` brought the error, again. Then, explicitly, I did ``` $ .local/bin/youtube-dl ``` from then on it worked. Tried again, pip uninstall . And after install ``` $ which youtube-dl ``` would point to /usr/bin After ``` $ .local/bin/youtube-dl ``` everything was okay, and ``` $ which youtube-dl ``` would point to the version installed through pip
Author
Owner

@hubhacs commented on GitHub (Feb 26, 2023):

I still get the error as it seems many others also do. Appreciate the work the authors do, but still annoying when software does not work. I now installed yt-dlp. It works, and for my use there is no difference in syntax so no learning curve :) https://github.com/yt-dlp/yt-dlp

@hubhacs commented on GitHub (Feb 26, 2023): I still get the error as it seems many others also do. Appreciate the work the authors do, but still annoying when software does not work. I now installed yt-dlp. It works, and for my use there is no difference in syntax so no learning curve :) https://github.com/yt-dlp/yt-dlp
Author
Owner

@jcubic commented on GitHub (Feb 26, 2023):

So is this the solution, stop using your project and start using a fork?

@jcubic commented on GitHub (Feb 26, 2023): So is this the solution, stop using your project and start using a fork?
Author
Owner

@buckley310 commented on GitHub (Feb 26, 2023):

If you can't wait for an official release from this project, there are a few solutions mentioned already

Primarily: pip install --upgrade git+https://github.com/ytdl-org/youtube-dl.git@master

@buckley310 commented on GitHub (Feb 26, 2023): If you can't wait for an official release from this project, [there are a few solutions mentioned already](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611) Primarily: `pip install --upgrade git+https://github.com/ytdl-org/youtube-dl.git@master`
Author
Owner

@jcubic commented on GitHub (Feb 26, 2023):

@buckley310 Thanks for the command, I didn't see this before, I think I've missed this. I'm wondering how this is related to this issue #31585.

@jcubic commented on GitHub (Feb 26, 2023): @buckley310 Thanks for the command, I didn't see this before, I think I've missed this. I'm wondering how this is related to this issue #31585.
Author
Owner

@dirkf commented on GitHub (Feb 26, 2023):

As I wrote:

..., @jcubic, ...: read the thread.

@dirkf commented on GitHub (Feb 26, 2023): As I wrote: > ..., @jcubic, ...: read the [thread](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435477247).
Author
Owner

@dirkf commented on GitHub (Feb 26, 2023):

yt-dlp

@dirkf commented on GitHub (Feb 26, 2023): yt-dlp
Author
Owner

@dirkf commented on GitHub (Feb 26, 2023):

Questions about yt-dlp belong there.

@dirkf commented on GitHub (Feb 26, 2023): Questions about yt-dlp belong there.
Author
Owner

@udippel commented on GitHub (Feb 26, 2023):

Almost OT: Something to be learned from this: Versioning. It must be always clear, which precise version of a software one is running.
[debug] youtube-dl version 2021.12.17
is less than helpful when a dozen different packages have this same label.

Why do I mention it? I'm confident that there'd be 100+ posts fewer, if people could see what they're actually running. People with the ERROR run something different from what they think they're running. And one can't blame them.
I had the same problem, see above, with snap on *buntu as well as pip.

@udippel commented on GitHub (Feb 26, 2023): Almost OT: Something to be learned from this: Versioning. It must be always clear, which precise version of a software one is running. [debug] youtube-dl version 2021.12.17 is less than helpful when a dozen different packages have this same label. Why do I mention it? I'm confident that there'd be 100+ posts fewer, if people could see what they're actually running. People with the ERROR run something different from what they think they're running. And one can't blame them. I had the same problem, see above, with snap on *buntu as well as pip.
Author
Owner

@rickytmp commented on GitHub (Feb 26, 2023):

I'm having the same issue here. Using youtube-dl version 2021.12.17

image

@rickytmp commented on GitHub (Feb 26, 2023): I'm having the same issue here. Using youtube-dl version 2021.12.17 ![image](https://user-images.githubusercontent.com/46104472/221461348-4a0640f1-4809-4334-be90-f8b1a1bd6452.png)
Author
Owner

@fbientrigo commented on GitHub (Feb 26, 2023):

For those using the python Iibrary, You can install the master branch using: pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl

I think it is simpler.

This worked like a charm

@fbientrigo commented on GitHub (Feb 26, 2023): > For those using the python Iibrary, You can install the master branch using: pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl > > I think it is simpler. This worked like a charm
Author
Owner

@LVMH-Daeriss commented on GitHub (Feb 27, 2023):

I'm having the same issue here. Using youtube-dl version 2021.12.17

image

Hi! Yes you need to change manually your youtube-dl.py

@LVMH-Daeriss commented on GitHub (Feb 27, 2023): > I'm having the same issue here. Using youtube-dl version 2021.12.17 > > > > ![image](https://user-images.githubusercontent.com/46104472/221461348-4a0640f1-4809-4334-be90-f8b1a1bd6452.png) > > Hi! Yes you need to change manually your youtube-dl.py
Author
Owner

@LVMH-Daeriss commented on GitHub (Feb 27, 2023):

I still get the error as it seems many others also do. Appreciate the work the authors do, but still annoying when software does not work. I now installed yt-dlp. It works, and for my use there is no difference in syntax so no learning curve :) https://github.com/yt-dlp/yt-dlp

Can you show me your error ?

@LVMH-Daeriss commented on GitHub (Feb 27, 2023): > I still get the error as it seems many others also do. Appreciate the work the authors do, but still annoying when software does not work. I now installed yt-dlp. It works, and for my use there is no difference in syntax so no learning curve :) https://github.com/yt-dlp/yt-dlp Can you show me your error ?
Author
Owner

@udippel commented on GitHub (Feb 27, 2023):

Anyone good at scripting?

If I were as fluent as I used to be 10+ years ago, I'd volunteer to offer a script that 'find's the youtube-dl.py.
Then it'd 'regex' the line, to see if it is the old one.
If so, saved the file as youtube-dl.py.old, and
'regex'ed the line to be changed, and modified it as needed.

A more simple sub task would be to just provide a checker that people can run to see if their version is the patched one.

I'm confident, that could reduce traffic pretty much here.
Any takers?

@udippel commented on GitHub (Feb 27, 2023): Anyone good at scripting? If I were as fluent as I used to be 10+ years ago, I'd volunteer to offer a script that 'find's the youtube-dl.py. Then it'd 'regex' the line, to see if it is the old one. If so, saved the file as youtube-dl.py.old, and 'regex'ed the line to be changed, and modified it as needed. A more simple sub task would be to just provide a checker that people can run to see if their version is the patched one. I'm confident, that could reduce traffic pretty much here. Any takers?
Author
Owner

@jcubic commented on GitHub (Feb 27, 2023):

@udippel I've tried to edit the youtube-dl file but I think it is a pyc file (but I'm not sure how I've installed the tool). It has a shebang at the beginning and the rest is a binary blob.

@jcubic commented on GitHub (Feb 27, 2023): @udippel I've tried to edit the youtube-dl file but I think it is a pyc file (but I'm not sure how I've installed the tool). It has a shebang at the beginning and the rest is a binary blob.
Author
Owner

@dirkf commented on GitHub (Feb 27, 2023):

@jcubic, just follow the suggestions in the link from the issue Description FFS. You have a single file installation: update it with the equivalent nightly build.

What @udippel suggests is easy in POSIX:

$ type youtube-dl
youtube-dl is hashed (/usr/bin/youtube-dl)
$ ls -l /usr/bin/youtube-dl
-rwxr-xr-x 1 root root 332 Jan  9  2022 /usr/bin/youtube-dl
$

That's a Python module installation (from pip, apt, etc) with a tiny (<1kB) executable script to invoke it.

Whereas a youtube-dl of >1MB is a self-extracting single file installation, like jcubic's (I bet).

@dirkf commented on GitHub (Feb 27, 2023): @jcubic, just follow the suggestions in the link from the issue Description FFS. You have a single file installation: update it with the equivalent nightly build. What @udippel [suggests](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1446152349) is easy in POSIX: ```console $ type youtube-dl youtube-dl is hashed (/usr/bin/youtube-dl) $ ls -l /usr/bin/youtube-dl -rwxr-xr-x 1 root root 332 Jan 9 2022 /usr/bin/youtube-dl $ ``` That's a Python module installation (from _pip_, _apt_, etc) with a tiny (<1kB) executable script to invoke it. Whereas a `youtube-dl` of >1MB is a self-extracting single file installation, like jcubic's (I bet).
Author
Owner

@udippel commented on GitHub (Feb 27, 2023):

It has a shebang at the beginning and the rest is a binary blob.

My bad, then. Haven't even started; was just picking up from some comments further above, where people suggested a 'manual edit'. The old IT-guy in me thought "well, then let's simply run a script over it!".

@udippel commented on GitHub (Feb 27, 2023): > It has a shebang at the beginning and the rest is a binary blob. My bad, then. Haven't even started; was just picking up from some comments further above, where people suggested a 'manual edit'. The old IT-guy in me thought "well, then let's simply run a script over it!".
Author
Owner

@udippel commented on GitHub (Feb 27, 2023):

$ type youtube-dl

Njet. This gives you the one currently in PATH. See my comment above. With pip on *buntu (and no su) I get two installs. That's why I started my proposal with 'find'. Never trust PATH. Because then we'll see heaps of comments popping up here "But I installed .." In order to help from here, we have to see all potential installs. Especially, since many have already started to explore remedies, and might have a bunch of installs; apt, snap and pip give you three already.

You ARE right, that a very simple version could just extract the date of the one in PATH, and flag to the user that (s)he is still running the old one.

@udippel commented on GitHub (Feb 27, 2023): > $ type youtube-dl Njet. This gives you the one currently in PATH. See my comment above. With pip on *buntu (and no su) I get two installs. That's why I started my proposal with 'find'. Never trust PATH. Because then we'll see heaps of comments popping up here "But I installed .." In order to help from here, we have to see all potential installs. Especially, since many have already started to explore remedies, and might have a bunch of installs; apt, snap and pip give you three already. You ARE right, that a very simple version could just extract the date of the one in PATH, and flag to the user that (s)he is still running the old one.
Author
Owner

@dirkf commented on GitHub (Feb 27, 2023):

Once you know which installation type you have, pick the appropriate update; in the "tiny" case, run head -1 on the executable script and use the Python mentioned to run pip, in case you have several.

@dirkf commented on GitHub (Feb 27, 2023): Once you know which installation type you have, pick the appropriate update; in the "tiny" case, run `head -1` on the executable script and use the Python mentioned to run pip, in case you have several.
Author
Owner

@Cloud9Developer commented on GitHub (Feb 27, 2023):

tried updating, removing and re-installing with pip and still getting this error.

$ youtube-dl 'https://youtu.be/9Opj6dppDbo' --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://youtu.be/9Opj6dppDbo', u'--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 2.7.18 (CPython) - Linux-5.15.0-60-generic-x86_64-with-Ubuntu-20.04-focal
[debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7
[debug] Proxy map: {}
[youtube] 9Opj6dppDbo: 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.
@Cloud9Developer commented on GitHub (Feb 27, 2023): tried updating, removing and re-installing with pip and still getting this error. ``` $ youtube-dl 'https://youtu.be/9Opj6dppDbo' --verbose [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'https://youtu.be/9Opj6dppDbo', u'--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 2.7.18 (CPython) - Linux-5.15.0-60-generic-x86_64-with-Ubuntu-20.04-focal [debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7 [debug] Proxy map: {} [youtube] 9Opj6dppDbo: 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. ```
Author
Owner

@udippel commented on GitHub (Feb 27, 2023):

ERROR: Unable to extract uploader id; please report this issu

I bet you don't!

Open a command prompt and show us the output of
$ ls -l $(which youtube-dl)

@udippel commented on GitHub (Feb 27, 2023): > ERROR: Unable to extract uploader id; please report this issu I bet you don't! Open a command prompt and show us the output of $ ls -l $(which youtube-dl)
Author
Owner

@Cloud9Developer commented on GitHub (Feb 27, 2023):

ERROR: Unable to extract uploader id; please report this issu

I bet you don't!

Open a command prompt and show us the output of $ ls -l $(which youtube-dl)

I don't doubt it's a user error, just can't see what I'm doing wrong lol

$ ls -l $(which youtube-dl)
-rwxr-xr-x 1 root root 209 Feb 27 08:47 /usr/local/bin/youtube-dl
@Cloud9Developer commented on GitHub (Feb 27, 2023): > > ERROR: Unable to extract uploader id; please report this issu > > I bet you don't! > > Open a command prompt and show us the output of $ ls -l $(which youtube-dl) I don't doubt it's a user error, just can't see what I'm doing wrong lol ``` $ ls -l $(which youtube-dl) -rwxr-xr-x 1 root root 209 Feb 27 08:47 /usr/local/bin/youtube-dl ```
Author
Owner

@udippel commented on GitHub (Feb 27, 2023):

Next, you'll do
$ /usr/local/bin/youtube-dl -F https://youtu.be/9Opj6dppDbo
please.

@udippel commented on GitHub (Feb 27, 2023): Next, you'll do $ /usr/local/bin/youtube-dl -F https://youtu.be/9Opj6dppDbo please.
Author
Owner

@Cloud9Developer commented on GitHub (Feb 27, 2023):

Next, you'll do $ /usr/local/bin/youtube-dl -F https://youtu.be/9Opj6dppDbo please.

$ /usr/local/bin/youtube-dl -F 'https://youtu.be/9Opj6dppDbo'
[youtube] 9Opj6dppDbo: 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.

NOTE: I installed yt-dlp (https://github.com/yt-dlp/yt-dlp/wiki/Installation) and this is working great! youtube-dl doesn't though, so not sure. I'll continue providing updates to fix it here though if you'd like

@Cloud9Developer commented on GitHub (Feb 27, 2023): > Next, you'll do $ /usr/local/bin/youtube-dl -F https://youtu.be/9Opj6dppDbo please. ``` $ /usr/local/bin/youtube-dl -F 'https://youtu.be/9Opj6dppDbo' [youtube] 9Opj6dppDbo: 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. ``` NOTE: I installed yt-dlp (https://github.com/yt-dlp/yt-dlp/wiki/Installation) and this is working great! youtube-dl doesn't though, so not sure. I'll continue providing updates to fix it here though if you'd like
Author
Owner

@udippel commented on GitHub (Feb 27, 2023):

Thanks.
Since I don't have the slightest clue about the inner workings of youtube-dl, only came here because mine wasn't working, I pass this thread to a developer, to ponder why a command that works perfectly okay here doesn't work over there.
My version, btw., is dated Feb 26 12:15

My suggestion of further up may be considered to be withdrawn. cph015 has demonstrated that my initial assumption was wrong.

@udippel commented on GitHub (Feb 27, 2023): Thanks. Since I don't have the slightest clue about the inner workings of youtube-dl, only came here because mine wasn't working, I pass this thread to a developer, to ponder why a command that works perfectly okay here doesn't work over there. My version, btw., is dated Feb 26 12:15 My suggestion of further up may be considered to be withdrawn. cph015 has demonstrated that my initial assumption was wrong.
Author
Owner

@dirkf commented on GitHub (Feb 27, 2023):

cph015's verbose log indicates a single file self-extracting executable but the executable appears to be 209 bytes instead of 1837828. This is strange. Should yt-dlp not be preferred, cph015 should expunge all signs of youtube-dl and install a nightly build, or the new release when available.

@dirkf commented on GitHub (Feb 27, 2023): cph015's verbose log indicates a single file self-extracting executable but the executable appears to be 209 bytes instead of 1837828. This is strange. Should yt-dlp not be preferred, cph015 should expunge all signs of youtube-dl and install a nightly build, or the new release when available.
Author
Owner

@Cloud9Developer commented on GitHub (Feb 27, 2023):

cph015's verbose log indicates a single file self-extracting executable but the executable appears to be 209 bytes instead of 1837828. This is strange. Should yt-dlp not be preferred, cph015 should expunge all signs of youtube-dl and install a nightly build, or the new release when available.

Yeah, I noticed the sizing as well, but assumed it did some installation somewhere else since the command looked to be running until it threw an error. I'm fine with yt-dlp since it's working, just been using youtube-dl for a few years now

@Cloud9Developer commented on GitHub (Feb 27, 2023): > cph015's verbose log indicates a single file self-extracting executable but the executable appears to be 209 bytes instead of 1837828. This is strange. Should yt-dlp not be preferred, cph015 should expunge all signs of youtube-dl and install a nightly build, or the new release when available. Yeah, I noticed the sizing as well, but assumed it did some installation somewhere else since the command looked to be running until it threw an error. I'm fine with yt-dlp since it's working, just been using youtube-dl for a few years now
Author
Owner

@udippel commented on GitHub (Feb 27, 2023):

the executable appears to be 209 bytes

... and so is mine, and it WORKS!:

$ /home/mydir/.local/bin/youtube-dl -F https://youtu.be/9Opj6dppDbo
[youtube] 9Opj6dppDbo: Downloading webpage
[info] Available formats for 9Opj6dppDbo:
format code  extension  resolution note
249          webm       audio only tiny   54k , webm_dash container, opus @ 54k (48000Hz), 997.70KiB
250          webm       audio only tiny   71k , webm_dash container, opus @ 71k (48000Hz), 1.28MiB
...
$ ls -l $(which youtube-dl)
-rwxrwxr-x 1 me me 209 Feb 26 12:15 /home/mydir/.local/bin/youtube-dl

$ cat youtube-dl 
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from youtube_dl import main
if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
    sys.exit(main())

As I wrote, I don't have the slightest clue about youtube-dl.
Though something seems to be very confused here!

@udippel commented on GitHub (Feb 27, 2023): > the executable appears to be 209 bytes ... and so is mine, and it WORKS!: ``` $ /home/mydir/.local/bin/youtube-dl -F https://youtu.be/9Opj6dppDbo [youtube] 9Opj6dppDbo: Downloading webpage [info] Available formats for 9Opj6dppDbo: format code extension resolution note 249 webm audio only tiny 54k , webm_dash container, opus @ 54k (48000Hz), 997.70KiB 250 webm audio only tiny 71k , webm_dash container, opus @ 71k (48000Hz), 1.28MiB ... $ ls -l $(which youtube-dl) -rwxrwxr-x 1 me me 209 Feb 26 12:15 /home/mydir/.local/bin/youtube-dl $ cat youtube-dl #!/usr/bin/python3 # -*- coding: utf-8 -*- import re import sys from youtube_dl import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main()) ``` As I wrote, I don't have the slightest clue about youtube-dl. Though something seems to be very confused here!
Author
Owner

@dirkf commented on GitHub (Feb 27, 2023):

A zip archive with a top-level __main__.py is a valid Python script. The POSIX self-extracting build is just a big zip of the program like that appended to the appropriate Python shebang. This fails in newer macOS with no Python, and in Windows, unless a Python has also been installed in either case. The former (soon) and the latter need a special build that also includes a minimal Python (so is much larger).

The short script installed by package managers (including pip) is a wrapper from pip/setuptools that invokes an installed youtube_dl package, specifically loading the youtube-dl "entry-point" from the console_scripts group of the youtube-dl==2021.12.17 package:

    load_entry_point('youtube-dl==2021.12.17', 'console_scripts', 'youtube-dl')
@dirkf commented on GitHub (Feb 27, 2023): A zip archive with a top-level `__main__.py` is a valid Python script. The POSIX self-extracting build is just a big zip of the program like that appended to the appropriate Python shebang. This fails in newer macOS with no Python, and in Windows, unless a Python has also been installed in either case. The former (soon) and the latter need a special build that also includes a minimal Python (so is much larger). The short script installed by package managers (including _pip_) is a wrapper from _pip_/_setuptools_ that invokes an installed _youtube_dl_ package, specifically loading the `youtube-dl` "entry-point" from the `console_scripts` group of the `youtube-dl==2021.12.17` package: ``` load_entry_point('youtube-dl==2021.12.17', 'console_scripts', 'youtube-dl') ```
Author
Owner

@udippel commented on GitHub (Feb 27, 2023):

The short script installed by package managers (including pip) is a wrapper from pip/setuptools that invokes an installed youtube_dl package

That's obvious, but doesn't help us any further in the 'forensics'. If it is not the wrapper that is missing the update (though you assumed it was faulty with its 209 Byte), then we'd need help to point out which file in a package-install actually contains that updated line
'uploader_id': self._search_regex(r'/(?:channel/|user/|@)([^/?&#]+)', owner_profile_url, 'uploader id', default=None),
??
Then we'd have to likewise check for the timestamp / content of THAT file. And respectively (auto)edit or replace that file.

@udippel commented on GitHub (Feb 27, 2023): > The short script installed by package managers (including _pip_) is a wrapper from _pip_/_setuptools_ that invokes an installed _youtube_dl_ package That's obvious, but doesn't help us any further in the 'forensics'. If it is not the wrapper that is missing the update (though you assumed it was faulty with its 209 Byte), then we'd need help to point out which file in a package-install actually contains that updated line `'uploader_id': self._search_regex(r'/(?:channel/|user/|@)([^/?&#]+)', owner_profile_url, 'uploader id', default=None),` ?? Then we'd have to likewise check for the timestamp / content of THAT file. And respectively (auto)edit or replace that file.
Author
Owner

@udippel commented on GitHub (Feb 27, 2023):

I noticed the sizing as well,

Never mind. Now we know the size of 209 is totally okay.
I do agree fully with @dirkf, that once you have a machine completely free of remnants of any previous youtube-dl install, and you issue the pip command, it will work. In your case, I am sure there is still an old file lying around, and is used, or not updated, or whatnot, and therefore the new patch just isn't installed, or not called up.
Also here, the developers need to provide a complete list of files that pip and / or any other package manager might have installed.
Then, if you still wanted, you could clean your machine from any relics of previous youtube-dl-s and start with a clean slate.

@udippel commented on GitHub (Feb 27, 2023): > I noticed the sizing as well, Never mind. Now we know the size of 209 is totally okay. I do agree fully with @dirkf, that once you have a machine completely free of remnants of any previous youtube-dl install, and you issue the pip command, it will work. In your case, I am sure there is still an old file lying around, and is used, or not updated, or whatnot, and therefore the new patch just isn't installed, or not called up. Also here, the developers need to provide a complete list of files that pip and / or any other package manager might have installed. Then, if you still wanted, you could clean your machine from any relics of previous youtube-dl-s and start with a clean slate.
Author
Owner

@mbytescs commented on GitHub (Feb 27, 2023):

The solution suggested by @nicolaasjan above does work, if running with youtube-dl simply do the following:

  1. cd to/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor (you may be running another Python version)
  2. copy the existing file to save it cp youtube.py youtube.py.save in case you mess it up
  3. open youtube.py with your editor of choice, you will need to be sudo to change and save
  4. search for the line listed in the comment above, it was Line 1794 for me, your results may vary
  5. make the change and save, rinse and repeat
@mbytescs commented on GitHub (Feb 27, 2023): The solution suggested by @nicolaasjan above does work, if running with youtube-dl simply do the following: 1. cd to`/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor` (you may be running another Python version) 2. copy the existing file to save it `cp youtube.py youtube.py.save` in case you mess it up 3. open youtube.py with your editor of choice, you will need to be sudo to change and save 4. search for the line listed in the comment above, it was Line 1794 for me, your results may vary 5. make the change and save, rinse and repeat
Author
Owner

@dirkf commented on GitHub (Feb 27, 2023):

Don't do that. Also, your experience will only apply to a subset of users.

Use the fixed version as explained in the post linked from the Description.

@dirkf commented on GitHub (Feb 27, 2023): Don't do that. Also, your experience will only apply to a subset of users. Use the fixed version as explained in the post linked from the Description.
Author
Owner

@ToddAndMargo commented on GitHub (Feb 27, 2023):

On 2/27/23 17:56, dirkf wrote:

Don't do that. Also, your experience will only apply to a subset of users.

Use the fixed version as explained in the post linked from the Description.

So far youtube-dl -U says I am on the latest

:'(

@ToddAndMargo commented on GitHub (Feb 27, 2023): On 2/27/23 17:56, dirkf wrote: > Don't do that. Also, your experience will only apply to a subset of users. > > Use the fixed version as explained in the post linked from the Description. > So far `youtube-dl -U` says I am on the latest :'(
Author
Owner

@Mortagne commented on GitHub (Feb 27, 2023):

Error with the latest version with brew under OSX Ventura 13.2.1 (22D68)

❯ youtube-dl --ignore-config -v -F Re3jwNS6pPA [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--ignore-config', '-v', '-F', 'Re3jwNS6pPA'] [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 [debug] youtube-dl version 2021.12.17 [debug] Git HEAD: 4d0154fa7 [debug] Python version 3.11.2 (CPython) - macOS-13.2.1-arm64-arm-64bit [debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2 [debug] Proxy map: {} [youtube] Re3jwNS6pPA: 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 "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) ^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) ^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/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 "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/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.

@Mortagne commented on GitHub (Feb 27, 2023): Error with the latest version with brew under OSX Ventura 13.2.1 (22D68) ` ❯ youtube-dl --ignore-config -v -F Re3jwNS6pPA [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--ignore-config', '-v', '-F', 'Re3jwNS6pPA'] [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 [debug] youtube-dl version 2021.12.17 [debug] Git HEAD: 4d0154fa7 [debug] Python version 3.11.2 (CPython) - macOS-13.2.1-arm64-arm-64bit [debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2 [debug] Proxy map: {} [youtube] Re3jwNS6pPA: 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 "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) ^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) ^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/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 "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/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. `
Author
Owner

@slmingol commented on GitHub (Feb 27, 2023):

Confirmed that manually patching this file /opt/homebrew/Cellar/youtube-dl//2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/extractor/youtube.py with this string fixed it:

-            'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
+            'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id', fatal=False) if owner_profile_url else None,
rare
@slmingol commented on GitHub (Feb 27, 2023): Confirmed that manually patching this file `/opt/homebrew/Cellar/youtube-dl//2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/extractor/youtube.py` with this string fixed it: ``` - 'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None, + 'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id', fatal=False) if owner_profile_url else None, rare ```
Author
Owner

@ChituSR commented on GitHub (Feb 28, 2023):

self._search_regex(r'/(?:channel/|user/|@)([^/?&#]+)', owner_profile_url, 'uploader id', default=None),

image
This had solved the issue.

@ChituSR commented on GitHub (Feb 28, 2023): self._search_regex(r'/(?:channel/|user/|**@**)([^/?&#]+)', owner_profile_url, 'uploader id', default=None), ![image](https://user-images.githubusercontent.com/86929742/221768563-75fbc27c-4f7c-4f77-b429-1b2a3f4e67c6.png) This had solved the issue.
Author
Owner

@dirkf commented on GitHub (Feb 28, 2023):

@ToddAndMargo: the post linked from the Description, as you can't be bothered to scroll back and follow the link.

@dirkf commented on GitHub (Feb 28, 2023): @ToddAndMargo: [the post linked from the Description](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611), as you can't be bothered to scroll back and follow the link.
Author
Owner

@cwy3 commented on GitHub (Feb 28, 2023):

I have experiencing this issue when I am using Udacimak which is built on top of youtube-dl... therefore, I do not have a choice to use yt-dlp. My Udacimak and youtube-dl are both installed using npm and homebrew, I think the repository linked to there is not yet updated.

@cwy3 commented on GitHub (Feb 28, 2023): I have experiencing this issue when I am using Udacimak which is built on top of youtube-dl... therefore, I do not have a choice to use yt-dlp. My Udacimak and youtube-dl are both installed using npm and homebrew, I think the repository linked to there is not yet updated.
Author
Owner

@dirkf commented on GitHub (Feb 28, 2023):

Sure. Nonetheless, use the instructions linked from the Description to update the packaged installation until a release or nightly build reaches the dependent repo.

@dirkf commented on GitHub (Feb 28, 2023): Sure. Nonetheless, use the instructions linked from the Description to update the packaged installation until a release or nightly build reaches the dependent repo.
Author
Owner

@ToddAndMargo commented on GitHub (Feb 28, 2023):

On 2/28/23 04:49, dirkf wrote:

@ToddAndMargo https://github.com/ToddAndMargo: the post linked from
the Description
https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611, as you can't be bothered to scroll back and follow the link.

Removed the direct youtube-dl

Installed the rpm from the repo

$ rpm -qa youtube-dl
youtube-dl-2021.12.17-4.fc37.noarch

It is the same version as I had before

ERROR: Unable to extract uploader id;

No symptom change.

Maybe I missed something in "the post linked from
the Description" that I could not be bothered
to scroll to?

@ToddAndMargo commented on GitHub (Feb 28, 2023): On 2/28/23 04:49, dirkf wrote: > @ToddAndMargo <https://github.com/ToddAndMargo>: the post linked from > the Description > <https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611>, as you can't be bothered to scroll back and follow the link. Removed the direct youtube-dl Installed the rpm from the repo $ rpm -qa youtube-dl youtube-dl-2021.12.17-4.fc37.noarch It is the same version as I had before ERROR: Unable to extract uploader id; No symptom change. Maybe I missed something in "the post linked from the Description" that I could not be bothered to scroll to?
Author
Owner

@cwy3 commented on GitHub (Feb 28, 2023):

Sure. Nonetheless, use the instructions linked from the Description to update the packaged installation until a release or nightly build reaches the dependent repo.

It seems like Udacimak on npm has a "youtube-dl" build inside itself that recursively pulled from the npm repo, I am not an expert of how npm works... it is located in the path:
"/usr/local/lib/node_modules/udacimak/node_modules/youtube-dl/bin/youtube-dl"

I tried to replace the file from here which you provided above, but it doesn't work. I think because I am running a mac instead of linux? And my pip setup is kind of broken at the moment, that's not an option. @dirkf please kindly advice, many thanks.

@cwy3 commented on GitHub (Feb 28, 2023): > Sure. Nonetheless, use the instructions linked from the Description to update the packaged installation until a release or nightly build reaches the dependent repo. It seems like Udacimak on npm has a "youtube-dl" build inside itself that recursively pulled from the npm repo, I am not an expert of how npm works... it is located in the path: "/usr/local/lib/node_modules/udacimak/node_modules/youtube-dl/bin/youtube-dl" I tried to replace the file from [here](https://github.com/ytdl-patched/youtube-dl/releases) which you provided above, but it doesn't work. I think because I am running a mac instead of linux? And my pip setup is kind of broken at the moment, that's not an option. @dirkf please kindly advice, many thanks.
Author
Owner

@txemaromero commented on GitHub (Feb 28, 2023):

Dear contributors,

Please, could you update the .exe file (https://yt-dl.org/latest/youtube-dl.exe) with the correction?

Thank you. Regards,

@txemaromero commented on GitHub (Feb 28, 2023): Dear contributors, Please, could you update the .exe file (https://yt-dl.org/latest/youtube-dl.exe) with the correction? Thank you. Regards,
Author
Owner

@jorge-fonestar commented on GitHub (Mar 1, 2023):

Hi! Next error is happening to me on Ubuntu:

myuser@mypc:~$ youtube-dl https://www.youtube.com/watch?v=PHvQe7IyeQM
[youtube] PHvQe7IyeQM: 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.

youtube-dl -v is as follows:
imagen

Hope it could be usefull

@jorge-fonestar commented on GitHub (Mar 1, 2023): Hi! Next error is happening to me on Ubuntu: myuser@mypc:~$ youtube-dl https://www.youtube.com/watch?v=PHvQe7IyeQM [youtube] PHvQe7IyeQM: 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. youtube-dl -v is as follows: ![imagen](https://user-images.githubusercontent.com/3330539/222079792-692d21d1-18f8-43d2-8231-8b9be7fcc408.png) Hope it could be usefull
Author
Owner

@udippel commented on GitHub (Mar 1, 2023):

Hi! Next error is happening to me on Ubuntu:

Start reading this thread at the top, and follow the instructions written there. This is a solved problem, alas as of now not being totally easy on the side of the user.
Read and follow carefully.
If it still doesn't work, read my postings, I'm also a *buntu user, on how to continue.
Once you have done all of that, show us the responses of your system, and I'll try to help you further.

@udippel commented on GitHub (Mar 1, 2023): > Hi! Next error is happening to me on Ubuntu: Start reading this thread at the top, and follow the instructions written there. This is a solved problem, alas as of now not being totally easy on the side of the user. Read and follow carefully. If it still doesn't work, read my postings, I'm also a *buntu user, on how to continue. Once you have done all of that, show us the responses of your system, and I'll try to help you further.
Author
Owner

@dirkf commented on GitHub (Mar 1, 2023):

@cwy3, ideally, get npm to update its yt-dl build from one of the sources suggested.

Otherwise, if /usr/local/lib/node_modules/udacimak/node_modules/youtube-dl/bin/youtube-dl was an executable file of 1.8MB, and you replaced it with a nightly build like https://github.com/ytdl-patched/youtube-dl/releases/download/2023.02.28.810/youtube-dl:

  1. first, if your Python is called python3, pipe the download through this POSIX shell script
    { printf '#!%s\n' "$(type python3 | cut -d' ' -f3)"; sed -r -n -e '/^#!/ {n; }; p'; } to update the downloaded file, eg
    cat downloaded_file | braced_script > updated_file
    (or create a symlink on your $PATH named python to your Python)
  2. ensure that the new youtube-dl is marked executable: chmod a+x ..., as described for installing a release version in the Manual.

Although new macOS may come without any Python, I assume that you have one since your yt-dl was previously running OK.

@dirkf commented on GitHub (Mar 1, 2023): @cwy3, ideally, get _npm_ to update its yt-dl build from one of the sources suggested. Otherwise, if `/usr/local/lib/node_modules/udacimak/node_modules/youtube-dl/bin/youtube-dl` was an executable file of 1.8MB, and you replaced it with a nightly build like https://github.com/ytdl-patched/youtube-dl/releases/download/2023.02.28.810/youtube-dl: 1. first, if your Python is called `python3`, pipe the download through this POSIX shell script `{ printf '#!%s\n' "$(type python3 | cut -d' ' -f3)"; sed -r -n -e '/^#!/ {n; }; p'; }` to update the downloaded file, eg ` cat downloaded_file | braced_script > updated_file ` (or create a symlink on your `$PATH` named `python` to your Python) 2. ensure that the new `youtube-dl` is marked executable: `chmod a+x ...`, as described for installing a release version in the Manual. Although new macOS may come without any Python, I assume that you have one since your yt-dl was previously running OK.
Author
Owner

@crisdosaygo commented on GitHub (Mar 1, 2023):

I can't believe such an important tool is built on something so fragile as a regex of a server response...

@crisdosaygo commented on GitHub (Mar 1, 2023): I can't believe such an important tool is built on something so fragile as a regex of a server response...
Author
Owner

@birdofprey commented on GitHub (Mar 1, 2023):

In any case the extraction of an optional field shouldn't crash the extraction:

-            'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
+            'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id', fatal=False) if owner_profile_url else None,

OS:
Debian Gnu/Linux 11.6
Python:
Python 3.9.2 (default, Feb 28 2021, 17:03:44)
youtube-dl --version:
2021.12.17
commit its ok cool!!! tanks for you help!!!

@birdofprey commented on GitHub (Mar 1, 2023): > In any case the extraction of an optional field shouldn't crash the extraction: > > ```diff > - 'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None, > + 'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id', fatal=False) if owner_profile_url else None, > ``` OS: Debian Gnu/Linux 11.6 Python: Python 3.9.2 (default, Feb 28 2021, 17:03:44) youtube-dl --version: 2021.12.17 commit its ok cool!!! tanks for you help!!!
Author
Owner

@dirkf commented on GitHub (Mar 1, 2023):

@crisdosyago, see the quote diff above for why the fragility wasn't ignored. There are more than 800 extractor modules that almost all rely on regex matching. Basically, web pages and API responses are mutable, and yt-dl has to decide when to punt. This decision was mistaken:

$ git blame -L 1974 youtube_dl/extractor/youtube.py
Blaming lines: 100% (1435/1435), done.
67299f23d8 (Remita Amine              2021-02-01 14:30:59 +0100 1974)             'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
...
@dirkf commented on GitHub (Mar 1, 2023): @crisdosyago, see the quote diff above for why the fragility wasn't ignored. There are more than 800 extractor modules that almost all rely on regex matching. Basically, web pages and API responses are mutable, and yt-dl has to decide when to punt. This decision was mistaken: ```console $ git blame -L 1974 youtube_dl/extractor/youtube.py Blaming lines: 100% (1435/1435), done. 67299f23d8 (Remita Amine 2021-02-01 14:30:59 +0100 1974) 'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None, ... ```
Author
Owner

@crisdosaygo commented on GitHub (Mar 1, 2023):

@dirkf my friend, I'm sorry that my comment seemed like it was attacking the great ytdl-org! Indeed it was not. I was expressing the craziness of how we ("the entire dev community as a whole") need to parse web pages by relying on such half-measures as regex, that are so fragile wrt to changes. I know it can be different, and I hope to make a difference but for now it will have to be like this. Crazy times! Thank you for your informative git blame I'll look into it to know more! 😃

@crisdosaygo commented on GitHub (Mar 1, 2023): @dirkf my friend, I'm sorry that my comment seemed like it was attacking the great ytdl-org! Indeed it was not. I was expressing the craziness of how we ("the entire dev community as a whole") need to parse web pages by relying on such half-measures as regex, that are so fragile wrt to changes. I know it can be different, and I hope to make a difference but for now it will have to be like this. Crazy times! Thank you for your informative `git blame` I'll look into it to know more! 😃
Author
Owner

@behrangsa commented on GitHub (Mar 2, 2023):

In case this might help:

❯ youtube-dl --verbose https://www.youtube.com/watch?v=ZZ5LpwO-An4
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=ZZ5LpwO-An4']
[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.7 (CPython) - Linux-5.19.0-31-generic-x86_64-with-glibc2.36
[debug] exe versions: ffmpeg 5.1.1, ffprobe 5.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] ZZ5LpwO-An4: 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/behrangsa/.local/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/home/behrangsa/.local/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/home/behrangsa/.local/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/home/behrangsa/.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/behrangsa/.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.
@behrangsa commented on GitHub (Mar 2, 2023): In case this might help: ```bash ❯ youtube-dl --verbose https://www.youtube.com/watch?v=ZZ5LpwO-An4 [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=ZZ5LpwO-An4'] [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.7 (CPython) - Linux-5.19.0-31-generic-x86_64-with-glibc2.36 [debug] exe versions: ffmpeg 5.1.1, ffprobe 5.1.1, rtmpdump 2.4 [debug] Proxy map: {} [youtube] ZZ5LpwO-An4: 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/behrangsa/.local/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/home/behrangsa/.local/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/home/behrangsa/.local/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/home/behrangsa/.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/behrangsa/.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. ```
Author
Owner

@udippel commented on GitHub (Mar 2, 2023):

In case this might help:

No, it doesn't. Read https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1449775721

Also @WafflesMcDuff.

@udippel commented on GitHub (Mar 2, 2023): > In case this might help: No, it doesn't. Read https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1449775721 Also @WafflesMcDuff.
Author
Owner

@WafflesMcDuff commented on GitHub (Mar 2, 2023):

Same here:
I'm also having this problem. I thought I was doing something wrong.
I'm having the problem with this playlist; https://www.youtube.com/playlist?list=PLDuzvnRIfxZq2TXvS51lyVvVbmMZW3D32

D:\TV\Princess Silver>youtube-dl --verbose https://www.youtube.com/playlist?list=PLDuzvnRIfxZq2TXvS51lyVvVbmMZW3D32
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/playlist?list=PLDuzvnRIfxZq2TXvS51lyVvVbmMZW3D32']
[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.14393
[debug] exe versions: none
[debug] Proxy map: {}
[youtube:tab] PLDuzvnRIfxZq2TXvS51lyVvVbmMZW3D32: Downloading webpage
[download] Downloading playlist: 【ENG SUB】《白发 | Princess Silver》 張雪迎、李治廷、經超、羅雲熙主演古裝劇
[youtube:tab] playlist 【ENG SUB】《白发 | Princess Silver》 張雪迎、李治廷、經超、羅雲熙主演古裝劇: Downloading 58 videos
[download] Downloading video 1 of 58
[youtube] 8HANp-tJXWw: 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.
@WafflesMcDuff commented on GitHub (Mar 2, 2023): Same here: I'm also having this problem. I thought I was doing something wrong. I'm having the problem with this playlist; https://www.youtube.com/playlist?list=PLDuzvnRIfxZq2TXvS51lyVvVbmMZW3D32 ``` D:\TV\Princess Silver>youtube-dl --verbose https://www.youtube.com/playlist?list=PLDuzvnRIfxZq2TXvS51lyVvVbmMZW3D32 [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', 'https://www.youtube.com/playlist?list=PLDuzvnRIfxZq2TXvS51lyVvVbmMZW3D32'] [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.14393 [debug] exe versions: none [debug] Proxy map: {} [youtube:tab] PLDuzvnRIfxZq2TXvS51lyVvVbmMZW3D32: Downloading webpage [download] Downloading playlist: 【ENG SUB】《白发 | Princess Silver》 張雪迎、李治廷、經超、羅雲熙主演古裝劇 [youtube:tab] playlist 【ENG SUB】《白发 | Princess Silver》 張雪迎、李治廷、經超、羅雲熙主演古裝劇: Downloading 58 videos [download] Downloading video 1 of 58 [youtube] 8HANp-tJXWw: 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. ```
Author
Owner

@marhar commented on GitHub (Mar 3, 2023):

For anybody on mac, using brew's version of yt-dlp works.

brew install yt-dlp

@marhar commented on GitHub (Mar 3, 2023): For anybody on mac, using brew's version of yt-dlp works. brew install yt-dlp
Author
Owner

@xk commented on GitHub (Mar 3, 2023):

This affects me as well, with version 2021.12.17. Here is some more information on the issue:

$ youtube-dl --verbose https://www.youtube.com/watch?v=Pg7MOv1oriE
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=Pg7MOv1oriE']
[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.2 (CPython) - macOS-10.13.6-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] Pg7MOv1oriE: 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 "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
^^^^^^^^^^^^^^^
File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/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 "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/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.

@xk commented on GitHub (Mar 3, 2023): This affects me as well, with version 2021.12.17. Here is some more information on the issue: $ youtube-dl --verbose https://www.youtube.com/watch?v=Pg7MOv1oriE [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=Pg7MOv1oriE'] [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.2 (CPython) - macOS-10.13.6-x86_64-i386-64bit [debug] exe versions: none [debug] Proxy map: {} [youtube] Pg7MOv1oriE: 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 "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) ^^^^^^^^^^^^^^^ File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/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 "/usr/local/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.11/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.
Author
Owner

@ToddAndMargo commented on GitHub (Mar 3, 2023):

Seems like the developers know what is causing this
and have a fix. But for some reason unbenosed to
the impatient amongst us (who me? NEVER!), they
are waiting to publish

@ToddAndMargo commented on GitHub (Mar 3, 2023): Seems like the developers know what is causing this and have a fix. But for some reason unbenosed to the impatient amongst us (who me? NEVER!), they are waiting to publish
Author
Owner

@dirkf commented on GitHub (Mar 3, 2023):

Maybe I missed something in "the post linked from the Description" that I could not be bothered to scroll to?

Yes. Because you did not read the post. No YouTube downloads for you ...

@dirkf commented on GitHub (Mar 3, 2023): >Maybe I missed something in "the post linked from the Description" that I could not be bothered to scroll to? Yes. Because you **did not read the [post](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611)**. No YouTube downloads for you ...
Author
Owner

@kkarhan commented on GitHub (Mar 3, 2023):

#31752 is a potential duplicate.
#31585 is linked to it.

@kkarhan commented on GitHub (Mar 3, 2023): #31752 is a potential duplicate. #31585 is linked to it.
Author
Owner

@AndNovAtor commented on GitHub (Mar 4, 2023):

Sorry for offtopic and duplicate, but can somebody help, what I did wrong with Python installation.

  1. When I tried in the past on my Win 10 pip install -U git+https://github.com/ytdl-org/youtube-dl, looks like again and again I got "old" version (so got "uploader id" error). And when today I first (second from Youtube changes) time use pip install -U --force-reinstall git+https://github.com/ytdl-org/youtube-dl, it's finally start working

  2. In https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435477247 was #egg=youtube_dl parameter. I googled about this parameter (egg installation), but don't understand, why it was used in the comment (as I always use pip install -U git+https://github.com/ytdl-org/youtube-dl to update youtube-dl and it "always" worked [and for git+ installation master branch is default])

@AndNovAtor commented on GitHub (Mar 4, 2023): Sorry for offtopic and duplicate, but can somebody help, what I did wrong with Python installation. 1) When I tried in the past on my Win 10 `pip install -U git+https://github.com/ytdl-org/youtube-dl`, looks like again and again I got "old" version (so got "uploader id" error). And when today I first (second from Youtube changes) time use `pip install -U --force-reinstall git+https://github.com/ytdl-org/youtube-dl`, it's finally start working 2) In https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435477247 was `#egg=youtube_dl` parameter. I googled about this parameter (egg installation), but don't understand, why it was used in the comment (as I always use `pip install -U git+https://github.com/ytdl-org/youtube-dl` to update youtube-dl and it "always" worked [and for git+ installation master branch is default])
Author
Owner

@dirkf commented on GitHub (Mar 4, 2023):

@AndNovAtor, possibly if you've previously installed the same version (as seen by pip) from git, --force-reinstall may be needed.

Without reading the code, I gather that the #egg=... thing selects some additional optional setup from the package installed by pip. If it's meaningful in this case, possibly it's only for a brand new installation.

@dirkf commented on GitHub (Mar 4, 2023): @AndNovAtor, possibly if you've previously installed the same version (as seen by _pip_) from git, `--force-reinstall` may be needed. Without reading the code, I gather that the `#egg=...` thing selects some additional optional setup from the package installed by _pip_. If it's meaningful in this case, possibly it's only for a brand new installation.
Author
Owner

@ibiCode commented on GitHub (Mar 5, 2023):

In any case the extraction of an optional field shouldn't crash the extraction:

-            'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
+            'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id', fatal=False) if owner_profile_url else None,

This patch will just hide the fatal error. You should better fix the search pattern to match the new URL structure:

-            'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
+            'uploader_id': self._search_regex(r'/(?:channel/|user/|@)([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
@ibiCode commented on GitHub (Mar 5, 2023): > In any case the extraction of an optional field shouldn't crash the extraction: > > ```diff > - 'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None, > + 'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id', fatal=False) if owner_profile_url else None, > ``` This patch will just hide the fatal error. You should better fix the search pattern to match the new URL structure: ```diff - 'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None, + 'uploader_id': self._search_regex(r'/(?:channel/|user/|@)([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None, ```
Author
Owner

@AntwanAbboud commented on GitHub (Mar 6, 2023):

Already fixed in yt-dlp. yt-dlp/yt-dlp#6247 yt-dlp/yt-dlp@149eb0b

How do i find where I'm supposed to make the changes that the fix suggested?

@AntwanAbboud commented on GitHub (Mar 6, 2023): > Already fixed in yt-dlp. [yt-dlp/yt-dlp#6247](https://github.com/yt-dlp/yt-dlp/issues/6247) [yt-dlp/yt-dlp@149eb0b](https://github.com/yt-dlp/yt-dlp/commit/149eb0bbf34fa8fdf8d1e2aa28e17479d099e26b) How do i find where I'm supposed to make the changes that the fix suggested?
Author
Owner

@gabrielmielo commented on GitHub (Mar 6, 2023):

I'm still getting this error, has it been found how to fix it?

@gabrielmielo commented on GitHub (Mar 6, 2023): I'm still getting this error, has it been found how to fix it?
Author
Owner

@udippel commented on GitHub (Mar 6, 2023):

I'm still getting this error, has it been found how to fix it?

Read further up. Start at the very top.

@udippel commented on GitHub (Mar 6, 2023): > I'm still getting this error, has it been found how to fix it? Read further up. Start at the very top.
Author
Owner

@theseventhsneeze commented on GitHub (Mar 6, 2023):

Seems like it started happening when YouTube started sending out waves of invitations to claim channel IDs, which created new channel URLs like youtube.com/@usernaame

@theseventhsneeze commented on GitHub (Mar 6, 2023): Seems like it started happening when YouTube started sending out waves of invitations to claim channel IDs, which created new channel URLs like youtube.com/@usernaame
Author
Owner

@AndNovAtor commented on GitHub (Mar 6, 2023):

No, the issue has recurred

I tried today --force-reinstall on Linux and Windows - all works for --dump-json...

A/B test again?

@AndNovAtor commented on GitHub (Mar 6, 2023): > No, the issue has recurred I tried today --force-reinstall on Linux and Windows - all works for --dump-json... A/B test again?
Author
Owner

@udippel commented on GitHub (Mar 6, 2023):

No, the issue has recurred, current fix is no longer effective.

I can confirm that the 'previous' fix (Feb. 26) still works here.
Try something else?

@udippel commented on GitHub (Mar 6, 2023): > No, the issue has recurred, current fix is no longer effective. I can confirm that the 'previous' fix (Feb. 26) still works here. Try something else?
Author
Owner

@terencecollins commented on GitHub (Mar 6, 2023):

... installing from git with force-reinstall *does* seem to solve the issue

No, the issue has recurred, current fix is no longer effective.

I can confirm that the 'previous' fix (Feb. 26) still works here. Try something else?


I tried today --force-reinstall on Linux and Windows - all works for --dump-json...

A/B test again?

I tried again:

pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl --force-reinstall

and it seems to be working, so perhaps my force re-install before went to the wrong path
Any others having experience similar to mine, installing from git with force-reinstall does seem to solve the issue. Thanks,

@terencecollins commented on GitHub (Mar 6, 2023): <details> <summary>... installing from git with force-reinstall *does* seem to solve the issue</summary> > > No, the issue has recurred, current fix is no longer effective. > > I can confirm that the 'previous' fix (Feb. 26) still works here. Try something else? --- > I tried today --force-reinstall on Linux and Windows - all works for --dump-json... > > A/B test again? I tried again: pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl --force-reinstall and it seems to be working, so perhaps my force re-install before went to the wrong path Any others having experience similar to mine, installing from git with force-reinstall *does* seem to solve the issue. Thanks, </details>
Author
Owner

@dirkf commented on GitHub (Mar 6, 2023):

I'm still getting this error, has it been found how to fix it?

Read further up. Start at the very top.

@AntwanAbboud, @AndNovAtor, as well as @gabrielsoaresgsm: take note.

Otherwise.

@dirkf commented on GitHub (Mar 6, 2023): > > I'm still getting this error, has it been found how to fix it? > > Read further up. Start at the very top. @AntwanAbboud, @AndNovAtor, as well as @gabrielsoaresgsm: take note. [Otherwise](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1454147571).
Author
Owner

@hhgoten commented on GitHub (Mar 7, 2023):

Already fixed in yt-dlp. yt-dlp/yt-dlp#6247 yt-dlp/yt-dlp@149eb0b

Not for me : /lwd/video_audio > /usr/bin/yt-dlp -U

Latest version: 2023.03.04, Current version: 2022.10.04

Problem stays

/lwd/video_audio > /usr/bin/yt-dlp --verbose https://www.youtube.com/watch?v=jsETTn7DehI
[debug] Command-line config: ['--verbose', 'https://www.youtube.com/watch?v=jsETTn7DehI']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.10.04 [4e0511f27] (debian*) API
[debug] Python 3.10.7 (CPython 64bit) - Linux-5.19.0-35-generic-x86_64-with-glibc2.36 (glibc 2.36)
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 5.1.1 (setts), ffprobe 5.1.1, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.11.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, pyxattr-0.7.2, secretstorage-3.3.3, sqlite3-2.6.0, websockets-10.2
[debug] Proxy map: {}
[debug] Loaded 1690 extractors
[debug] [youtube] Extracting URL: https://www.youtube.com/watch?v=jsETTn7DehI
[youtube] jsETTn7DehI: Downloading webpage
[youtube] jsETTn7DehI: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
ERROR: [youtube] jsETTn7DehI: 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/lib/python3/dist-packages/yt_dlp/extractor/common.py", line 672, in extract
ie_result = self._real_extract(url)
File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 3906, in _real_extract
'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
File "/usr/lib/python3/dist-packages/yt_dlp/extractor/common.py", line 1224, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)

@hhgoten commented on GitHub (Mar 7, 2023): > Already fixed in yt-dlp. [yt-dlp/yt-dlp#6247](https://github.com/yt-dlp/yt-dlp/issues/6247) [yt-dlp/yt-dlp@149eb0b](https://github.com/yt-dlp/yt-dlp/commit/149eb0bbf34fa8fdf8d1e2aa28e17479d099e26b) Not for me : /lwd/video_audio > /usr/bin/yt-dlp -U Latest version: 2023.03.04, Current version: 2022.10.04 Problem stays /lwd/video_audio > /usr/bin/yt-dlp --verbose https://www.youtube.com/watch?v=jsETTn7DehI [debug] Command-line config: ['--verbose', 'https://www.youtube.com/watch?v=jsETTn7DehI'] [debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version 2022.10.04 [4e0511f27] (debian*) API [debug] Python 3.10.7 (CPython 64bit) - Linux-5.19.0-35-generic-x86_64-with-glibc2.36 (glibc 2.36) [debug] Checking exe version: ffmpeg -bsfs [debug] Checking exe version: ffprobe -bsfs [debug] exe versions: ffmpeg 5.1.1 (setts), ffprobe 5.1.1, rtmpdump 2.4 [debug] Optional libraries: Cryptodome-3.11.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, pyxattr-0.7.2, secretstorage-3.3.3, sqlite3-2.6.0, websockets-10.2 [debug] Proxy map: {} [debug] Loaded 1690 extractors [debug] [youtube] Extracting URL: https://www.youtube.com/watch?v=jsETTn7DehI [youtube] jsETTn7DehI: Downloading webpage [youtube] jsETTn7DehI: Downloading android player API JSON [debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto [debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id ERROR: [youtube] jsETTn7DehI: 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/lib/python3/dist-packages/yt_dlp/extractor/common.py", line 672, in extract ie_result = self._real_extract(url) File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 3906, in _real_extract 'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None, File "/usr/lib/python3/dist-packages/yt_dlp/extractor/common.py", line 1224, in _search_regex raise RegexNotFoundError('Unable to extract %s' % _name)
Author
Owner

@txemaromero commented on GitHub (Mar 7, 2023):

Thank you. Please, could you upload (update) the .exe file (https://yt-dl.org/latest/youtube-dl.exe)?

@txemaromero commented on GitHub (Mar 7, 2023): Thank you. Please, could you upload (update) the .exe file (https://yt-dl.org/latest/youtube-dl.exe)?
Author
Owner

@programster commented on GitHub (Mar 7, 2023):

I tried again:

pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl --force-reinstall

I just made sure to test completely removing youtube-dl, before installing through pip and it didn't work, before running that command to re-install from master through pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl --force-reinstall, and it worked!

Really looking forward to the relevant changes becoming generally available through the normal pip installation (e.g. not using git/egg).

@programster commented on GitHub (Mar 7, 2023): > I tried again: > > pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl --force-reinstall I just made sure to test completely removing youtube-dl, before installing through pip and it didn't work, before running that command to re-install from master through `pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl --force-reinstall`, and it worked! Really looking forward to the relevant changes becoming generally available through the normal pip installation (e.g. not using git/egg).
Author
Owner

@hhgoten commented on GitHub (Mar 7, 2023):

@txemaromero
https://github.com/yt-dlp/yt-dlp#release-files
yt-dlp_linux <<<< Linux standalone x64 binary
just used like youtube-dl and worked.

prompt:/tmp/yt-dlp_linux https://www.youtube.com/watch?v=jsxxxxxx

@hhgoten commented on GitHub (Mar 7, 2023): @txemaromero https://github.com/yt-dlp/yt-dlp#release-files yt-dlp_linux <<<< Linux standalone x64 binary just used like youtube-dl and worked. prompt:/tmp/yt-dlp_linux https://www.youtube.com/watch?v=jsxxxxxx
Author
Owner

@wcndave commented on GitHub (Mar 7, 2023):

Sorry if this is a stupid question, however it says in the description "See below for ways to update to a fixed version of youtube-dl", however I don't see where that explanation is....

@wcndave commented on GitHub (Mar 7, 2023): Sorry if this is a stupid question, however it says in the description "See below for ways to update to a fixed version of youtube-dl", however I don't see where that explanation is....
Author
Owner

@dirkf commented on GitHub (Mar 7, 2023):

@wcndave,

"below" is an actual hypertext link: use it. Owing to GH idiocy, JS is required just to follow the link.

@dirkf commented on GitHub (Mar 7, 2023): @wcndave, "below" is an actual hypertext link: use it. Owing to GH idiocy, JS is required **just to follow the link**.
Author
Owner

@dpastern commented on GitHub (Mar 8, 2023):

So, what about a fix for those of us using youtube-dl on Windows, having downloaded the windows binary direct from the website? Not using pip, etc, so can't force-install. It seems the new dev has dropped youtube-dl like a hot potato...

I don't want to have to fuck around with install from src, or a 3rd party installer like pip etc. I want to keep it simple. This is becoming very frustrating at how unreliable youtube-dl has become.

Not a happy camper. Yes, I know this is 'free software' and no guarantees made etc, but it's still shit "support". I honestly can no longer recommend this software.

@dpastern commented on GitHub (Mar 8, 2023): So, what about a fix for those of us using youtube-dl on Windows, having downloaded the windows binary direct from the website? Not using pip, etc, so can't force-install. It seems the new dev has dropped youtube-dl like a hot potato... I don't want to have to fuck around with install from src, or a 3rd party installer like pip etc. I want to keep it simple. This is becoming very frustrating at how unreliable youtube-dl has become. Not a happy camper. Yes, I know this is 'free software' and no guarantees made etc, but it's still shit "support". I honestly can no longer recommend this software.
Author
Owner

@itagagaki commented on GitHub (Mar 8, 2023):

@dpastern I understand your feelings. I don't see why they don't release a modified binary as soon as possible either.
But there was a solution in this very very long thread.
https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611

I download the exe from the fork (where it says example) and use it.
It works.

@itagagaki commented on GitHub (Mar 8, 2023): @dpastern I understand your feelings. I don't see why they don't release a modified binary as soon as possible either. But there was a solution in this very very long thread. https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611 I download the exe from the fork (where it says example) and use it. It works.
Author
Owner

@nicolaasjan commented on GitHub (Mar 8, 2023):

I don't see why they don't release a modified binary as soon as possible either.

There are still some things that have to be resolved.
Issue #30644.

@nicolaasjan commented on GitHub (Mar 8, 2023): > I don't see why they don't release a modified binary as soon as possible either. There are still some things that have to be resolved. Issue #30644.
Author
Owner

@kkarhan commented on GitHub (Mar 8, 2023):

I guess the only valid option now is migrating to yt-dlp...

@kkarhan commented on GitHub (Mar 8, 2023): I guess the only valid option now is migrating to [yt-dlp](https://github.com/yt-dlp/yt-dlp)...
Author
Owner

@dominiquehausser commented on GitHub (Mar 8, 2023):

Same problem on Ubuntu 22.10
youtube-dl --verbose https://youtu.be/fVgdWHYQv_E
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://youtu.be/fVgdWHYQv_E']
[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.7 (CPython) - Linux-5.19.0-1018-lowlatency-x86_64-with-glibc2.36
[debug] exe versions: ffmpeg 5.1.1, ffprobe 5.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] fVgdWHYQv_E: 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.

@dominiquehausser commented on GitHub (Mar 8, 2023): Same problem on Ubuntu 22.10 youtube-dl --verbose https://youtu.be/fVgdWHYQv_E [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', 'https://youtu.be/fVgdWHYQv_E'] [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.7 (CPython) - Linux-5.19.0-1018-lowlatency-x86_64-with-glibc2.36 [debug] exe versions: ffmpeg 5.1.1, ffprobe 5.1.1, rtmpdump 2.4 [debug] Proxy map: {} [youtube] fVgdWHYQv_E: 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.
Author
Owner

@udippel commented on GitHub (Mar 8, 2023):

Same problem on Ubuntu 22.10

Isn't any longer.
Read further up. Start at the very top.

@udippel commented on GitHub (Mar 8, 2023): > Same problem on Ubuntu 22.10 Isn't any longer. Read further up. Start at the very top.
Author
Owner

@wcndave commented on GitHub (Mar 8, 2023):

@dirkf

@wcndave,

"below" is an actual hypertext link: use it. Owing to GH idiocy, JS is required just to follow the link.

Yes, I clicked the link and it did nothing....

Today it seems to link to a comment by you, which says a) wait for package b) you're using pip, c) use something else...
I was kind of thinking there would be a fix like the other comment, to modify the code to remove the FATAL exception or something.

I didn't think the comment was related to the "here's how to fix it", as it didn't fix it... sorry...

I have now installed Python3 and yt-dlp, however perhaps the instructions/solution could be clearer.
For example, when can you use one of those single forked binaries, and what do you have to do to make that happen?
I assume that a windows user for example, can follow that link, download the .exe and replace their existing exe and it all just works?

@wcndave commented on GitHub (Mar 8, 2023): @dirkf > @wcndave, > > "below" is an actual hypertext link: use it. Owing to GH idiocy, JS is required **just to follow the link**. Yes, I clicked the link and it did nothing.... Today it seems to link to a comment by you, which says a) wait for package b) you're using pip, c) use something else... I was kind of thinking there would be a fix like the other comment, to modify the code to remove the FATAL exception or something. I didn't think the comment was related to the "here's how to fix it", as it didn't fix it... sorry... I have now installed Python3 and yt-dlp, however perhaps the instructions/solution could be clearer. For example, when can you use one of those single forked binaries, and what do you have to do to make that happen? I assume that a windows user for example, can follow that link, download the .exe and replace their existing exe and it all just works?
Author
Owner

@dpastern commented on GitHub (Mar 8, 2023):

@dpastern I understand your feelings. I don't see why they don't release a modified binary as soon as possible either. But there was a solution in this very very long thread. #31530 (comment)

I download the exe from the fork (where it says example) and use it. It works.

yes, I ended up downloading the fork. I saw that, but I didn't expect that to be the "only" answer...

@dpastern commented on GitHub (Mar 8, 2023): > @dpastern I understand your feelings. I don't see why they don't release a modified binary as soon as possible either. But there was a solution in this very very long thread. [#31530 (comment)](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611) > > I download the exe from the fork (where it says example) and use it. It works. yes, I ended up downloading the fork. I saw that, but I didn't expect that to be the "only" answer...
Author
Owner

@dpastern commented on GitHub (Mar 8, 2023):

I guess the only valid option now is migrating to yt-dlp...

yeah, it appears so.,..and that's what I ended up doing.

@dpastern commented on GitHub (Mar 8, 2023): > I guess the only valid option now is migrating to [yt-dlp](https://github.com/yt-dlp/yt-dlp)... yeah, it appears so.,..and that's what I ended up doing.
Author
Owner

@dirkf commented on GitHub (Mar 8, 2023):

The nightly builds offered by helpful downstream(s) include single file executables for both Windows and POSIX (Linux/macOS).

@dirkf commented on GitHub (Mar 8, 2023): The nightly builds offered by helpful downstream(s) include single file executables for both Windows and POSIX (Linux/macOS).
Author
Owner

@Cheeseless commented on GitHub (Mar 8, 2023):

Ok, but why doesn't this repo publish new releases itself? Why do
downstreams have to provide them? Why hasn't the pull request that's
supposed to allow for new releases to happen not been merged yet?

On Wed, Mar 8, 2023 at 8:23 AM dirkf @.***> wrote:

The nightly builds offered by helpful downstream(s) include single file
executables for both Windows and POSIX (Linux/macOS).


Reply to this email directly, view it on GitHub
https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1460151045,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTAHD6RLPDWWKKT4PFKX5TW3CB6JANCNFSM6AAAAAAU6HECQY
.
You are receiving this because you commented.Message ID:
@.***>

@Cheeseless commented on GitHub (Mar 8, 2023): Ok, but why doesn't this repo publish new releases itself? Why do downstreams have to provide them? Why hasn't the pull request that's supposed to allow for new releases to happen not been merged yet? On Wed, Mar 8, 2023 at 8:23 AM dirkf ***@***.***> wrote: > The nightly builds offered by helpful downstream(s) include single file > executables for both Windows and POSIX (Linux/macOS). > > — > Reply to this email directly, view it on GitHub > <https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1460151045>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABTAHD6RLPDWWKKT4PFKX5TW3CB6JANCNFSM6AAAAAAU6HECQY> > . > You are receiving this because you commented.Message ID: > ***@***.***> >
Author
Owner

@kousu commented on GitHub (Mar 8, 2023):

I just made sure to test completely removing youtube-dl, before installing through pip and it didn't work, before running that command to re-install from master through pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl --force-reinstall, and it worked!

This worked for me too! I used a virtualenv to help make sure the from-source install wouldn't get mixed up.

Broken version
[kousu@bomp ~]$ python -m venv .local/share/ytdl-env
[kousu@bomp ~]$ . .local/share/ytdl-env/bin/activate
(ytdl-env) [kousu@bomp ~]$ pip install -U youtube-dl
Collecting youtube-dl
  Downloading youtube_dl-2021.12.17-py2.py3-none-any.whl (1.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 653.4 kB/s eta 0:00:00
Installing collected packages: youtube-dl
Successfully installed youtube-dl-2021.12.17

[notice] A new release of pip available: 22.3.1 -> 23.0.1
[notice] To update, run: pip install --upgrade pip
(ytdl-env) [kousu@bomp ~]$ cd /run/media/kousu/kousu/dancepop
(ytdl-env) [kousu@bomp dancepop]$ pip install -U youtube-dlyoutube-dl --extract-audio https://www.youtube.com/watch?v=g_uoH6hJilc^C
(ytdl-env) [kousu@bomp dancepop]$ youtube-dl --extract-audio https://www.youtube.com/watch?v=g_uoH6hJilc
[youtube] g_uoH6hJilc: 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.
(ytdl-env) [kousu@bomp dancepop]$ youtube-dl --verbose --extract-audio https://www.youtube.com/watch?v=g_uoH6hJilc
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--extract-audio', 'https://www.youtube.com/watch?v=g_uoH6hJilc']
[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.2.1-arch1-1-x86_64-with-glibc2.37
[debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] g_uoH6hJilc: 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/kousu/.local/share/ytdl-env/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/home/kousu/.local/share/ytdl-env/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/home/kousu/.local/share/ytdl-env/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/home/kousu/.local/share/ytdl-env/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/kousu/.local/share/ytdl-env/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.
Working Version
(ytdl-env) [kousu@bomp dancepop]$ pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl --force-reinstall
Collecting youtube_dl
  Cloning https://github.com/ytdl-org/youtube-dl.git (to revision master) to /tmp/pip-install-jkjcue_2/youtube-dl_48fb42d56d9b4a0aba30cf6f4592c2d0
  Running command git clone --filter=blob:none --quiet https://github.com/ytdl-org/youtube-dl.git /tmp/pip-install-jkjcue_2/youtube-dl_48fb42d56d9b4a0aba30cf6f4592c2d0
  Resolved https://github.com/ytdl-org/youtube-dl.git to commit 27d41d73655b8fbf2dedf88cac96220520d526b5
  Preparing metadata (setup.py) ... done
Installing collected packages: youtube_dl
  Attempting uninstall: youtube_dl
    Found existing installation: youtube-dl 2021.12.17
    Uninstalling youtube-dl-2021.12.17:
      Successfully uninstalled youtube-dl-2021.12.17
  DEPRECATION: youtube_dl is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for youtube_dl ... done
Successfully installed youtube_dl-2021.12.17

[notice] A new release of pip available: 22.3.1 -> 23.0.1
[notice] To update, run: pip install --upgrade pip
(ytdl-env) [kousu@bomp dancepop]$ youtube-dl --verbose --extract-audio https://www.youtube.com/watch?v=g_uoH6hJilc
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--extract-audio', 'https://www.youtube.com/watch?v=g_uoH6hJilc']
[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.2.1-arch1-1-x86_64-with-glibc2.37
[debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] g_uoH6hJilc: Downloading webpage
[youtube] g_uoH6hJilc: Downloading player 21246a91
[debug] [youtube] Decrypted nsig NrTmByFSYsLNiVYEi => bY91iYgAX7MG1A
[debug] [youtube] Decrypted nsig y8F-7d7d2HWKGLWsj => kjyuzEdT5kqXnw
[debug] Invoking downloader on 'https://rr3---sn-gvbxgn-tvf6.googlevideo.com/videoplayback?expire=1678328070&ei=puwIZJunIoLNhgaaoLXoDg&ip=2605%3A8d80%3A540%3A92d5%3A2ab2%3Abdff%3Afe34%3A5a26&id=o-AFwma9QRaHoGJL7bEKlpgvq0mLHlgWsLQ27e_vHWQCEi&itag=140&source=youtube&requiressl=yes&mh=0_&mm=31%2C29&mn=sn-gvbxgn-tvf6%2Csn-gvbxgn-tt1ed&ms=au%2Crdu&mv=m&mvi=3&pl=50&gcr=ca&initcwndbps=570000&vprv=1&mime=audio%2Fmp4&ns=cmfpVf1nB-U5YMlddJ7HR64L&gir=yes&clen=3793188&dur=234.335&lmt=1574985600920872&mt=1678306169&fvip=2&keepalive=yes&fexp=24007246&beids=24472442&c=WEB&txp=5531432&n=bY91iYgAX7MG1A&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cgcr%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgBBqk1nwxnmnYzt0DuvtKmXnl7v_ncPC98WKmsa-jLNsCIQC1SyHn6h7WYCOKTZ2EHwNwiF6D1pMNddtmxQnb9qP_9A%3D%3D&sig=AOq0QJ8wRQIhAK_P02512jzyxYUFTgVOa4T645UxocXHZSwg4cpK6pk3AiAS9Cy75g7eAAt3VJMwTQ-sHcbNPU7QI4gqvOlAsuGh8g%3D%3D'
[dashsegments] Total fragments: 1
[download] Destination: Years & Years - King (Official Video)-g_uoH6hJilc.m4a
[download] 100% of 3.62MiB in 00:11
[ffmpeg] Correcting container in "Years & Years - King (Official Video)-g_uoH6hJilc.m4a"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:Years & Years - King (Official Video)-g_uoH6hJilc.m4a' -c copy -f mp4 'file:Years & Years - King (Official Video)-g_uoH6hJilc.temp.m4a'
[debug] ffmpeg command line: ffprobe -show_streams 'file:Years & Years - King (Official Video)-g_uoH6hJilc.m4a'
[ffmpeg] Post-process file Years & Years - King (Official Video)-g_uoH6hJilc.m4a exists, skipping

It's kind of wild that this didn't beak for a year and a half. Good job, youtube-dl team :)

@kousu commented on GitHub (Mar 8, 2023): > I just made sure to test completely removing youtube-dl, before installing through pip and it didn't work, before running that command to re-install from master through `pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl --force-reinstall`, and it worked! This worked for me too! I used a virtualenv to help make sure the from-source install wouldn't get mixed up. <details><summary>Broken version</summary> ``` [kousu@bomp ~]$ python -m venv .local/share/ytdl-env [kousu@bomp ~]$ . .local/share/ytdl-env/bin/activate (ytdl-env) [kousu@bomp ~]$ pip install -U youtube-dl Collecting youtube-dl Downloading youtube_dl-2021.12.17-py2.py3-none-any.whl (1.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 653.4 kB/s eta 0:00:00 Installing collected packages: youtube-dl Successfully installed youtube-dl-2021.12.17 [notice] A new release of pip available: 22.3.1 -> 23.0.1 [notice] To update, run: pip install --upgrade pip (ytdl-env) [kousu@bomp ~]$ cd /run/media/kousu/kousu/dancepop (ytdl-env) [kousu@bomp dancepop]$ pip install -U youtube-dlyoutube-dl --extract-audio https://www.youtube.com/watch?v=g_uoH6hJilc^C (ytdl-env) [kousu@bomp dancepop]$ youtube-dl --extract-audio https://www.youtube.com/watch?v=g_uoH6hJilc [youtube] g_uoH6hJilc: 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. (ytdl-env) [kousu@bomp dancepop]$ youtube-dl --verbose --extract-audio https://www.youtube.com/watch?v=g_uoH6hJilc [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', '--extract-audio', 'https://www.youtube.com/watch?v=g_uoH6hJilc'] [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.2.1-arch1-1-x86_64-with-glibc2.37 [debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2, rtmpdump 2.4 [debug] Proxy map: {} [youtube] g_uoH6hJilc: 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/kousu/.local/share/ytdl-env/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/home/kousu/.local/share/ytdl-env/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/home/kousu/.local/share/ytdl-env/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/home/kousu/.local/share/ytdl-env/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/kousu/.local/share/ytdl-env/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. ``` </details> <details><summary>Working Version</summary> ``` (ytdl-env) [kousu@bomp dancepop]$ pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl --force-reinstall Collecting youtube_dl Cloning https://github.com/ytdl-org/youtube-dl.git (to revision master) to /tmp/pip-install-jkjcue_2/youtube-dl_48fb42d56d9b4a0aba30cf6f4592c2d0 Running command git clone --filter=blob:none --quiet https://github.com/ytdl-org/youtube-dl.git /tmp/pip-install-jkjcue_2/youtube-dl_48fb42d56d9b4a0aba30cf6f4592c2d0 Resolved https://github.com/ytdl-org/youtube-dl.git to commit 27d41d73655b8fbf2dedf88cac96220520d526b5 Preparing metadata (setup.py) ... done Installing collected packages: youtube_dl Attempting uninstall: youtube_dl Found existing installation: youtube-dl 2021.12.17 Uninstalling youtube-dl-2021.12.17: Successfully uninstalled youtube-dl-2021.12.17 DEPRECATION: youtube_dl is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559 Running setup.py install for youtube_dl ... done Successfully installed youtube_dl-2021.12.17 [notice] A new release of pip available: 22.3.1 -> 23.0.1 [notice] To update, run: pip install --upgrade pip (ytdl-env) [kousu@bomp dancepop]$ youtube-dl --verbose --extract-audio https://www.youtube.com/watch?v=g_uoH6hJilc [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', '--extract-audio', 'https://www.youtube.com/watch?v=g_uoH6hJilc'] [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.2.1-arch1-1-x86_64-with-glibc2.37 [debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2, rtmpdump 2.4 [debug] Proxy map: {} [youtube] g_uoH6hJilc: Downloading webpage [youtube] g_uoH6hJilc: Downloading player 21246a91 [debug] [youtube] Decrypted nsig NrTmByFSYsLNiVYEi => bY91iYgAX7MG1A [debug] [youtube] Decrypted nsig y8F-7d7d2HWKGLWsj => kjyuzEdT5kqXnw [debug] Invoking downloader on 'https://rr3---sn-gvbxgn-tvf6.googlevideo.com/videoplayback?expire=1678328070&ei=puwIZJunIoLNhgaaoLXoDg&ip=2605%3A8d80%3A540%3A92d5%3A2ab2%3Abdff%3Afe34%3A5a26&id=o-AFwma9QRaHoGJL7bEKlpgvq0mLHlgWsLQ27e_vHWQCEi&itag=140&source=youtube&requiressl=yes&mh=0_&mm=31%2C29&mn=sn-gvbxgn-tvf6%2Csn-gvbxgn-tt1ed&ms=au%2Crdu&mv=m&mvi=3&pl=50&gcr=ca&initcwndbps=570000&vprv=1&mime=audio%2Fmp4&ns=cmfpVf1nB-U5YMlddJ7HR64L&gir=yes&clen=3793188&dur=234.335&lmt=1574985600920872&mt=1678306169&fvip=2&keepalive=yes&fexp=24007246&beids=24472442&c=WEB&txp=5531432&n=bY91iYgAX7MG1A&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cgcr%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgBBqk1nwxnmnYzt0DuvtKmXnl7v_ncPC98WKmsa-jLNsCIQC1SyHn6h7WYCOKTZ2EHwNwiF6D1pMNddtmxQnb9qP_9A%3D%3D&sig=AOq0QJ8wRQIhAK_P02512jzyxYUFTgVOa4T645UxocXHZSwg4cpK6pk3AiAS9Cy75g7eAAt3VJMwTQ-sHcbNPU7QI4gqvOlAsuGh8g%3D%3D' [dashsegments] Total fragments: 1 [download] Destination: Years & Years - King (Official Video)-g_uoH6hJilc.m4a [download] 100% of 3.62MiB in 00:11 [ffmpeg] Correcting container in "Years & Years - King (Official Video)-g_uoH6hJilc.m4a" [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:Years & Years - King (Official Video)-g_uoH6hJilc.m4a' -c copy -f mp4 'file:Years & Years - King (Official Video)-g_uoH6hJilc.temp.m4a' [debug] ffmpeg command line: ffprobe -show_streams 'file:Years & Years - King (Official Video)-g_uoH6hJilc.m4a' [ffmpeg] Post-process file Years & Years - King (Official Video)-g_uoH6hJilc.m4a exists, skipping ``` </details> It's kind of wild that this didn't beak for a year and a half. Good job, youtube-dl team :)
Author
Owner

@woodandwireware commented on GitHub (Mar 8, 2023):

I just wanted to say thank you to the developer(s) of this module. I have been using for a while and it broke re the extractor ID as several have noted. I searched and came up with a trail here. I am a NOVICE python user and was figuring out how to update the module so my code would work. I'm sure this is not proper but for those dabblers like myself this worked. Afterdownloading the yt-dip-master, I copied the files from the yt_dlp folder to my local python site-packages, backed up my original file set in youtube_dl and dropped in the Github set. Closed and re-opened Thonny and boom, it worked beautifully! Many thanks!!

@woodandwireware commented on GitHub (Mar 8, 2023): I just wanted to say thank you to the developer(s) of this module. I have been using for a while and it broke re the extractor ID as several have noted. I searched and came up with a trail here. I am a NOVICE python user and was figuring out how to update the module so my code would work. I'm sure this is not proper but for those dabblers like myself this worked. Afterdownloading the yt-dip-master, I copied the files from the yt_dlp folder to my local python site-packages, backed up my original file set in youtube_dl and dropped in the Github set. Closed and re-opened Thonny and boom, it worked beautifully! Many thanks!!
Author
Owner

@papel commented on GitHub (Mar 8, 2023):

Hello. I see it was fixed 2 weeks ago. When will the new version with the fix be released?

I tried
youtube-dl -U
but the version is old
youtube-dl is up-to-date (2021.12.17)

@papel commented on GitHub (Mar 8, 2023): Hello. I see it was fixed 2 weeks ago. When will the new version with the fix be released? I tried youtube-dl -U but the version is old youtube-dl is up-to-date (2021.12.17)
Author
Owner

@dpastern commented on GitHub (Mar 8, 2023):

Hello. I see it was fixed 2 weeks ago. When will the new version with the fix be released?

I tried youtube-dl -U but the version is old youtube-dl is up-to-date (2021.12.17)

I don't think that they'll fix youtube-dl anymore. It's just getting the ignored treatment now.

Hello. I see it was fixed 2 weeks ago. When will the new version with the fix be released?

I tried youtube-dl -U but the version is old youtube-dl is up-to-date (2021.12.17)

It seems that Youtube-dl won't be updated and will just be ignored by the dev now. Probably best to grab yt-dlp. I see someone (probably the dev) is hiding my comments now. Man, this is fucked. Complain about stuff that's broken and you get silenced.

I'm outta here. The new devs are fucking shit.

@dpastern commented on GitHub (Mar 8, 2023): > Hello. I see it was fixed 2 weeks ago. When will the new version with the fix be released? > > I tried youtube-dl -U but the version is old youtube-dl is up-to-date (2021.12.17) I don't think that they'll fix youtube-dl anymore. It's just getting the ignored treatment now. > Hello. I see it was fixed 2 weeks ago. When will the new version with the fix be released? > > I tried youtube-dl -U but the version is old youtube-dl is up-to-date (2021.12.17) It seems that Youtube-dl won't be updated and will just be ignored by the dev now. Probably best to grab yt-dlp. I see someone (probably the dev) is hiding my comments now. Man, this is fucked. Complain about stuff that's broken and you get silenced. I'm outta here. The new devs are fucking shit.
Author
Owner

@MdeLv commented on GitHub (Mar 9, 2023):

Side question (so I don't open a new issue for that)

Hi
As already mentioned here : Same issue on debian 11, solved with the mentioned procedure and installation of the debian package python-is-python3.

1/ Reading this very long page, I understand that the root cause may be a change in the yt page. Is it correct ?
Or what is the root cause of this problem?

2/ About this file youtube-dl
Is it not supposed to be a python READABLE auditable program???
This is a key question.

$ cat youtube-dl
#!/usr/bin/env python3
PK^C^D^T^@^@^@^H^@ ^H!(���r�k^@^@Լ^A^@^W^@^\^@youtube_dl/YoutubeDL.pyUT ^@^C�Qm8�Qm8ux^K^@^A^D�^C^@^@^D{>
d��>vu�~�:�e�-�f%^?7�N{��ʥ�zV��f[Ϯ

3/ Why is there so many issues with this software? (3.8k)
What are the main causes ? (e.g. yt page structure changes, error in specification, error in implementation...)

@MdeLv commented on GitHub (Mar 9, 2023): **Side question** (so I don't open a new issue for that) --- Hi As already mentioned [here](https://github.com/ytdl-org/youtube-dl/issues/31800#issuecomment-1462102351) : Same issue on debian 11, solved with the [mentioned procedure](https://github.com/ytdl-org/youtube-dl/issues/31800#issuecomment-1461648643) and installation of the debian package `python-is-python3`. 1/ Reading this very long page, I understand that the root cause may be a change in the yt page. Is it correct ? Or what is the root cause of this problem? 2/ About this file `youtube-dl` Is it not supposed to be a python READABLE auditable program??? This is a **key question**. ``` $ cat youtube-dl #!/usr/bin/env python3 PK^C^D^T^@^@^@^H^@ ^H!(���r�k^@^@Լ^A^@^W^@^\^@youtube_dl/YoutubeDL.pyUT ^@^C�Qm8�Qm8ux^K^@^A^D�^C^@^@^D{> d��>vu�~�:�e�-�f%^?7�N{��ʥ�zV��f[Ϯ ``` 3/ Why is there so many issues with this software? (3.8k) What are the main causes ? (e.g. yt page structure changes, error in specification, error in implementation...)
Author
Owner

@bitzspider commented on GitHub (Mar 9, 2023):

The forked yt-dlp is working for me. The youtube-dl version is still not working.
Until the previous version is fixed, may want to try the forked version for now.
https://github.com/yt-dlp/yt-dlp

@bitzspider commented on GitHub (Mar 9, 2023): The forked yt-dlp is working for me. The youtube-dl version is still not working. Until the previous version is fixed, may want to try the forked version for now. https://github.com/yt-dlp/yt-dlp
Author
Owner

@verybluebot commented on GitHub (Mar 9, 2023):

The forked yt-dlp is working for me. The youtube-dl version is still not working. Until the previous version is fixed, may want to try the forked version for now. https://github.com/yt-dlp/yt-dlp

bitzspider Can you share please which installation you used? Also, which version? (last release? build from master etc)

EDIT:
Used yt-dlp version 2023.03.04
Installed using pip python3 -m pip install --no-deps -U yt-dlp

Works like a charm

@verybluebot commented on GitHub (Mar 9, 2023): > The forked yt-dlp is working for me. The youtube-dl version is still not working. Until the previous version is fixed, may want to try the forked version for now. https://github.com/yt-dlp/yt-dlp [bitzspider](https://github.com/bitzspider) Can you share please which installation you used? Also, which version? (last release? build from master etc) EDIT: Used `yt-dlp version 2023.03.04` Installed using pip `python3 -m pip install --no-deps -U yt-dlp` Works like a charm
Author
Owner

@caldodge commented on GitHub (Mar 9, 2023):

My thanks - due to this, I was alerted to yt-dlp, and it's downloading videos which youtube-dl errored out on.

Bonus: when using the "-f N" option, yt-dlp is orders of magnitude faster than youtube-dl was.

@caldodge commented on GitHub (Mar 9, 2023): My thanks - due to this, I was alerted to yt-dlp, and it's downloading videos which youtube-dl errored out on. Bonus: when using the "-f N" option, yt-dlp is orders of magnitude faster than youtube-dl was.
Author
Owner

@dirkf commented on GitHub (Mar 9, 2023):

1/ Reading this very long page, I understand that the root cause may be a change in the yt page. Is it correct ?

It must be, because that's the first line of the 2nd paragraph of the Description.

2/ About this file youtube-dl
Is it not supposed to be a python READABLE auditable program???
This is a key question.

See FAQ.

From a duplicate issue:

in the shebang (the first line, it looks like that: #!/usr/bin/env python) change "python" to "python3" (no spaces between python and 3)

This could, depending on the tool used to edit the file and the installation type, result in a non-functional youtube-dl executable.

And see my post above from 1 March that GH makes it difficult to find (no pagination, no in-issue search, really hopeless) for a script, or use a package like python-is-python3, or make a symbolic link.

3/ Why is there so many issues with this software? (3.8k)

Feel free to help triage the open, mostly historical, issues, mostly to do with changes in website structure.

Bonus: when using the "-f N" option, yt-dlp is orders of magnitude faster than youtube-dl was.

yt-dl git master downloads at roughly the same speed as yt-dlp.

@dirkf commented on GitHub (Mar 9, 2023): >1/ Reading this very long page, I understand that the root cause may be a change in the yt page. Is it correct ? It must be, because that's the first line of the 2nd paragraph of the Description. >2/ About this file youtube-dl Is it not supposed to be a python READABLE auditable program??? This is a key question. See [FAQ](https://github.com/ytdl-org/youtube-dl#what-is-this-binary-file-where-has-the-code-gone). From a duplicate issue: > in the shebang (the first line, it looks like that: #!/usr/bin/env python) change "python" to "python3" (no spaces between python and 3) This could, depending on the tool used to edit the file and the installation type, result in a non-functional `youtube-dl` executable. And see [my post above from 1 March](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1449990989) that GH makes it difficult to find (no pagination, no in-issue search, really hopeless) for a script, or use a package like _python-is-python3_, or make a symbolic link. >3/ Why is there so many issues with this software? (3.8k) Feel free to help triage the open, mostly historical, issues, mostly to do with changes in website structure. >Bonus: when using the "-f N" option, yt-dlp is orders of magnitude faster than youtube-dl was. yt-dl git master downloads at roughly the same speed as yt-dlp.
Author
Owner

@wcndave commented on GitHub (Mar 9, 2023):

In contrast to some (only some) other comments, I want to thank all contributors for this software which has been super helpful for many years, which I have used for free, whilst still asking questions and time of others, and which has also laid the foundations for various branches which may offer newer options, and is all maintained by volunteers.... It's all free time, and I thank you all.

@wcndave commented on GitHub (Mar 9, 2023): In contrast to some (only some) other comments, I want to thank all contributors for this software which has been super helpful for many years, which I have used for free, whilst still asking questions and time of others, and which has also laid the foundations for various branches which may offer newer options, and is all maintained by volunteers.... It's all free time, and I thank you all.
Author
Owner

@joeldcanfield commented on GitHub (Mar 9, 2023):

Flailed around trying to get the homebrew version working, but this, as mentioned above, worked for me:

pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl --force-reinstall

I have used and loved youtube-dl for quite some time. Thanks to all who support it.

@joeldcanfield commented on GitHub (Mar 9, 2023): Flailed around trying to get the homebrew version working, but this, as mentioned above, worked for me: `pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl --force-reinstall` I have used and loved youtube-dl for quite some time. Thanks to all who support it.
Author
Owner

@ReenigneArcher commented on GitHub (Mar 9, 2023):

Feel free to help triage the open, mostly historical, issues, mostly to do with changes in website structure.

Use this action to auto close stale issues (and PRs). https://github.com/actions/stale

It can help a lot with popular projects like this where users don't respect standard GitHub etiquette. I can share an example use case if you need one.

I'd also suggest opening up GitHub discussions and directing users there for questions and support. Issues should be reserved for true bug reports.

P.S. I really hope you can sort out the release issues soon. I really couldn't care less about all the binaries, I personally just need a new release published to PyPi. Installing from git is not the best idea for those managing project dependencies with Dependabot. We like to know exactly when our dependencies change as it helps narrow down issues.

@ReenigneArcher commented on GitHub (Mar 9, 2023): > Feel free to help triage the open, mostly historical, issues, mostly to do with changes in website structure. Use this action to auto close stale issues (and PRs). https://github.com/actions/stale It can help a lot with popular projects like this where users don't respect standard GitHub etiquette. I can share an example use case if you need one. I'd also suggest opening up GitHub discussions and directing users there for questions and support. Issues should be reserved for true bug reports. P.S. I really hope you can sort out the release issues soon. I really couldn't care less about all the binaries, I personally just need a new release published to PyPi. Installing from git is not the best idea for those managing project dependencies with Dependabot. We like to know exactly when our dependencies change as it helps narrow down issues.
Author
Owner

@jcubic commented on GitHub (Mar 9, 2023):

@ReenigneArcher it will not help if people keep commenting on this issue. They would need to stop for a while before the action will close the issue. Unless you talk about other issues. I always think this is really rude to close an issue that no one commending on for a month. I've seen people reopening by hand what action is closing and making it even worse.

@jcubic commented on GitHub (Mar 9, 2023): @ReenigneArcher it will not help if people keep commenting on this issue. They would need to stop for a while before the action will close the issue. Unless you talk about other issues. I always think this is really rude to close an issue that no one commending on for a month. I've seen people reopening by hand what action is closing and making it even worse.
Author
Owner

@ReenigneArcher commented on GitHub (Mar 9, 2023):

@jcubic It's not meant to close issues that are active, like this one. I use it in my repos, and close after 100 days. They're given a 10 day notice that they need to comment or it will close so developers can focus on active issues. If they can't be bothered to check in, within a 100 day period the issue gets closed.

The fact is 3k issues is too overwhelming for the development team on any project.

@ReenigneArcher commented on GitHub (Mar 9, 2023): @jcubic It's not meant to close issues that are active, like this one. I use it in my repos, and close after 100 days. They're given a 10 day notice that they need to comment or it will close so developers can focus on active issues. If they can't be bothered to check in, within a 100 day period the issue gets closed. The fact is 3k issues is too overwhelming for the development team on any project.
Author
Owner

@dirkf commented on GitHub (Mar 9, 2023):

The fact is 3k issues is too overwhelming for the development team on any project.

It's not important if old issues hang about, as long as problems that people care about, by commenting on them with up-to-date test cases, get fixed. Obviously it would be possible to close all currently open issues every time a release is made ("old version"). Personally I find it quite unhelpful if maintainers (ffmpeg, eg) take that attitude, even if I understand why.

Currently,

  • of the most recent 25 closed issues that are not explicit duplicates, some 13 have been resolved and the rest are mostly probable duplicates of this issue that the reporters did not formulate well enough, or other incomplete or invalid issues
  • of the most recent 25 open issues, some 10 have been resolved with a commit, a patch, a pending PR, or a definitive 'not possible', but not yet closed, 4 should be resolved by a back-port from yt-dlp, 5 have a known way forward, 3 need more clarification, and the rest are unsolved.

I think this is not unreasonable.

@dirkf commented on GitHub (Mar 9, 2023): >The fact is 3k issues is too overwhelming for the development team on any project. It's not important if old issues hang about, as long as problems that people care about, by commenting on them with up-to-date test cases, get fixed. Obviously it would be possible to close all currently open issues every time a release is made ("old version"). Personally I find it quite unhelpful if maintainers (_ffmpeg_, eg) take that attitude, even if I understand why. Currently, * of the most recent 25 closed issues that are not explicit duplicates, some 13 have been resolved and the rest are mostly probable duplicates of this issue that the reporters did not formulate well enough, or other incomplete or invalid issues * of the most recent 25 open issues, some 10 have been resolved with a commit, a patch, a pending PR, or a definitive 'not possible', but not yet closed, 4 should be resolved by a back-port from _yt-dlp_, 5 have a known way forward, 3 need more clarification, and the rest are unsolved. I think this is not unreasonable.
Author
Owner

@NicTanghe commented on GitHub (Mar 10, 2023):

Hello, I'm on RHEL9 and did a manual installation of the latest version just now.
youtube-dl is up-to-date (2021.12.17)

youtube-dl https://www.youtube.com/watch?v=Fa0FoYQvhyc
[youtube] Fa0FoYQvhyc: Downloading webpage
ERROR: Unable to extract uploader id;

@NicTanghe commented on GitHub (Mar 10, 2023): Hello, I'm on RHEL9 and did a manual installation of the latest version just now. `youtube-dl is up-to-date (2021.12.17)` youtube-dl https://www.youtube.com/watch?v=Fa0FoYQvhyc [youtube] Fa0FoYQvhyc: Downloading webpage ERROR: Unable to extract uploader id;
Author
Owner

@udippel commented on GitHub (Mar 10, 2023):

Hello, I'm on RHEL9 and did a manual installation of the latest version just now.

What is a 'manual installation'? Don't answer. Just go to the very top here, and start reading. Not much of a problem to install a working version in Linux.

@udippel commented on GitHub (Mar 10, 2023): > Hello, I'm on RHEL9 and did a manual installation of the latest version just now. What is a 'manual installation'? Don't answer. Just go to the very top here, and start reading. Not much of a problem to install a working version in Linux.
Author
Owner

@thomaswardiii commented on GitHub (Mar 10, 2023):

Hello, I'm on RHEL9 and did a manual installation of the latest version just now. youtube-dl is up-to-date (2021.12.17)

youtube-dl https://www.youtube.com/watch?v=Fa0FoYQvhyc [youtube] Fa0FoYQvhyc: Downloading webpage ERROR: Unable to extract uploader id;

Take a look at your version again. That's well over a year old, being from December of 2021.

@thomaswardiii commented on GitHub (Mar 10, 2023): > Hello, I'm on RHEL9 and did a manual installation of the latest version just now. `youtube-dl is up-to-date (2021.12.17)` > > youtube-dl https://www.youtube.com/watch?v=Fa0FoYQvhyc [youtube] Fa0FoYQvhyc: Downloading webpage ERROR: Unable to extract uploader id; Take a look at your version again. That's well over a year old, being from December of 2021.
Author
Owner

@udippel commented on GitHub (Mar 10, 2023):

Take a look at your version again. That's well over a year old, being from December of 2021.

We discussed this further up. It is a misery, but that's how it is: The patched version comes with the same date.

@udippel commented on GitHub (Mar 10, 2023): > Take a look at your version again. That's well over a year old, being from December of 2021. We discussed this further up. It is a misery, but that's how it is: The patched version comes with the same date.
Author
Owner

@ToddAndMargo commented on GitHub (Mar 10, 2023):

Hi All,

Whilst I wait for the new release of youtube-dl,
I installed the Firefox add-on called "Easy Youtube
Video Downloader Express" and it does work with MP4
720P

-T

@ToddAndMargo commented on GitHub (Mar 10, 2023): Hi All, Whilst I wait for the new release of youtube-dl, I installed the Firefox add-on called "Easy Youtube Video Downloader Express" and it does work with MP4 720P -T
Author
Owner

@WafflesMcDuff commented on GitHub (Mar 11, 2023):

Hello. I see it was fixed 2 weeks ago. When will the new version with the fix be released?
I tried youtube-dl -U but the version is old youtube-dl is up-to-date (2021.12.17)

I don't think that they'll fix youtube-dl anymore. It's just getting the ignored treatment now.

Hello. I see it was fixed 2 weeks ago. When will the new version with the fix be released?
I tried youtube-dl -U but the version is old youtube-dl is up-to-date (2021.12.17)

It seems that Youtube-dl won't be updated and will just be ignored by the dev now. Probably best to grab yt-dlp. I see someone (probably the dev) is hiding my comments now. Man, this is fucked. Complain about stuff that's broken and you get silenced.

I'm outta here. The new devs are fucking shit.

Yep. They've marked comments of anyone who is referring to alternative forks that are being maintained and are working as off-topic, out-of-date, or abuse. Absolute garbage way to behave. They haven't released an update in over a year and somehow that's on us?

@WafflesMcDuff commented on GitHub (Mar 11, 2023): > > Hello. I see it was fixed 2 weeks ago. When will the new version with the fix be released? > > I tried youtube-dl -U but the version is old youtube-dl is up-to-date (2021.12.17) > > I don't think that they'll fix youtube-dl anymore. It's just getting the ignored treatment now. > > > Hello. I see it was fixed 2 weeks ago. When will the new version with the fix be released? > > I tried youtube-dl -U but the version is old youtube-dl is up-to-date (2021.12.17) > > It seems that Youtube-dl won't be updated and will just be ignored by the dev now. Probably best to grab yt-dlp. I see someone (probably the dev) is hiding my comments now. Man, this is fucked. Complain about stuff that's broken and you get silenced. > > I'm outta here. The new devs are fucking shit. Yep. They've marked comments of anyone who is referring to alternative forks that are being maintained and are working as off-topic, out-of-date, or abuse. Absolute garbage way to behave. They haven't released an update in over a year and somehow that's on us?
Author
Owner

@dirkf commented on GitHub (Mar 11, 2023):

The recommended upgrade methods including forks or downstreams are listed in the post referenced from the Description. It's well known that the released yt-dlp works: there's no need to say so again. Apart from unofficial nightly builds, a problem with a fork should be raised there. Feel free to fork the project and comment there if you don't want your off-topic, misleading, obsolete or abusive comments hidden.

For avoidance of doubt, though I thought it was clear in the Description, there is no ability or plan to make a manual release: an unofficial nightly build is as close as you can get for now. An automated release will be made when that works.

@dirkf commented on GitHub (Mar 11, 2023): The recommended upgrade methods **including forks or downstreams** are listed in the post referenced from the Description. It's well known that the released _yt-dlp_ works: there's no need to say so again. Apart from unofficial nightly builds, a problem with a fork should be raised there. Feel free to fork the project and comment there if you don't want your off-topic, misleading, obsolete or abusive comments hidden. For avoidance of doubt, though I thought it was clear in the Description, there is no ability or plan to make a manual release: an unofficial nightly build is as close as you can get for now. An automated release will be made when that works.
Author
Owner

@Cheeseless commented on GitHub (Mar 11, 2023):

The recommended upgrade methods including forks or downstreams are listed in the post referenced from the Description. It's well known that the released yt-dlp works: there's no need to say so again. Apart from unofficial nightly builds, a problem with a fork should be raised there. Feel free to fork the project and comment there if you don't want your off-topic, misleading, obsolete or abusive comments hidden.

Could you please, for the sake of resolving the current issue, create a new release that includes the fixes that have been made. In your own recently updated documentation regarding bug reporting, you still recommend using youtube-dl -U, so a release to make that a real troubleshooting step again would be massively helpful. Please publish the release manually if #31585 isn't done yet.

@Cheeseless commented on GitHub (Mar 11, 2023): > The recommended upgrade methods **including forks or downstreams** are listed in the post referenced from the Description. It's well known that the released _yt-dlp_ works: there's no need to say so again. Apart from unofficial nightly builds, a problem with a fork should be raised there. Feel free to fork the project and comment there if you don't want your off-topic, misleading, obsolete or abusive comments hidden. Could you please, for the sake of resolving the current issue, create a new release that includes the fixes that have been made. In your own recently updated documentation regarding bug reporting, you still recommend using `youtube-dl -U`, so a release to make that a real troubleshooting step again would be massively helpful. Please publish the release manually if #31585 isn't done yet.
Author
Owner

@Cheeseless commented on GitHub (Mar 11, 2023):

For avoidance of doubt, though I thought it was clear in the description, there is no ability or plan to make a manual release: an unofficial nightly build is as close as you can get for now.

Wait, no ability or plan? You must have a truly excellent reason for that, and I can't wait to hear it, because if you don't that is extremely troubling.

Please explain, as directly as possible, why there is no plan to make a manual release in light of the fact that automated builds are not currently available and require additional development work.

What would you lose by making a manual release that is worth continuing to deal with the current wave of reports of the same exact issue that would, with zero doubt, be solved by providing the update to youtube-dl -U?

@Cheeseless commented on GitHub (Mar 11, 2023): > For avoidance of doubt, though I thought it was clear in the description, there is no ability or plan to make a manual release: an unofficial nightly build is as close as you can get for now. Wait, no ability or plan? You must have a truly excellent reason for that, and I can't wait to hear it, because if you don't that is extremely troubling. Please explain, as directly as possible, why there is no plan to make a manual release in light of the fact that automated builds are not currently available and require additional development work. What would you lose by making a manual release that is worth continuing to deal with the current wave of reports of the same exact issue that *would*, with zero doubt, be solved by providing the update to `youtube-dl -U`?
Author
Owner

@zaphida commented on GitHub (Mar 11, 2023):

Please explain, as directly as possible, why there is no plan to make a
manual release in light of the fact that automated builds are not currently
available and require additional development work.

On Sun, 12 Mar 2023, 2:49 am Pedro Bento, @.***> wrote:

For avoidance of doubt, though I thought it was clear in the description,
there is no ability or plan to make a manual release: an unofficial nightly
build is as close as you can get for now.

Wait, no ability or plan? You must have a truly excellent reason for that,
and I can't wait to hear it, because if you don't that is extremely
troubling.

Please explain, as directly as possible, why there is no plan to make a
manual release in light of the fact that automated builds are not currently
available and require additional development work.

What would you lose by making a manual release that is worth continuing to
deal with the current wave of reports of the same exact issue that would,
with zero doubt, be solved by providing the update to youtube-dl -U?


Reply to this email directly, view it on GitHub
https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1464939932,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADCYXGUBU54NKJYGKKXZ6G3W3SNJXANCNFSM6AAAAAAU6HECQY
.
You are receiving this because you were mentioned.Message ID:
@.***>

@zaphida commented on GitHub (Mar 11, 2023): Please explain, as directly as possible, why there is no plan to make a manual release in light of the fact that automated builds are not currently available and require additional development work. On Sun, 12 Mar 2023, 2:49 am Pedro Bento, ***@***.***> wrote: > For avoidance of doubt, though I thought it was clear in the description, > there is no ability or plan to make a manual release: an unofficial nightly > build is as close as you can get for now. > > Wait, no ability or plan? You must have a truly excellent reason for that, > and I can't wait to hear it, because if you don't that is extremely > troubling. > > Please explain, as directly as possible, why there is no plan to make a > manual release in light of the fact that automated builds are not currently > available and require additional development work. > > What would you lose by making a manual release that is worth continuing to > deal with the current wave of reports of the same exact issue that *would*, > with zero doubt, be solved by providing the update to youtube-dl -U? > > — > Reply to this email directly, view it on GitHub > <https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1464939932>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ADCYXGUBU54NKJYGKKXZ6G3W3SNJXANCNFSM6AAAAAAU6HECQY> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> >
Author
Owner

@amirsaleem1990 commented on GitHub (Mar 12, 2023):

In any case the extraction of an optional field shouldn't crash the extraction:

-            'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
+            'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id', fatal=False) if owner_profile_url else None,

Worked for me.
Ubuntu 20.04
python: 3.8.10
youtube-dl: 2021.12.17

@amirsaleem1990 commented on GitHub (Mar 12, 2023): > In any case the extraction of an optional field shouldn't crash the extraction: > > ```diff > - 'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None, > + 'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id', fatal=False) if owner_profile_url else None, > ``` Worked for me. Ubuntu 20.04 python: 3.8.10 youtube-dl: 2021.12.17
Author
Owner

@nicolaasjan commented on GitHub (Mar 12, 2023):

@amirsaleem1990
That's not the real fix.
It was fixed with the merging of pull request #31675 two weeks ago.

So, just compile from current source.

@nicolaasjan commented on GitHub (Mar 12, 2023): @amirsaleem1990 That's not the real fix. It was fixed with the merging of pull request #31675 two weeks ago. So, just compile from current source.
Author
Owner

@adampasternak commented on GitHub (Mar 12, 2023):

Could somebody please compile for windows users and place in the /latest subdir, to capture this latest change? I'm checking the link for the .exe now and it has a last-mod date from 2021

@adampasternak commented on GitHub (Mar 12, 2023): Could somebody please compile for windows users and place in the /latest subdir, to capture this latest change? I'm checking the link for the .exe now and it has a last-mod date from 2021
Author
Owner

@dirkf commented on GitHub (Mar 12, 2023):

@adampasternak, use a nightly build (still has the previous release date but tell-tale additional build information is shown), as linked from the Description.

@geoidesic, you aren't actually reading the instructions, and indications are that you didn't properly read the Description, from which the instructions are linked.

@dirkf commented on GitHub (Mar 12, 2023): @adampasternak, use a nightly build (still has the previous release date but tell-tale additional build information is shown), as linked from the Description. @geoidesic, you aren't actually reading the [instructions](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611), and indications are that you didn't properly read the Description, from which the instructions are linked.
Author
Owner

@geoidesic commented on GitHub (Mar 12, 2023):

I don't know if this is fixed. I tried today and got the following (with the latest version):

youtube-dl --version
2021.12.17
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--extract-audio', '--audio-format', 'mp3', 'https://www.youtube.com/watch?v=ntG50eXbBtc', '--output', 'gold.mp3']
[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) - Linux-4.18.0-425.13.1.el8_7.x86_64-x86_64-with-almalinux-8.7-Stone_Smilodon
[debug] exe versions: ffmpeg 4.2.8, ffprobe 4.2.8
[debug] Proxy map: {}
[youtube] ntG50eXbBtc: 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 "/usr/local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/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 "/usr/local/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.
@geoidesic commented on GitHub (Mar 12, 2023): I don't know if this is fixed. I tried today and got the following (with the latest version): ``` youtube-dl --version 2021.12.17 ``` ``` [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', '--extract-audio', '--audio-format', 'mp3', 'https://www.youtube.com/watch?v=ntG50eXbBtc', '--output', 'gold.mp3'] [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) - Linux-4.18.0-425.13.1.el8_7.x86_64-x86_64-with-almalinux-8.7-Stone_Smilodon [debug] exe versions: ffmpeg 4.2.8, ffprobe 4.2.8 [debug] Proxy map: {} [youtube] ntG50eXbBtc: 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 "/usr/local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/usr/local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/usr/local/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/usr/local/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 "/usr/local/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. ```
Author
Owner

@geoidesic commented on GitHub (Mar 12, 2023):

your

@adampasternak, use a nightly build (still has the previous release date but tell-tale additional build information is shown), as linked from the Description.

How? The instructions tell us this:

sudo -H pip3 install --upgrade youtube-dl

How would I use a nightly build?

@geoidesic commented on GitHub (Mar 12, 2023): your > @adampasternak, use a nightly build (still has the previous release date but tell-tale additional build information is shown), as linked from the Description. How? The instructions tell us this: ``` sudo -H pip3 install --upgrade youtube-dl ``` How would I `use a nightly build`?
Author
Owner

@geoidesic commented on GitHub (Mar 13, 2023):

@dirkf ok but then:

  Error [Errno 13] Permission denied: 'git' while executing command git clone -q https://github.com/ytdl-org/youtube-dl.git /tmp/pip-build-5ofp_c1n/youtube-dl

I tried adding the foundry box's public ssh key to my GitHub account but that didn't help. Here's the command I ran:

pip3 install --user foundry git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl
@geoidesic commented on GitHub (Mar 13, 2023): @dirkf ok but then: ``` Error [Errno 13] Permission denied: 'git' while executing command git clone -q https://github.com/ytdl-org/youtube-dl.git /tmp/pip-build-5ofp_c1n/youtube-dl ``` I tried adding the foundry box's public ssh key to my GitHub account but that didn't help. Here's the command I ran: ``` pip3 install --user foundry git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl ```
Author
Owner

@zaphida commented on GitHub (Mar 13, 2023):

Run using sudo

On Mon, 13 Mar 2023, 9:17 pm Noel da Costa, @.***>
wrote:

@dirkf https://github.com/dirkf ok but then:

Error [Errno 13] Permission denied: 'git' while executing command git clone -q https://github.com/ytdl-org/youtube-dl.git /tmp/pip-build-5ofp_c1n/youtube-dl


Reply to this email directly, view it on GitHub
https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1465865497,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADCYXGRNPIBT2AO2L3VTDQTW33X3VANCNFSM6AAAAAAU6HECQY
.
You are receiving this because you were mentioned.Message ID:
@.***>

@zaphida commented on GitHub (Mar 13, 2023): Run using sudo On Mon, 13 Mar 2023, 9:17 pm Noel da Costa, ***@***.***> wrote: > @dirkf <https://github.com/dirkf> ok but then: > > Error [Errno 13] Permission denied: 'git' while executing command git clone -q https://github.com/ytdl-org/youtube-dl.git /tmp/pip-build-5ofp_c1n/youtube-dl > > — > Reply to this email directly, view it on GitHub > <https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1465865497>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ADCYXGRNPIBT2AO2L3VTDQTW33X3VANCNFSM6AAAAAAU6HECQY> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> >
Author
Owner

@geoidesic commented on GitHub (Mar 13, 2023):

@zaphida ok but then I get this:

WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.

(though it does install and solves the problem; no-one likes to be let off with a warning ;)

@geoidesic commented on GitHub (Mar 13, 2023): @zaphida ok but then I get this: ``` WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead. ``` (though it does install and solves the problem; no-one likes to be let off with a warning ;)
Author
Owner

@dirkf commented on GitHub (Mar 13, 2023):

If your yt-dl was installed with a package manager that needed admin, a pip command to update the module will need the same.

If you want to install from the master code without git, you can use a source archive provided by GH: see the blog post linked from the instructions and/or pip documentation.

@dirkf commented on GitHub (Mar 13, 2023): If your yt-dl was installed with a package manager that needed admin, a _pip_ command to update the module will need the same. If you want to install from the master code without _git_, you can use a source archive provided by GH: see the blog post linked from the instructions and/or _pip_ documentation.
Author
Owner

@zaphida commented on GitHub (Mar 13, 2023):

You need to have git installed. sudo apt install git or the equivalent
for your distro.

On 13/03/2023, Noel da Costa @.***> wrote:

@zaphida ok but then I get this:

WARNING: Running pip install with root privileges is generally not a good
idea. Try `pip3 install --user` instead.
Collecting youtube_dl from
***@***.***#egg=youtube_dl
  Cloning https://github.com/ytdl-org/youtube-dl.git (to master) to
/tmp/pip-build-wjzy_jc1/youtube-dl
  Error [Errno 2] No such file or directory: 'git': 'git' while executing
command git clone -q https://github.com/ytdl-org/youtube-dl.git
/tmp/pip-build-wjzy_jc1/youtube-dl
Cannot find command 'git'

--
Reply to this email directly or view it on GitHub:
https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1465981805
You are receiving this because you were mentioned.

Message ID: @.***>

@zaphida commented on GitHub (Mar 13, 2023): You need to have git installed. sudo apt install git or the equivalent for your distro. On 13/03/2023, Noel da Costa ***@***.***> wrote: > @zaphida ok but then I get this: > ``` > WARNING: Running pip install with root privileges is generally not a good > idea. Try `pip3 install --user` instead. > Collecting youtube_dl from > ***@***.***#egg=youtube_dl > Cloning https://github.com/ytdl-org/youtube-dl.git (to master) to > /tmp/pip-build-wjzy_jc1/youtube-dl > Error [Errno 2] No such file or directory: 'git': 'git' while executing > command git clone -q https://github.com/ytdl-org/youtube-dl.git > /tmp/pip-build-wjzy_jc1/youtube-dl > Cannot find command 'git' > ``` > > > -- > Reply to this email directly or view it on GitHub: > https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1465981805 > You are receiving this because you were mentioned. > > Message ID: ***@***.***>
Author
Owner

@shlomiv commented on GitHub (Mar 15, 2023):

Experiencing this as well. Is a fix planned to arrive at a brew-able youtube-dl?

@shlomiv commented on GitHub (Mar 15, 2023): Experiencing this as well. Is a fix planned to arrive at a `brew`-able `youtube-dl`?
Author
Owner

@AdelleBernal commented on GitHub (Mar 15, 2023):

Same problem here.

@AdelleBernal commented on GitHub (Mar 15, 2023): Same problem here.
Author
Owner

@dirkf commented on GitHub (Mar 15, 2023):

Is a fix planned to arrive at a brew-able youtube-dl?

Why not ask in the brew-ery? Unlike yt-dlp, yt-dl doesn't have any interface (technical or otherwise) to it.

@dirkf commented on GitHub (Mar 15, 2023): > Is a fix planned to arrive at a brew-able youtube-dl? Why not ask in the brew-ery? Unlike yt-dlp, yt-dl doesn't have any interface (technical or otherwise) to it.
Author
Owner

@shlomiv commented on GitHub (Mar 15, 2023):

Why not ask in the brew-ery? Unlike yt-dlp, yt-dl doesn't have any interface (technical or otherwise) to it.

I don't know all these details, like what is the brewery and where to ask. I know that as a user I experienced this error, it asked to look for a bug before I post my own, and ask there, which I did :)

If you'd like to point me to that place, I'll happily ask there.

By the way, when executing youtube-dl -U, is this also through the brewery? Or should this work straight out of here? I also tried the curl method, but results did not change..

@shlomiv commented on GitHub (Mar 15, 2023): > Why not ask in the brew-ery? Unlike yt-dlp, yt-dl doesn't have any interface (technical or otherwise) to it. I don't know all these details, like what is the brewery and where to ask. I know that as a user I experienced this error, it asked to look for a bug before I post my own, and ask there, which I did :) If you'd like to point me to that place, I'll happily ask there. By the way, when executing `youtube-dl -U`, is this also through the brewery? Or should this work straight out of here? I also tried the `curl` method, but results did not change..
Author
Owner

@Vangelis66 commented on GitHub (Mar 15, 2023):

If you'd like to point me to that place, I'll happily ask there.

https://brew.sh/

..."happily" ask them below to package youtube-dl from a recent master branch code snapshot instead of from last (but now deprecated) tagged release (as a new one isn't imminent - not yet, at least...):

https://github.com/Homebrew/discussions/discussions

@Vangelis66 commented on GitHub (Mar 15, 2023): > If you'd like to point me to that place, I'll happily ask there. https://brew.sh/ ..."happily" ask them **below** to package `youtube-dl` from a recent `master branch` **code snapshot** instead of from last (but now deprecated) **tagged release** (as a new one isn't imminent - not yet, at least...): https://github.com/Homebrew/discussions/discussions
Author
Owner

@shlomiv commented on GitHub (Mar 15, 2023):

Here, happily asked, without the sarcastic quotes.

Would you be so kind as to answer the last question above as well?

By the way, when executing youtube-dl -U, is this also through the brewery? Or should this work straight out of here? I also tried the curl method, but results did not change..

I don't mind not using brew, but curl didn't seem to do the job either.

Update:

Tried from a nightly, which seem to have worked fine. I guess I'd update your curl in the following way:

sudo curl -L https://github.com/ytdl-patched/youtube-dl/releases/latest/download/youtube-dl -o /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl

For others looking for the solution, the above snippet seems to install a working version.

@shlomiv commented on GitHub (Mar 15, 2023): Here, [happily asked](https://github.com/Homebrew/discussions/discussions/4329), without the sarcastic quotes. Would you be so kind as to answer the last question above as well? > By the way, when executing `youtube-dl -U`, is this also through the brewery? Or should this work straight out of here? I also tried the curl method, but results did not change.. I don't mind *not* using brew, but curl didn't seem to do the job either. Update: Tried from a [nightly](https://github.com/ytdl-patched/youtube-dl/releases), which seem to have worked fine. I guess I'd update your curl in the following way: ```shell sudo curl -L https://github.com/ytdl-patched/youtube-dl/releases/latest/download/youtube-dl -o /usr/local/bin/youtube-dl sudo chmod a+rx /usr/local/bin/youtube-dl ``` **For others looking for the solution, the above snippet seems to install a working version.**
Author
Owner

@Vangelis66 commented on GitHub (Mar 15, 2023):

... I was NOT being sarcastic 😄, just "quoted" the very adverb you chose to use yourself 😉 (as I don't feel generally "elated" when I have to report bugs to app authors 😄 ) ...
FWIW, I'm an exclusive Windows user, so can't be of much further help to you; a MacOS user should jump in, if possible...

when executing youtube-dl -U, is this also through the brewery?

No; but it shouldn't apply to you, because you did install initially via a package manager (Homebrew); FWIW, the description in OP clearly states:

Using -U doesn't (yet) work.

Curl method? If it fetches latest official release, then it won't do; you'd have to somehow install from latest source instead...

Edit: As I was typing this, I saw you "solved" your issue by fetching an unofficial "daily/nightly" release; might want to try below URI,

https://github.com/ytdl-patched/youtube-dl/releases/latest/download/youtube-dl

which would always fetch the latest build (instead of a specified one) at the time the command is run...

Regards.

@Vangelis66 commented on GitHub (Mar 15, 2023): ... I was NOT being sarcastic :smile:, just "quoted" the _very_ adverb you chose to use yourself :wink: (as **I** don't feel generally "elated" when I have to report bugs to app authors :smile: ) ... FWIW, I'm an exclusive Windows user, so can't be of much further help to you; a MacOS user should jump in, if possible... > when executing `youtube-dl -U`, is this also through the brewery? No; but it **shouldn't apply to you**, because you did install initially via a package manager (Homebrew); FWIW, the description in OP clearly states: > Using -U doesn't (yet) work. `Curl` method? If it fetches latest official release, then **it won't do**; you'd have to somehow install from latest source instead... **Edit**: As I was typing this, I saw you "solved" your issue by fetching an unofficial "daily/nightly" release; might want to try below URI, `https://github.com/ytdl-patched/youtube-dl/releases/latest/download/youtube-dl` which would always fetch the latest build (instead of a specified one) at the time the command is run... Regards.
Author
Owner

@dirkf commented on GitHub (Mar 15, 2023):

Well, yes, that implements one suggestion in the linked instructions.

As above, yt-dl knows nothing about brew, unless packaging it for brew were to include a patch to the code that runs on -U.

@dirkf commented on GitHub (Mar 15, 2023): Well, yes, that implements one suggestion in the linked instructions. As above, yt-dl knows nothing about _brew_, unless packaging it for _brew_ were to include a patch to the [code that runs on `-U`](https://github.com/ytdl-org/youtube-dl/blob/5014bd67c22b421207b2650d4dc874b95b36dda1/youtube_dl/update.py).
Author
Owner

@shlomiv commented on GitHub (Mar 15, 2023):

Thank you @Vangelis66! I will certainly try the URI you posted. I did first remove the brew installation before installing the curl one, so I guess it kinda applied to me.

Sorry if I misinterpreted your intention by quoting. Without hearing your tone or seeing your face it seemed, to me at least, as being sarcastic. Mainly because I am, sincerely, happy that I can report a problem and talk about it directly with a maintainer. It beats going through google on my own in the worst case, or talking to a support agents who can't always help in a better case.. Being able to talk to you directly, as a user experiencing a problem, is delightful.

Thank you both for maintaining this very useful software, and being approachable by us peasants ;)

@shlomiv commented on GitHub (Mar 15, 2023): Thank you @Vangelis66! I will certainly try the URI you posted. I did first remove the brew installation before installing the curl one, so I guess it kinda applied to me. Sorry if I misinterpreted your intention by quoting. Without hearing your tone or seeing your face it seemed, to me at least, as being sarcastic. Mainly because I am, sincerely, happy that I can report a problem and talk about it directly with a maintainer. It beats going through google on my own in the worst case, or talking to a support agents who can't always help in a better case.. Being able to talk to you directly, as a user experiencing a problem, is delightful. Thank you both for maintaining this very useful software, and being approachable by us peasants ;)
Author
Owner

@Vangelis66 commented on GitHub (Mar 15, 2023):

Thank you both for maintaining

... But I (Vangelis66) am not actually a maintainer of this project 😜 , actually not a coder either... dirkf is currently the ONLY person actively involved in maintaining it, after the previous team practically quit (see also here) ...
I'm just a self-taught, semi-advanced youtube-dl user on Windows and I (as well as a few other volunteers) jump in occasionally to lend a helping hand of sorts in triaging issues...

The sole person currently involved in this (open source and free) project has literally become overwhelmed with dealing with a flood of (mostly entitled) issue reporters, having his pinned issue(s) and/or issue templates completely disregarded by reporters and, when it comes down to it, people generally harbouring aversion to self-help practices and/or following already posted guidelines to rectify their issues...

So yes, at this point, "politically correct" choice of wording may suffer at times... Every issue reporter thinks he/she is unique and his/her particular problem is also unique (not addressing you here, just describing the general trend 😉 ) ...

If you'd care to browse more than 200 duplicate issues in this very tracker, then, perhaps, you'd start realising how impossible the task of properly maintaining this project can get...

As a fellow user, glad you got your issue sorted 👍 ...

Best regards.

@Vangelis66 commented on GitHub (Mar 15, 2023): > Thank you **both** for maintaining ... But I (**Vangelis66**) **am not actually a maintainer** of this project 😜 , actually not a coder either... **dirkf** is currently the ONLY person actively involved in maintaining it, after the previous team practically quit (see also [here](https://github.com/ytdl-org/youtube-dl/issues/30568)) ... I'm just a self-taught, semi-advanced `youtube-dl` user on **Windows** and I (as well as a few other volunteers) jump in occasionally to lend a helping hand of sorts in triaging issues... The sole person currently involved in this (**open source and free**) project has literally become overwhelmed with dealing with a flood of (mostly entitled) issue reporters, having his pinned issue(s) and/or issue templates completely disregarded by reporters and, when it comes down to it, people generally harbouring aversion to self-help practices and/or following already posted guidelines to rectify their issues... So yes, at this point, "politically correct" choice of wording may suffer at times... Every issue reporter thinks he/she is unique and his/her particular problem is also unique (not addressing you here, just describing the general trend 😉 ) ... If you'd care to browse more than 200 duplicate issues in this very tracker, then, perhaps, you'd start realising how impossible the task of properly maintaining this project can get... As a fellow user, glad you got your issue sorted :+1: ... Best regards.
Author
Owner

@shlomiv commented on GitHub (Mar 15, 2023):

Thank you @Vangelis66, for taking this up and helping the community.. I can imagine how difficult it is to maintain such a widely used product, and how nerve wracking it may be to deal with this many users, especially when some may feel entitled and not understand the magnitude of dedication maintaining a project is, especially widely used open-source, where you can't hire more more help or even get paid yourself..

Lastly, thank you @dirkf for keeping up the fort for all of us to benefit! Sorry if your response went over my head initially, you are right that the solution was given by you previously, and I missed it.. I really do appreciate your hard work!

@shlomiv commented on GitHub (Mar 15, 2023): Thank you @Vangelis66, for taking this up and helping the community.. I can imagine how difficult it is to maintain such a widely used product, and how nerve wracking it may be to deal with this many users, especially when some may feel entitled and not understand the magnitude of dedication maintaining a project is, especially widely used open-source, where you can't hire more more help or even get paid yourself.. Lastly, thank you @dirkf for keeping up the fort for all of us to benefit! Sorry if your response went over my head initially, you are right that the solution was given by you previously, and I missed it.. I really do appreciate your hard work!
Author
Owner

@kkarhan commented on GitHub (Mar 16, 2023):

The only winning move is to migrate to yt-dlp has been abandoned.

@kkarhan commented on GitHub (Mar 16, 2023): The only winning move is to migrate to [yt-dlp](https://github.com/yt-dlp/yt-dlp) has been abandoned.
Author
Owner

@martinsvoboda commented on GitHub (Mar 16, 2023):

Thank you for this thread. I was wonder why so big deal to create new release. I came accross to #30568 and #31535 and I hope I understand. @dirkf decided to support old unsupported versions of python and probably this is reason why is not possible to use continuous integration to build and release new version.

Thats pity because packaging systems (like brew, apt etc..) would upgrade to new version and some users would be satisfied. And we don't have to waste time to commenting this issue and move on. Unfortunatelly isn't common to use nighty builds (master checkout) for these packaging tools. The package should be stable and clearly versioned.

I don't know reasoning why to support old python versions. @dirkf probably has his reasons. Honestly I can't imagine how much energy and time it must take to triage comments and reply, why a new version is not released etc... I would humbly advise you to reconsider this decision, it's just way to lose users and abandon development.

@martinsvoboda commented on GitHub (Mar 16, 2023): Thank you for this thread. I was wonder why so big deal to create new release. I came accross to #30568 and #31535 and I hope I understand. @dirkf decided to support old unsupported versions of python and probably this is reason why is not possible to use continuous integration to build and release new version. Thats pity because packaging systems (like brew, apt etc..) would upgrade to new version and some users would be satisfied. And we don't have to waste time to commenting this issue and move on. Unfortunatelly isn't common to use nighty builds (master checkout) for these packaging tools. The package should be stable and clearly versioned. I don't know reasoning why to support old python versions. @dirkf probably has his reasons. Honestly I can't imagine how much energy and time it must take to triage comments and reply, why a new version is not released etc... I would humbly advise you to reconsider this decision, it's just way to lose users and abandon development.
Author
Owner

@ReenigneArcher commented on GitHub (Mar 16, 2023):

dirkf decided to support old unsupported versions of python and probably this is reason why is not possible to use continuous integration to build and release new version.

Supporting Python 2.x has nothing to do with the ability to use CI or not. I'm probably one of the few people who still need support for Python 2.7, so hopefully this continues to be supported.

I would humbly advise you to reconsider this decision, it's just way to lose users and abandon development.

You are correct. yt-dlp has had a pretty sharp increase in GitHub stars since this issue has come about.

It appears there hasn't been a single release since maintenance was handed over. I'm sure it's very overwhelming and stressful to maintain a project like this. @dirkf do you need help in the devops area? There's plenty of people here willing to help. I have a lot of experience with GitHub actions and automation if you need help.

@ReenigneArcher commented on GitHub (Mar 16, 2023): > dirkf decided to support old unsupported versions of python and probably this is reason why is not possible to use continuous integration to build and release new version. Supporting Python 2.x has nothing to do with the ability to use CI or not. I'm probably one of the few people who still need support for Python 2.7, so hopefully this continues to be supported. > I would humbly advise you to reconsider this decision, it's just way to lose users and abandon development. You are correct. yt-dlp has had a pretty sharp increase in GitHub stars since this issue has come about. It appears there hasn't been a single release since maintenance was handed over. I'm sure it's very overwhelming and stressful to maintain a project like this. @dirkf do you need help in the devops area? There's plenty of people here willing to help. I have a lot of experience with GitHub actions and automation if you need help.
Author
Owner

@RonenR commented on GitHub (Mar 16, 2023):

FYI - I just encountered the same issue with youtube-dl (v-2021.12.17) installed through homebrew (on Mac), while there is no issue with an older version of youtube-dl (v-2020.12.17) installed directly (on Linux). So, seems to be a homebrew issue - (but it would seem it's not because of a not-updated youtube-dl, but something else unknown.)

@RonenR commented on GitHub (Mar 16, 2023): FYI - I just encountered the same issue with youtube-dl (v-2021.12.17) installed through homebrew (on Mac), while there is no issue with an older version of youtube-dl (v-2020.12.17) installed directly (on Linux). So, seems to be a homebrew issue - (but it would seem it's not because of a not-updated youtube-dl, but something else unknown.)
Author
Owner

@Vangelis66 commented on GitHub (Mar 16, 2023):

Here, happily asked,

... And there has been development from the Homebrew team:

https://github.com/orgs/Homebrew/discussions/4329#discussioncomment-5329468

(PR https://github.com/Homebrew/homebrew-core/pull/125804 has now been merged) ...

For MacOS users, please "digest" what has been said there:

  1. Note that this install will no longer be automatically updated by brew upgrade
  2. we don't provide support for --HEAD installs

As I'm not a MacOS user myself, don't know whether you first need to update your Homebrew version for brew install --HEAD youtube-dl to become functional... But if/when it is, it will rid you of the ERROR mentioned in this issue's title 😉 ...

if you're feeling adventurous, you may wish to give it a try.

@Vangelis66 commented on GitHub (Mar 16, 2023): > Here, [happily asked](https://github.com/Homebrew/discussions/discussions/4329), ... And there has been development from the **Homebrew** team: https://github.com/orgs/Homebrew/discussions/4329#discussioncomment-5329468 (**PR** https://github.com/Homebrew/homebrew-core/pull/125804 has now been **merged**) ... For **MacOS** users, please "digest" what has been said _there_: >1. Note that this install will **no longer be automatically updated by** `brew upgrade` >2. we don't provide support for `--HEAD` installs As I'm not a **MacOS** user myself, don't know whether you first need to update your **Homebrew** version for `brew install --HEAD youtube-dl` to become functional... But if/when it is, it will rid you of the ERROR mentioned in this issue's title 😉 ... > if you're feeling adventurous, you may wish to give it a try.
Author
Owner

@ahmadmysra commented on GitHub (Mar 16, 2023):

I have encountered the same error.
using version 17/12/2021 installed through pip 22.3.1 python 3.11.2 on windows 8.1

@ahmadmysra commented on GitHub (Mar 16, 2023): I have encountered the same error. using version 17/12/2021 installed through pip 22.3.1 python 3.11.2 on windows 8.1
Author
Owner

@dirkf commented on GitHub (Mar 16, 2023):

@ReenigneArcher, @martinsvoboda, others waiting for a release: https://github.com/ytdl-org/youtube-dl/issues/31585#issuecomment-1472881851.

@dirkf commented on GitHub (Mar 16, 2023): @ReenigneArcher, @martinsvoboda, others waiting for a release: https://github.com/ytdl-org/youtube-dl/issues/31585#issuecomment-1472881851.
Author
Owner

@yaroslavyaroslav commented on GitHub (Mar 17, 2023):

Or you can try using yt-dlp instead if your environment supports it: https://github.com/yt-dlp/yt-dlp.

In addition to that. If you are wishing to use this utility within some another software like IINA player and therefore have a restriction for a execution file name you can do follow (macOS/LInux only):

  1. which yt-dlp -> /opt/homebrew/bin/yt-dlp
  2. ln -s /opt/homebrew/bin/yt-dlp /opt/homebrew/bin/youtube-dl
  3. In IINA in appropriate settings intert /opt/homebrew/bin/

And viola it just works.

@yaroslavyaroslav commented on GitHub (Mar 17, 2023): > Or you can try using yt-dlp instead if your environment supports it: https://github.com/yt-dlp/yt-dlp. In addition to that. If you are wishing to use this utility within some another software like IINA player and therefore have a restriction for a execution file name you can do follow (macOS/LInux only): 1. `which yt-dlp` -> `/opt/homebrew/bin/yt-dlp` 2. `ln -s /opt/homebrew/bin/yt-dlp /opt/homebrew/bin/youtube-dl` 3. In IINA in appropriate settings intert `/opt/homebrew/bin/` And viola it just works.
Author
Owner

@ToddAndMargo commented on GitHub (Mar 17, 2023):

On 3/17/23 05:53, Yaroslav wrote:

Or you can try using yt-dlp instead if your environment supports it:
https://github.com/yt-dlp/yt-dlp https://github.com/yt-dlp/yt-dlp.

yt-dlp is in the Fedora Updates repo and it work
rather well.

dnf install yt-dlp

("#" means as the root user.)

@ToddAndMargo commented on GitHub (Mar 17, 2023): On 3/17/23 05:53, Yaroslav wrote: > Or you can try using yt-dlp instead if your environment supports it: > https://github.com/yt-dlp/yt-dlp <https://github.com/yt-dlp/yt-dlp>. yt-dlp is in the Fedora Updates repo and it work rather well. # dnf install yt-dlp ("#" means as the root user.)
Author
Owner

@saynaAhmadi commented on GitHub (Mar 17, 2023):

‫در چهارشنبه ۸ مارس ۲۰۲۳‏، Dominique Hausser‏ @.***>
نوشت:‏

Same problem on Ubuntu 22.10
youtube-dl --verbose https://youtu.be/fVgdWHYQv_E
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://youtu.be/fVgdWHYQv_E']
[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.7 (CPython) - Linux-5.19.0-1018-lowlatency-
x86_64-with-glibc2.36
[debug] exe versions: ffmpeg 5.1.1, ffprobe 5.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] fVgdWHYQv_E: 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 t

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.


Reply to this email directly, view it on GitHub
https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1459941961,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A57Y454BJ6CTKXNR3FMEPLDW3BM27ANCNFSM6AAAAAAU6HECQY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@saynaAhmadi commented on GitHub (Mar 17, 2023): ‫در چهارشنبه ۸ مارس ۲۰۲۳‏، Dominique Hausser‏ ***@***.***> نوشت:‏ > Same problem on Ubuntu 22.10 > youtube-dl --verbose https://youtu.be/fVgdWHYQv_E > [debug] System config: [] > [debug] User config: [] > [debug] Custom config: [] > [debug] Command-line args: ['--verbose', 'https://youtu.be/fVgdWHYQv_E'] > [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.7 (CPython) - Linux-5.19.0-1018-lowlatency- > x86_64-with-glibc2.36 > [debug] exe versions: ffmpeg 5.1.1, ffprobe 5.1.1, rtmpdump 2.4 > [debug] Proxy map: {} > [youtube] fVgdWHYQv_E: 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 t > > 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. > > — > Reply to this email directly, view it on GitHub > <https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1459941961>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/A57Y454BJ6CTKXNR3FMEPLDW3BM27ANCNFSM6AAAAAAU6HECQY> > . > You are receiving this because you are subscribed to this thread.Message > ID: ***@***.***> >
Author
Owner

@vibbrations commented on GitHub (Mar 17, 2023):

pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl

this worked for me

@vibbrations commented on GitHub (Mar 17, 2023): > pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl this worked for me
Author
Owner

@chenrui333 commented on GitHub (Mar 18, 2023):

While waiting for the new release, I think we have resolved the issue in the homebrew side, can someone test it out and confirm the fix? Thanks!!

@chenrui333 commented on GitHub (Mar 18, 2023): While waiting for the new release, I think we have resolved the issue in [the homebrew side](https://github.com/Homebrew/homebrew-core/pull/126066), can someone test it out and confirm the fix? Thanks!!
Author
Owner

@dirkf commented on GitHub (Mar 18, 2023):

If I understand the script, you've implemented github.com/ytdl-org/youtube-dl@2dd6c6edd8 as a patch. This should prevent the crash, while not returning the affected metadata: see https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1436130288.

See also https://github.com/ytdl-org/youtube-dl/issues/31585#issuecomment-1475042434.

And @jannisberry.

@dirkf commented on GitHub (Mar 18, 2023): If I understand the script, you've implemented https://github.com/ytdl-org/youtube-dl/commit/2dd6c6edd8e0fc5e45865b8e6d865e35147de772 as a patch. This should prevent the crash, while not returning the affected metadata: see https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1436130288. See also https://github.com/ytdl-org/youtube-dl/issues/31585#issuecomment-1475042434. And @jannisberry.
Author
Owner

@zaphida commented on GitHub (Mar 19, 2023):

It's not a crash. The program exits when it encounters the unable to
extract the uploader id error, as intended. Though IMO it should be a
warning not an error, so it doesn't exit, because the uploader id is not
necessary to download the media.

On Sun, 19 Mar 2023 at 13:03, dirkf @.***> wrote:

If I understand the script, you've implemented 2dd6c6e
https://github.com/ytdl-org/youtube-dl/commit/2dd6c6edd8e0fc5e45865b8e6d865e35147de772
as a patch. This should prevent the crash, while not returning the affected
metadata: see #31530 (comment)
https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1436130288
.

See also #31585 (comment)
https://github.com/ytdl-org/youtube-dl/issues/31585#issuecomment-1475042434
.


Reply to this email directly, view it on GitHub
https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1475069872,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADCYXGTQ6PKYH6J6N23D7J3W4ZSODANCNFSM6AAAAAAU6HECQY
.
You are receiving this because you were mentioned.Message ID:
@.***>

@zaphida commented on GitHub (Mar 19, 2023): It's not a crash. The program exits when it encounters the unable to extract the uploader id error, as intended. Though IMO it should be a warning not an error, so it doesn't exit, because the uploader id is not necessary to download the media. On Sun, 19 Mar 2023 at 13:03, dirkf ***@***.***> wrote: > If I understand the script, you've implemented 2dd6c6e > <https://github.com/ytdl-org/youtube-dl/commit/2dd6c6edd8e0fc5e45865b8e6d865e35147de772> > as a patch. This should prevent the crash, while not returning the affected > metadata: see #31530 (comment) > <https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1436130288> > . > > See also #31585 (comment) > <https://github.com/ytdl-org/youtube-dl/issues/31585#issuecomment-1475042434> > . > > — > Reply to this email directly, view it on GitHub > <https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1475069872>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ADCYXGTQ6PKYH6J6N23D7J3W4ZSODANCNFSM6AAAAAAU6HECQY> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> >
Author
Owner

@dirkf commented on GitHub (Mar 19, 2023):

It's not a crash. The program exits when it encounters the unable to extract the uploader id error, as intended. ...

That's a crash. The exit was unintended.

Extractors shouldn't fail on optional extraction. The extractor method used to search defaults to raising an exception, which can be appropriate for media links and (traditionally) title, but must be overridden for optional metadata extraction.

@dirkf commented on GitHub (Mar 19, 2023): >It's not a crash. The program exits when it encounters the unable to extract the uploader id error, as intended. ... That's a crash. The exit was unintended. [Extractors shouldn't fail on optional extraction](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1433936907). The extractor method used to search defaults to raising an exception, which can be appropriate for media links and (traditionally) `title`, but must be overridden for optional metadata extraction.
Author
Owner

@RonenR commented on GitHub (Mar 19, 2023):

While waiting for the new release, I think we have resolved the issue in the homebrew side, can someone test it out and confirm the fix? Thanks!!

I'll be happy to. Please let me know - which part do I need to update and how to do so.

@RonenR commented on GitHub (Mar 19, 2023): > While waiting for the new release, I think we have resolved the issue in [the homebrew side](https://github.com/Homebrew/homebrew-core/pull/126066), can someone test it out and confirm the fix? Thanks!! I'll be happy to. Please let me know - which part do I need to update and how to do so.
Author
Owner

@tensionhead commented on GitHub (Mar 20, 2023):

For those using the python Iibrary, You can install the master branch using:
pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl
I think it is simpler.

Indeed. What is the effect of #egg=youtube_dl?

See also https://adamj.eu/tech/2019/03/11/pip-install-from-a-git-repository/.

So I installed via pip from the actual master branch as recommended, but I am still getting youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id As at the top of this issue it says "the issue is solved" I wonder how exactly 😕
Maybe I should give yt-dlp a try?!

EDIT: yep, yt-dlp get's the job done!

@tensionhead commented on GitHub (Mar 20, 2023): > > For those using the python Iibrary, You can install the master branch using: > > pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl > > I think it is simpler. > > Indeed. What is the effect of `#egg=youtube_dl`? > > See also https://adamj.eu/tech/2019/03/11/pip-install-from-a-git-repository/. So I installed via pip from the actual master branch as recommended, but I am still getting `youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id` As at the top of this issue it says "the issue is solved" I wonder how exactly :confused: Maybe I should give [yt-dlp](https://github.com/yt-dlp/yt-dlp/wiki/Installation) a try?! EDIT: yep, yt-dlp get's the job done!
Author
Owner

@jcubic commented on GitHub (Mar 20, 2023):

I've used pip install 'git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl' since the hash is a comment in bash, not sure if it's needed but it will be ignored when not using quotes. And this works fine.

@jcubic commented on GitHub (Mar 20, 2023): I've used `pip install 'git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl'` since the hash is a comment in bash, not sure if it's needed but it will be ignored when not using quotes. And this works fine.
Author
Owner

@joyboy67 commented on GitHub (Mar 20, 2023):

Same issue

@joyboy67 commented on GitHub (Mar 20, 2023): Same issue
Author
Owner

@AAbdullah1918 commented on GitHub (Mar 20, 2023):

So any update on when this issue will be fixed? Not too keen on using sus websites to download music

@AAbdullah1918 commented on GitHub (Mar 20, 2023): So any update on when this issue will be fixed? Not too keen on using sus websites to download music
Author
Owner

@Matthew0x commented on GitHub (Mar 21, 2023):

->The problem, which was revealed by a change in the metadata served by YouTube, applied to both https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1433230848 and https://github.com/yt-dlp/yt-dlp/issues/6247 and has been fixed in both programs

Could you elaborate on how exactly "both" programs were fixed, if the last release of youtube-dl was in 2021?
I ended up downloading yt-dlp, which worked with no problems. This post is a bit misleading...

EDIT:
To keep it simple. The official repo has an old release. That release shows up as the newest in OS repositories.
OS repositories are another topic, but if an RPM/DEB is available and they have the same version as the official release, yet that release is 2 years old and broken then I believe something is wrong/suboptimal.

Installed Packages
Name         : youtube-dl
Version      : 2021.12.17
Release      : 4.fc37
Architecture : noarch
Size         : 13 M
Source       : youtube-dl-2021.12.17-4.fc37.src.rpm
Repository   : @System
From repo    : fedora
Installed Packages
Name         : yt-dlp
Version      : 2023.03.04
Release      : 1.fc37
Architecture : noarch
Size         : 19 M
Source       : yt-dlp-2023.03.04-1.fc37.src.rpm
Repository   : @System
From repo    : updates

Judge it however you wish. I simply believe that installing/downloading custom scripts, binaries every time to update something makes little sense (although it seems to be python in this case). I personally use AppImages, FlatPaks, RPMs, tars with .sh.

The main difference is - I know the publishers or they are managed by the OS. An average user will probably always pick a managed package or an isolated app rather than a script or raw binary. Especially if that package seems up to date.

Again, that's just an inconvienience in my opinion and the old release number makes the whole situation slightly more weird.

@Matthew0x commented on GitHub (Mar 21, 2023): ->The problem, which was revealed by a change in the metadata served by YouTube, applied to both https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1433230848 and https://github.com/yt-dlp/yt-dlp/issues/6247 and **_has been fixed in both programs_** Could you elaborate on how exactly "both" programs were fixed, if the last release of youtube-dl was in 2021? I ended up downloading yt-dlp, which worked with no problems. This post is a bit misleading... EDIT: To keep it simple. The official repo has an old release. That release shows up as the newest in OS repositories. OS repositories are another topic, but if an RPM/DEB is available and they have the same version as the official release, yet that release is 2 years old and broken then I believe something is wrong/suboptimal. ``` Installed Packages Name : youtube-dl Version : 2021.12.17 Release : 4.fc37 Architecture : noarch Size : 13 M Source : youtube-dl-2021.12.17-4.fc37.src.rpm Repository : @System From repo : fedora ``` ``` Installed Packages Name : yt-dlp Version : 2023.03.04 Release : 1.fc37 Architecture : noarch Size : 19 M Source : yt-dlp-2023.03.04-1.fc37.src.rpm Repository : @System From repo : updates ``` Judge it however you wish. I simply believe that installing/downloading custom scripts, binaries every time to update something makes little sense (although it seems to be python in this case). I personally use AppImages, FlatPaks, RPMs, tars with .sh. The main difference is - I know the publishers or they are managed by the OS. An average user will probably always pick a managed package or an isolated app rather than a script or raw binary. Especially if that package seems up to date. Again, that's just an inconvienience in my opinion and the old release number makes the whole situation slightly more weird.
Author
Owner

@ReenigneArcher commented on GitHub (Mar 21, 2023):

Would you elaborate on how exactly "both" programs were fixed, if the last release of youtube-dl was in 2021?

Source code was fixed; however no release has been published which contains the fix.

@ReenigneArcher commented on GitHub (Mar 21, 2023): > Would you elaborate on how exactly "both" programs were fixed, if the last release of youtube-dl was in 2021? Source code was fixed; however no release has been published which contains the fix.
Author
Owner

@dirkf commented on GitHub (Mar 21, 2023):

See below(link) 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(link).

How misleading is that?

Also @Matthew0x.

@dirkf commented on GitHub (Mar 21, 2023): >**See below(link) 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(link). How misleading is that? Also @Matthew0x.
Author
Owner

@Magendanz commented on GitHub (Mar 27, 2023):

Still seeing this issue:

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=h3qaGZoojVk']
[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.19041
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] h3qaGZoojVk: 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.
@Magendanz commented on GitHub (Mar 27, 2023): Still seeing this issue: ``` [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=h3qaGZoojVk'] [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.19041 [debug] exe versions: none [debug] Proxy map: {} [youtube] h3qaGZoojVk: 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. ```
Author
Owner

@lwbt commented on GitHub (Mar 28, 2023):

I've used pip install 'git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl' since the hash is a comment in bash, not sure if it's needed but it will be ignored when not using quotes. And this works fine.

Thanks.

pipx install git+https://github.com/ytdl-org/youtube-dl.git@master

Should be a bit easier to reconstruct from examples on https://pypa.github.io/pipx/examples/ and you get the benefits of pipx. Requires pipx, but from my point everyone should use it and stop worrying less.

@lwbt commented on GitHub (Mar 28, 2023): > I've used `pip install 'git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl'` since the hash is a comment in bash, not sure if it's needed but it will be ignored when not using quotes. And this works fine. Thanks. ```bash pipx install git+https://github.com/ytdl-org/youtube-dl.git@master ``` Should be a bit easier to reconstruct from examples on https://pypa.github.io/pipx/examples/ and you get the benefits of pipx. Requires pipx, but from my point everyone should use it and stop worrying less.
Author
Owner

@dirkf commented on GitHub (Mar 28, 2023):

pipx can only be installed for Py>=3.7, even if it might hide various XKCD-1987-style issues, user vs system, etc, by using venv under the hood. Installation guidance for yt-dl targets the supported platforms without additional tools.

@dirkf commented on GitHub (Mar 28, 2023): _pipx_ can only be installed for Py>=3.7, even if it might hide various XKCD-1987-style issues, user vs system, etc, by using venv under the hood. Installation guidance for yt-dl targets the supported platforms without additional tools.
Author
Owner

@visjble commented on GitHub (Mar 28, 2023):

I've used pip install 'git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl' since the hash is a comment in bash, not sure if it's needed but it will be ignored when not using quotes. And this works fine.

Thanks.

pipx install git+https://github.com/ytdl-org/youtube-dl.git@master

Should be a bit easier to reconstruct from examples on https://pypa.github.io/pipx/examples/ and you get the benefits of pipx. Requires pipx, but from my point everyone should use it and stop worrying less.

I've used pip install 'git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl' since the hash is a comment in bash, not sure if it's needed but it will be ignored when not using quotes. And this works fine.

The pip install 'git...' did install but still giving errors, here is the verbose:
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 . `

@visjble commented on GitHub (Mar 28, 2023): > > I've used `pip install 'git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl'` since the hash is a comment in bash, not sure if it's needed but it will be ignored when not using quotes. And this works fine. > > Thanks. > > ```shell > pipx install git+https://github.com/ytdl-org/youtube-dl.git@master > ``` > > Should be a bit easier to reconstruct from examples on https://pypa.github.io/pipx/examples/ and you get the benefits of pipx. Requires pipx, but from my point everyone should use it and stop worrying less. > I've used `pip install 'git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl'` since the hash is a comment in bash, not sure if it's needed but it will be ignored when not using quotes. And this works fine. The pip install 'git...' did install but still giving errors, here is the verbose: 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 . `
Author
Owner

@dirkf commented on GitHub (Mar 28, 2023):

...The pip install 'git...' did install but still giving errors...

Obviously you didn't replace the yt-dl that runs when you type youtube-dl. If you try to update in this way and still get this error afterwards, only the upgrade log is of interest, together with the command that failed, which you omitted.

From the trace that you did show, you have an old installation in /usr/local/bin that needs to be nuked.

@dirkf commented on GitHub (Mar 28, 2023): >...The pip install 'git...' did install but still giving errors... Obviously you didn't replace the yt-dl that runs when you type `youtube-dl`. If you try to update in this way and still get this error afterwards, only the **upgrade log** is of interest, together with the command that failed, which you omitted. From the trace that you did show, you have an old installation in `/usr/local/bin` that needs to be nuked.
Author
Owner

@fuzzylogical commented on GitHub (Mar 28, 2023):

I've used pip install 'git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl' since the hash is a comment in bash, not sure if it's needed but it will be ignored when not using quotes. And this works fine.

Thanks.

pipx install git+https://github.com/ytdl-org/youtube-dl.git@master

Should be a bit easier to reconstruct from examples on https://pypa.github.io/pipx/examples/ and you get the benefits of pipx. Requires pipx, but from my point everyone should use it and stop worrying less.

I've used pip install 'git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl' since the hash is a comment in bash, not sure if it's needed but it will be ignored when not using quotes. And this works fine.

The pip install 'git...' did install but still giving errors, here is the verbose: 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 . `

it is a little weird that you have a YoutubeDL.py file there instead of a binary handling everything since that means you built from source.
personally what I did was I downloaded yt-dlp and did a ln -s ytdlp youtube-dl in the /usr/local/bin so that it would soft replace youtube-dl there and I moved youtube-dl to youtube-dl.old so that I would still have an old copy if I wanted to revert

@fuzzylogical commented on GitHub (Mar 28, 2023): > > > I've used `pip install 'git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl'` since the hash is a comment in bash, not sure if it's needed but it will be ignored when not using quotes. And this works fine. > > > > > > Thanks. > > ```shell > > pipx install git+https://github.com/ytdl-org/youtube-dl.git@master > > ``` > > > > > > > > > > > > > > > > > > > > > > > > Should be a bit easier to reconstruct from examples on https://pypa.github.io/pipx/examples/ and you get the benefits of pipx. Requires pipx, but from my point everyone should use it and stop worrying less. > > > I've used `pip install 'git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl'` since the hash is a comment in bash, not sure if it's needed but it will be ignored when not using quotes. And this works fine. > > The pip install 'git...' did install but still giving errors, here is the verbose: 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 . ` it is a little weird that you have a YoutubeDL.py file there instead of a binary handling everything since that means you built from source. personally what I did was I downloaded yt-dlp and did a `ln -s ytdlp youtube-dl` in the /usr/local/bin so that it would soft replace youtube-dl there and I moved youtube-dl to youtube-dl.old so that I would still have an old copy if I wanted to revert
Author
Owner

@jannisberry commented on GitHub (Mar 29, 2023):

Hi, had the same issue on my mac and running it with -i didnt change anything. But reinstalling with brew and running with -i makes it work and instead of an error its now a warning but still showing it. That fixed it for me.

@jannisberry commented on GitHub (Mar 29, 2023): Hi, had the same issue on my mac and running it with -i didnt change anything. But reinstalling with brew and running with -i makes it work and instead of an error its now a warning but still showing it. That fixed it for me.
Author
Owner

@denisys271 commented on GitHub (Mar 29, 2023):

same problème , on Linux.

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=insXlpEtt_c', '-f', 'mp4', '-o', 'Community_Manager_01.mp4']
[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.15.0-56-generic-x86_64-with-glibc2.35
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] insXlpEtt_c: Downloading webpage
[youtube] insXlpEtt_c: 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; 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.

@denisys271 commented on GitHub (Mar 29, 2023): same problème , on Linux. --- [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=insXlpEtt_c', '-f', 'mp4', '-o', 'Community_Manager_01.mp4'] [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.15.0-56-generic-x86_64-with-glibc2.35 [debug] exe versions: none [debug] Proxy map: {} [youtube] insXlpEtt_c: Downloading webpage [youtube] insXlpEtt_c: 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; 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.
Author
Owner

@LanternCode commented on GitHub (Mar 29, 2023):

@dirkf I had the single executable file for a while now, and I wanted to keep it that way, so I tried your solution with the braced script, but it sadly did not work. The following error occurred:
image
Could this be OS-related? Windows 11 here.

@LanternCode commented on GitHub (Mar 29, 2023): @dirkf I had the single executable file for a while now, and I wanted to keep it that way, so I tried your solution with the braced script, but it sadly did not work. The following error occurred: ![image](https://user-images.githubusercontent.com/26407327/228603720-f8a14daa-b1e9-4761-b116-0f47a2c0608c.png) Could this be OS-related? Windows 11 here.
Author
Owner

@dirkf commented on GitHub (Mar 29, 2023):

...I tried your solution with the braced script, ... Windows 11 here

Don't do that. The script applies to a POSIX environment. You want an unofficial nightly build for Windows (obviously enough), a completely different species, not subject to the problem that the script addresses.

Or use Windows Subsystem for Linux which for practical purposes is a POSIX-compliant Linux OS. You probably don't want to do that.

@dirkf commented on GitHub (Mar 29, 2023): >...I tried your solution with the braced script, ... Windows 11 here Don't do that. The script applies to a POSIX environment. You want an unofficial nightly build for Windows (obviously enough), a completely different species, not subject to the problem that the script addresses. Or use Windows Subsystem for Linux which for practical purposes **is** a POSIX-compliant Linux OS. You probably don't want to do that.
Author
Owner

@gramo44 commented on GitHub (Mar 29, 2023):

I'm getting the same error with 2021.12.17 version running on a Linux Mageia 8 fully updated. I've also checked video availability.

$ youtube-dl -U
youtube-dl is up-to-date (2021.12.17)

$ youtube-dl --verbose https://youtube.com/live/3tAUmLTWB_s
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://youtube.com/live/3tAUmLTWB_s']
[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.8.14 (CPython) - Linux-5.15.18-desktop-2.mga8-x86_64-with-glibc2.2.5
[debug] exe versions: ffmpeg 4.3.5, ffprobe 4.3.5
[debug] Proxy map: {}
[youtube:tab] live: Downloading webpage
[youtube] 3tAUmLTWB_s: Downloading webpage
[youtube] 3tAUmLTWB_s: Downloading m3u8 information
[youtube] 3tAUmLTWB_s: 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; 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/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/usr/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/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.

@gramo44 commented on GitHub (Mar 29, 2023): I'm getting the same error with 2021.12.17 version running on a Linux Mageia 8 fully updated. I've also checked video availability. $ youtube-dl -U youtube-dl is up-to-date (2021.12.17) $ youtube-dl --verbose https://youtube.com/live/3tAUmLTWB_s [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', 'https://youtube.com/live/3tAUmLTWB_s'] [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.8.14 (CPython) - Linux-5.15.18-desktop-2.mga8-x86_64-with-glibc2.2.5 [debug] exe versions: ffmpeg 4.3.5, ffprobe 4.3.5 [debug] Proxy map: {} [youtube:tab] live: Downloading webpage [youtube] 3tAUmLTWB_s: Downloading webpage [youtube] 3tAUmLTWB_s: Downloading m3u8 information [youtube] 3tAUmLTWB_s: 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; 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/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/usr/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/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.
Author
Owner

@bert2002 commented on GitHub (Apr 1, 2023):

Hi,
same error message here:

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '-g', 'https://www.youtube.com/watch?v=z_fY1pj1VBw']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Git HEAD: cf6614b50
[debug] Python version 3.11.2 (CPython) - macOS-13.2.1-arm64-arm-64bit
[debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2
[debug] Proxy map: {}
WARNING: 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.
[debug] Default format spec: bestvideo+bestaudio/best
https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1680364185/ei/Of4nZCeKvIAD-qGpmAU/ip/111.241.114.198/id/z_fY1pj1VBw.9/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/rr2---sn-ipoxu-un5y.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/915000/mh/Ni/mm/44/mn/sn-ipoxu-un5y/ms/lva/mv/m/mvi/2/pl/21/dover/11/pacing/0/keepalive/yes/fexp/24007246/beids/24512784/mt/1680342277/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRQIhAIWkLfh-iv74xhfcRl8PKUdnnjGVWotSC6XgErr91tdFAiB2-AnWDvZNdGc7Iiw0pQnEc6fU_wzU4taHV8N4U9keKg%3D%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRAIgb-fiz84-hc1Jc6jbeH-C5bavkBG3KFseaHvqrOX9ieMCIFCpWrXKP0LHr7L34YoposGnhLI6sSY6LI0TiTYeui-L/playlist/index.m3u8
@bert2002 commented on GitHub (Apr 1, 2023): Hi, same error message here: ```% youtube-dl --verbose -g "https://www.youtube.com/watch?v=z_fY1pj1VBw" [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', '-g', 'https://www.youtube.com/watch?v=z_fY1pj1VBw'] [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 [debug] youtube-dl version 2021.12.17 [debug] Git HEAD: cf6614b50 [debug] Python version 3.11.2 (CPython) - macOS-13.2.1-arm64-arm-64bit [debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2 [debug] Proxy map: {} WARNING: 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. [debug] Default format spec: bestvideo+bestaudio/best https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1680364185/ei/Of4nZCeKvIAD-qGpmAU/ip/111.241.114.198/id/z_fY1pj1VBw.9/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/rr2---sn-ipoxu-un5y.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/915000/mh/Ni/mm/44/mn/sn-ipoxu-un5y/ms/lva/mv/m/mvi/2/pl/21/dover/11/pacing/0/keepalive/yes/fexp/24007246/beids/24512784/mt/1680342277/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRQIhAIWkLfh-iv74xhfcRl8PKUdnnjGVWotSC6XgErr91tdFAiB2-AnWDvZNdGc7Iiw0pQnEc6fU_wzU4taHV8N4U9keKg%3D%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRAIgb-fiz84-hc1Jc6jbeH-C5bavkBG3KFseaHvqrOX9ieMCIFCpWrXKP0LHr7L34YoposGnhLI6sSY6LI0TiTYeui-L/playlist/index.m3u8 ```
Author
Owner

@alexchandel commented on GitHub (Apr 2, 2023):

tldr for homebrew users: brew reinstall youtube-dl

@alexchandel commented on GitHub (Apr 2, 2023): tldr for homebrew users: `brew reinstall youtube-dl`
Author
Owner

@rxerium commented on GitHub (Apr 2, 2023):

I've just encountered this issue after installing youtube-dl for the first time. I'm using Ubuntu 20.04. Thanks

@rxerium commented on GitHub (Apr 2, 2023): I've just encountered this issue after installing youtube-dl for the first time. I'm using Ubuntu 20.04. Thanks
Author
Owner

@nicolaasjan commented on GitHub (Apr 2, 2023):

I've just encountered this issue after installing youtube-dl for the first time. I'm using Ubuntu 20.04. Thanks

Read the Description at the top of this page.

@nicolaasjan commented on GitHub (Apr 2, 2023): > I've just encountered this issue after installing youtube-dl for the first time. I'm using Ubuntu 20.04. Thanks Read the [Description](https://github.com/ytdl-org/youtube-dl/issues/31530#Description) at the top of this page.
Author
Owner

@HauHocCode commented on GitHub (Apr 2, 2023):

i am getting this error can anyone help me to fix it. Sincere thanks.

raise DownloadError(message, exc_info)
youtube_dl.utils.DownloadError: 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.

@HauHocCode commented on GitHub (Apr 2, 2023): i am getting this error can anyone help me to fix it. Sincere thanks. raise DownloadError(message, exc_info) youtube_dl.utils.DownloadError: 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.
Author
Owner

@vonProteus commented on GitHub (Apr 2, 2023):

as far i understand, right now you have to run youtube-dl from git sources to have this fixed
it this correct?

@vonProteus commented on GitHub (Apr 2, 2023): as far i understand, right now you have to run youtube-dl from git sources to have this fixed it this correct?
Author
Owner

@dirkf commented on GitHub (Apr 2, 2023):

@vonProteus, @HauHocCode:

I've just encountered this issue after installing youtube-dl for the first time. I'm using Ubuntu 20.04. Thanks

Read the Description at the top of this page.

Exactly.

as far i understand, right now you have to run youtube-dl from git sources to have this fixed
it this correct?

No.

@dirkf commented on GitHub (Apr 2, 2023): @vonProteus, @HauHocCode: >>I've just encountered this issue after installing youtube-dl for the first time. I'm using Ubuntu 20.04. Thanks >Read the Description at the top of this page. Exactly. >as far i understand, right now you have to run youtube-dl from git sources to have this fixed it this correct? No.
Author
Owner

@Warthog1 commented on GitHub (Apr 3, 2023):

I don't want to use a nightly build or fork, I trust this repository and I don't want to use yt-dlp. I'm not using a python install, I'm using the .exe from the most recent release. How can I just replace the youtube.pyo file with this updated code and recompile it as a .exe?

@Warthog1 commented on GitHub (Apr 3, 2023): I don't want to use a nightly build or fork, I trust this repository and I don't want to use yt-dlp. I'm not using a python install, I'm using the .exe from the most recent release. How can I just replace the youtube.pyo file with this updated code and recompile it as a .exe?
Author
Owner

@dirkf commented on GitHub (Apr 3, 2023):

... How can I just replace the youtube.pyo file with this updated code and recompile it as a .exe?

That won't won't work because other files on which extractor/youtube.py depends have changed since 2021-12. Use a nightly build: you can review the commits to check that the file is built from our code.

@dirkf commented on GitHub (Apr 3, 2023): > ... How can I just replace the youtube.pyo file with this updated code and recompile it as a .exe? That won't won't work because other files on which `extractor/youtube.py` depends have changed since 2021-12. Use a nightly build: you can review the commits to check that the file is built from our code.
Author
Owner

@symbolicEmm commented on GitHub (Apr 4, 2023):

This issue is solved: read the Description below

Obviously has not been solved anywhere.
I've removed, installed and updated youtube-dl and yt-dlp multiple times on my slackwareOS system to no avail.
Quite frustrated with seeming complacency considering the number of eyes on this Shituation report.

@symbolicEmm commented on GitHub (Apr 4, 2023): > **This issue is solved: read the [Description](#Description) below** Obviously has not been solved anywhere. I've removed, installed and updated youtube-dl and yt-dlp multiple times on my slackwareOS system to no avail. Quite frustrated with seeming complacency considering the number of eyes on this Shituation report.
Author
Owner

@shmoun commented on GitHub (Apr 4, 2023):

This issue is solved: read the Description below

Obviously has not been solved anywhere. I've removed, installed and updated youtube-dl and yt-dlp multiple times on my slackwareOS system to no avail. Quite frustrated with seeming complacency considering the number of eyes on this Shituation report.

The Description link you quote in your message has all the information, please read it closely.

@shmoun commented on GitHub (Apr 4, 2023): > > **This issue is solved: read the [Description](#Description) below** > > Obviously has not been solved anywhere. I've removed, installed and updated youtube-dl and yt-dlp multiple times on my slackwareOS system to no avail. Quite frustrated with seeming complacency considering the number of eyes on this Shituation report. The [Description](#Description) link you quote in your message has all the information, please read it closely.
Author
Owner

@symbolicEmm commented on GitHub (Apr 4, 2023):

The complaint is that this report with its description is marked as "solved" when it evidently is not.

@symbolicEmm commented on GitHub (Apr 4, 2023): The complaint is that this report with its description is marked as "solved" when it evidently is not.
Author
Owner

@dirkf commented on GitHub (Apr 4, 2023):

What you mean is that you don't care for the solutions so far proposed, no? Feel free to operate your own fork of the project to offer a different solution.

@dirkf commented on GitHub (Apr 4, 2023): What you mean is that you don't care for the solutions so far proposed, no? Feel free to operate your own fork of the project to offer a different solution.
Author
Owner

@symbolicEmm commented on GitHub (Apr 4, 2023):

Okay Cathy Newman. This response provides all the clarity I need.

@symbolicEmm commented on GitHub (Apr 4, 2023): Okay Cathy Newman. This response provides all the clarity I need.
Author
Owner

@moueza commented on GitHub (Apr 5, 2023):

youtube-dl -F http://www.youtube.com/watch?v=3JZ_D3ELwOQ
[youtube] 3JZ_D3ELwOQ: 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.
$ youtube-dl --version
2021.12.17
$

@moueza commented on GitHub (Apr 5, 2023): youtube-dl -F http://www.youtube.com/watch?v=3JZ_D3ELwOQ [youtube] 3JZ_D3ELwOQ: 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. $ youtube-dl --version 2021.12.17 $
Author
Owner
@moueza commented on GitHub (Apr 5, 2023): https://levelup.gitconnected.com/fix-error-unable-to-extract-uploader-id-3fad389322a7
Author
Owner

@daBee commented on GitHub (Apr 6, 2023):

Somehow solved using Python. I cannotnot Python, so I cannot comment:

https://stackoverflow.com/questions/75495800/error-unable-to-extract-uploader-id-youtube-discord-py

@daBee commented on GitHub (Apr 6, 2023): Somehow solved using `Python`. I cannotnot `Python`, so I cannot comment: https://stackoverflow.com/questions/75495800/error-unable-to-extract-uploader-id-youtube-discord-py
Author
Owner

@mbvgtfr commented on GitHub (Apr 7, 2023):

git clone https://github.com/ytdl-org/youtube-dl
pkg install zip
pkg install pandoc
make
~/youtube-dl/youtube-dl "https://m.youtube.com/playlist..."

@mbvgtfr commented on GitHub (Apr 7, 2023): git clone https://github.com/ytdl-org/youtube-dl pkg install zip pkg install pandoc make ~/youtube-dl/youtube-dl "https://m.youtube.com/playlist..."
Author
Owner

@schneems commented on GitHub (Apr 8, 2023):

tldr for homebrew users: brew reinstall youtube-dl

This worked for me, but later the bug came back. Re-running the command continues to solve the issue, but I'm unsure why it needs to happen repeatedly and why re-running the command does to fix the issue.

$ brew -v
Homebrew 4.0.11
Homebrew/homebrew-core (git revision 9f6f46344e6; last commit 2023-02-21)
Homebrew/homebrew-cask (git revision a8cca6a9ae; last commit 2023-02-22)
$ brew reinstall youtube-dl
==> Fetching youtube-dl
==> Downloading https://ghcr.io/v2/homebrew/core/youtube-dl/manifests/2021.12.17-2
Already downloaded: /Users/<username>/Library/Caches/Homebrew/downloads/af4e009121ff7543121df7c09854a632e93503182cf834b087ae0a5c76d6c62d--youtube-dl-2021.12.17-2.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/youtube-dl/blobs/sha256:4a0b4ff89c2e65e477927b6e62d8aa5d9de8cfb7f655f482d847898bd61071cf
Already downloaded: /Users/<username>/Library/Caches/Homebrew/downloads/288f29e0d31392f2d14751ae9593e915b7b1a0f2e72476401a2342e90952b3db--youtube-dl--2021.12.17.ventura.bottle.2.tar.gz
==> Reinstalling youtube-dl
==> Pouring youtube-dl--2021.12.17.ventura.bottle.2.tar.gz
🍺  /usr/local/Cellar/youtube-dl/2021.12.17: 1,596 files, 16.3MB
==> Running `brew cleanup youtube-dl`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
@schneems commented on GitHub (Apr 8, 2023): > tldr for homebrew users: brew reinstall youtube-dl This worked for me, but later the bug came back. Re-running the command continues to solve the issue, but I'm unsure why it needs to happen repeatedly and why re-running the command does to fix the issue. ``` $ brew -v Homebrew 4.0.11 Homebrew/homebrew-core (git revision 9f6f46344e6; last commit 2023-02-21) Homebrew/homebrew-cask (git revision a8cca6a9ae; last commit 2023-02-22) $ brew reinstall youtube-dl ==> Fetching youtube-dl ==> Downloading https://ghcr.io/v2/homebrew/core/youtube-dl/manifests/2021.12.17-2 Already downloaded: /Users/<username>/Library/Caches/Homebrew/downloads/af4e009121ff7543121df7c09854a632e93503182cf834b087ae0a5c76d6c62d--youtube-dl-2021.12.17-2.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/youtube-dl/blobs/sha256:4a0b4ff89c2e65e477927b6e62d8aa5d9de8cfb7f655f482d847898bd61071cf Already downloaded: /Users/<username>/Library/Caches/Homebrew/downloads/288f29e0d31392f2d14751ae9593e915b7b1a0f2e72476401a2342e90952b3db--youtube-dl--2021.12.17.ventura.bottle.2.tar.gz ==> Reinstalling youtube-dl ==> Pouring youtube-dl--2021.12.17.ventura.bottle.2.tar.gz 🍺 /usr/local/Cellar/youtube-dl/2021.12.17: 1,596 files, 16.3MB ==> Running `brew cleanup youtube-dl`... Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`). ```
Author
Owner

@dirkf commented on GitHub (Apr 8, 2023):

[brew reinstall] worked for me, but later the bug came back. ...

Are you sure you're not just seeing the WARNING that remains in the patched version to let you know that the uploader_id wasn't extracted? Otherwise, raise the problem in the linked thread for brew.

@dirkf commented on GitHub (Apr 8, 2023): >[brew reinstall] worked for me, but later the bug came back. ... Are you sure you're not just seeing the `WARNING` that remains in the patched version to let you know that the `uploader_id` wasn't extracted? Otherwise, raise the problem in the linked thread for _brew_.
Author
Owner

@ahmadmustafaanis commented on GitHub (Apr 9, 2023):

Still available with pip installation

@ahmadmustafaanis commented on GitHub (Apr 9, 2023): Still available with pip installation
Author
Owner

@samejima-san commented on GitHub (Apr 9, 2023):

i had to use the following command 'brew services restart php' and that solved my issue

@samejima-san commented on GitHub (Apr 9, 2023): i had to use the following command 'brew services restart php' and that solved my issue
Author
Owner

@neumond commented on GitHub (Apr 10, 2023):

Little hack if you've installed current master from git to fix uploader id issue and encounter
TypeError: Object of type LazyList is not JSON serializable

youtube_dl/utils.py, near line 1850:

    tf = tempfile.NamedTemporaryFile(**compat_kwargs(args))

    # add this function there
    def jdf(val):
        if isinstance(val, LazyList):
            return list(val)
        return val

    try:
        with tf:
            json.dump(obj, tf, default=jdf)  # and connect it there
@neumond commented on GitHub (Apr 10, 2023): Little hack if you've installed current master from git to fix uploader id issue and encounter `TypeError: Object of type LazyList is not JSON serializable` `youtube_dl/utils.py`, near line 1850: ```py tf = tempfile.NamedTemporaryFile(**compat_kwargs(args)) # add this function there def jdf(val): if isinstance(val, LazyList): return list(val) return val try: with tf: json.dump(obj, tf, default=jdf) # and connect it there ```
Author
Owner

@dirkf commented on GitHub (Apr 10, 2023):

@neumond

... if you've installed current master from git to fix uploader id issue and encounter TypeError: Object of type LazyList is not JSON serializable

This should have been fixed in master, but there was another way for a lazy fragment list to escape. If an error like this is seen with a version at commit fe7e130 or later, please report it with verbose log in #31999.

@dirkf commented on GitHub (Apr 10, 2023): @neumond >... if you've installed current master from git to fix uploader id issue and encounter `TypeError: Object of type LazyList is not JSON serializable` This should have been fixed in master, but there was another way for a lazy fragment list to escape. If an error like this is seen with a version at commit fe7e130 or later, please report it with verbose log in #31999.
Author
Owner

@neumond commented on GitHub (Apr 10, 2023):

Isn't 213d1d91bfc4a00fefc72fa2730555d51060b42d the latest version?

from pip freeze:

youtube-dl @ git+https://github.com/ytdl-org/youtube-dl.git@213d1d91bfc4a00fefc72fa2730555d51060b42d
@neumond commented on GitHub (Apr 10, 2023): Isn't `213d1d91bfc4a00fefc72fa2730555d51060b42d` the latest version? from pip freeze: ``` youtube-dl @ git+https://github.com/ytdl-org/youtube-dl.git@213d1d91bfc4a00fefc72fa2730555d51060b42d ```
Author
Owner

@IS4Code commented on GitHub (Apr 11, 2023):

Strangely the version 2020.11.21.1 seems to work.

@IS4Code commented on GitHub (Apr 11, 2023): Strangely the version 2020.11.21.1 seems to work.
Author
Owner

@EwoutH commented on GitHub (Apr 11, 2023):

Same issue, youtube-dl version 2021.12.17.

youtube-dl -F --verbose https://www.youtube.com/watch?v=13OtZFWdhwQ
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-F', '--verbose', 'https://www.youtube.com/watch?v=13OtZFWdhwQ']
[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.22621
[debug] exe versions: ffmpeg 5.1-full_build-www.gyan.dev, ffprobe 5.1-full_build-www.gyan.dev
[debug] Proxy map: {}
[youtube] 13OtZFWdhwQ: 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.
@EwoutH commented on GitHub (Apr 11, 2023): Same issue, youtube-dl version 2021.12.17. ``` youtube-dl -F --verbose https://www.youtube.com/watch?v=13OtZFWdhwQ [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-F', '--verbose', 'https://www.youtube.com/watch?v=13OtZFWdhwQ'] [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.22621 [debug] exe versions: ffmpeg 5.1-full_build-www.gyan.dev, ffprobe 5.1-full_build-www.gyan.dev [debug] Proxy map: {} [youtube] 13OtZFWdhwQ: 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. ```
Author
Owner

@dirkf commented on GitHub (Apr 11, 2023):

Strangely the version 2020.11.21.1 seems to work.

It's not strange that this error isn't seen since the failing code was added in 67299f23d8, 3 months after that release. However 2021.12.17 fixes #30603 which broke the YT extractor a few weeks earlier; if that isn't happening with the earlier version it's just luck that YT is not currently sending signature functions that the extractor can't handle. And the earlier version is way obsolete for many other sites/extractors.

Again, use the suggested update procedures.

@dirkf commented on GitHub (Apr 11, 2023): >Strangely the version 2020.11.21.1 seems to work. It's not strange that this error isn't seen since the failing code was added in 67299f23d8, 3 months after that release. However 2021.12.17 fixes #30603 which broke the YT extractor a few weeks earlier; if that isn't happening with the earlier version it's just luck that YT is not currently sending signature functions that the extractor can't handle. And the earlier version is way obsolete for many other sites/extractors. Again, use the suggested update procedures.
Author
Owner

@Ethanol6 commented on GitHub (Apr 11, 2023):

The readme says to install using pip with sudo -H pip install youtube-dl. Following the upgrade instructions in this thread to update from the master branch with this command pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl did not work. In fact it says the same version is already installed - youtube-dl-2021.12.17.

Using the command sudo -H pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl also tells me the requirement is already satisfied - youtube-dl-2021.12.17.

Uninstalled everything with sudo -H pip uninstall and pip uninstall then reinstalled with

sudo -H pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl

The version is still youtube-dl-2021.12.17 but now it seems to be working.

@Ethanol6 commented on GitHub (Apr 11, 2023): The readme says to install using pip with `sudo -H pip install youtube-dl`. Following the upgrade instructions in this thread to update from the master branch with this command `pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl` did not work. In fact it says the same version is already installed - youtube-dl-2021.12.17. Using the command `sudo -H pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl` also tells me the requirement is already satisfied - youtube-dl-2021.12.17. Uninstalled everything with `sudo -H pip uninstall` and `pip uninstall` then reinstalled with >`sudo -H pip install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl` The version is still youtube-dl-2021.12.17 but now it seems to be working.
Author
Owner

@GabrielNagy commented on GitHub (Apr 12, 2023):

@dirkf I've opened a follow-up PR at #32032 as I still get errors with --print-json even with the latest master. Probably not the correct way to do it but it fixes things for me, let me know what you think. Thanks

@GabrielNagy commented on GitHub (Apr 12, 2023): @dirkf I've opened a follow-up PR at #32032 as I still get errors with `--print-json` even with the latest master. Probably not the correct way to do it but it fixes things for me, let me know what you think. Thanks
Author
Owner

@Mercerenies commented on GitHub (Apr 12, 2023):

Good heavens, this is the most comprehensive and detailed summary of "here's how to work around this and here's which forks are currently functioning" I've ever seen. Kudos to everyone maintaining this issue and all of the workarounds! You all turned what would've been a few hours debugging into literal seconds.

@Mercerenies commented on GitHub (Apr 12, 2023): Good heavens, this is the most comprehensive and detailed summary of "here's how to work around this and here's which forks are currently functioning" I've ever seen. Kudos to everyone maintaining this issue and all of the workarounds! You all turned what would've been a few hours debugging into literal seconds.
Author
Owner

@davidawad commented on GitHub (Apr 14, 2023):

I just came upon this issue today, running the latest version.

david@sodium ~/P/W/D/Camb> youtube-dl --verbose -f mp4 -U 'https://www.youtube.com/watch?v=GVSnMSE2jj8'                                                                                  1
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '-f', 'mp4', '-U', 'https://www.youtube.com/watch?v=GVSnMSE2jj8']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Git HEAD: 9b60fcf7a
[debug] Python version 3.10.9 (CPython) - macOS-13.3.1-arm64-arm-64bit
[debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2, rtmpdump 2.4
[debug] Proxy map: {}
It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update.
[youtube] GVSnMSE2jj8: 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 "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/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 "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/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.

I solved this by downloading yt-dlp and not thinking about this issue any further.

$ brew install yt-dlp
$ yt-dlp -f mp4 'https://www.youtube.com/watch?v=Ma6XineLufc'
[youtube] Extracting URL: https://www.youtube.com/watch?v=Ma6XineLufc
[youtube] Ma6XineLufc: Downloading webpage
[youtube] Ma6XineLufc: Downloading android player API JSON
. . . 
@davidawad commented on GitHub (Apr 14, 2023): I just came upon this issue today, running the latest version. ``` david@sodium ~/P/W/D/Camb> youtube-dl --verbose -f mp4 -U 'https://www.youtube.com/watch?v=GVSnMSE2jj8' 1 [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', '-f', 'mp4', '-U', 'https://www.youtube.com/watch?v=GVSnMSE2jj8'] [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 [debug] youtube-dl version 2021.12.17 [debug] Git HEAD: 9b60fcf7a [debug] Python version 3.10.9 (CPython) - macOS-13.3.1-arm64-arm-64bit [debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2, rtmpdump 2.4 [debug] Proxy map: {} It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update. [youtube] GVSnMSE2jj8: 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 "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/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 "/opt/homebrew/Cellar/youtube-dl/2021.12.17/libexec/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. ``` I solved this by downloading `yt-dlp` and not thinking about this issue any further. ``` $ brew install yt-dlp $ yt-dlp -f mp4 'https://www.youtube.com/watch?v=Ma6XineLufc' [youtube] Extracting URL: https://www.youtube.com/watch?v=Ma6XineLufc [youtube] Ma6XineLufc: Downloading webpage [youtube] Ma6XineLufc: Downloading android player API JSON . . . ```
Author
Owner

@dotHTM commented on GitHub (Apr 14, 2023):

reinstalled from homebrew on an up to date Ventura macOS. I'm located in the USA if region is still considering, but this is Brodyquest...

;;; youtube-dl "https://youtu.be/ygI-2F8ApUM" --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://youtu.be/ygI-2F8ApUM', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Git HEAD: 2816c1274
[debug] Python version 3.10.11 (CPython) - macOS-13.3.1-arm64-arm-64bit
[debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2
[debug] Proxy map: {}
[youtube] ygI-2F8ApUM: 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 "/opt/homebrew/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/opt/homebrew/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/opt/homebrew/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/opt/homebrew/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 "/opt/homebrew/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.

@dotHTM commented on GitHub (Apr 14, 2023): reinstalled from homebrew on an up to date Ventura macOS. I'm located in the USA if region is still considering, but this is Brodyquest... ``` ;;; youtube-dl "https://youtu.be/ygI-2F8ApUM" --verbose [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['https://youtu.be/ygI-2F8ApUM', '--verbose'] [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 [debug] youtube-dl version 2021.12.17 [debug] Git HEAD: 2816c1274 [debug] Python version 3.10.11 (CPython) - macOS-13.3.1-arm64-arm-64bit [debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2 [debug] Proxy map: {} [youtube] ygI-2F8ApUM: 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 "/opt/homebrew/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/opt/homebrew/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/opt/homebrew/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/opt/homebrew/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 "/opt/homebrew/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. ```
Author
Owner

@dirkf commented on GitHub (Apr 14, 2023):

... reinstalled from homebrew on an up to date Ventura macOS. ...

Obviously not, or the broken yt-dl is somehow in a different universe from the one updated by brew. Show how you tried to update, eg brew reinstall youtube-dl, or ask brew support.

Also check https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1500999577.

@dirkf commented on GitHub (Apr 14, 2023): >... reinstalled from homebrew on an up to date Ventura macOS. ... Obviously not, or the broken yt-dl is somehow in a different universe from the one updated by _brew_. Show how you tried to update, eg `brew reinstall youtube-dl`, or ask _brew_ support. Also check https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1500999577.
Author
Owner

@jaderxnet commented on GitHub (Apr 14, 2023):

I tried doing this to update youtube_dl:

!pip install --upgrade --force-reinstall youtube_dl

As a result I had the log below, but it didn't work as a solution.

Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/ Collecting youtube_dl Using cached youtube_dl-2021.12.17-py2.py3-none-any.whl (1.9 MB) Installing collected packages: youtube_dl Attempting uninstall: youtube_dl Found existing installation: youtube-dl 2021.12.17 Uninstalling youtube-dl-2021.12.17: Successfully uninstalled youtube-dl-2021.12.17 Successfully installed youtube_dl-2021.12.17

I do not understand. Is the fix done but not available to apply? Will it only be applied in a next release with no set date to be released? If there is anything I can do today, please be more clear and direct with the answer. This Description and the posting rules do not help in solving the problem.

@jaderxnet commented on GitHub (Apr 14, 2023): I tried doing this to update youtube_dl: `!pip install --upgrade --force-reinstall youtube_dl` As a result I had the log below, but it didn't work as a solution. `Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/ Collecting youtube_dl Using cached youtube_dl-2021.12.17-py2.py3-none-any.whl (1.9 MB) Installing collected packages: youtube_dl Attempting uninstall: youtube_dl Found existing installation: youtube-dl 2021.12.17 Uninstalling youtube-dl-2021.12.17: Successfully uninstalled youtube-dl-2021.12.17 Successfully installed youtube_dl-2021.12.17` I do not understand. Is the fix done but not available to apply? Will it only be applied in a next release with no set date to be released? If there is anything I can do today, please be more clear and direct with the answer. This Description and the posting rules do not help in solving the problem.
Author
Owner

@dirkf commented on GitHub (Apr 14, 2023):

I tried doing this to update youtube_dl:

!pip install --upgrade --force-reinstall youtube_dl

Please read the update advice again. pip needs a URL that points to this repo as shown in various examples posted here. Otherwise special instructions wouldn't be needed.

Or uninstall your package version and install an unofficial nightly build.

@dirkf commented on GitHub (Apr 14, 2023): >I tried doing this to update youtube_dl: > >`!pip install --upgrade --force-reinstall youtube_dl` Please read [the update advice](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611) again. _pip_ needs a URL that points to this repo as shown in various examples posted here. Otherwise special instructions wouldn't be needed. Or uninstall your package version and install an unofficial nightly build.
Author
Owner

@jaderxnet commented on GitHub (Apr 15, 2023):

Please read the update advice again. pip needs a URL that points to this repo as shown in various examples posted here. Otherwise special instructions wouldn't be needed.

Or uninstall your package version and install an unofficial nightly build.

It worked for me:

!pip install git+https://github.com/ytdl-org/youtube-dl.git@master
or
!pip install --upgrade --force-reinstall git+https://github.com/ytdl-org/youtube-dl.git@master

Please put something like this in the Description @dirkf , it's more efficient for everyone to understand.

@jaderxnet commented on GitHub (Apr 15, 2023): > Please read [the update advice](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611) again. _pip_ needs a URL that points to this repo as shown in various examples posted here. Otherwise special instructions wouldn't be needed. > > Or uninstall your package version and install an unofficial nightly build. It worked for me: `!pip install git+https://github.com/ytdl-org/youtube-dl.git@master` or `!pip install --upgrade --force-reinstall git+https://github.com/ytdl-org/youtube-dl.git@master ` Please put something like this in the Description @dirkf , it's more efficient for everyone to understand.
Author
Owner

@dirkf commented on GitHub (Apr 16, 2023):

Please put something like this in the Description @dirkf , it's more efficient for everyone to understand.

Examples like this are in the post about updating via pip that is linked from the "TLDR" update post linked from the Description. To avoid requiring git, use the zip download offered from the "<> Code>Download ZIP" pull-down on the main page, but changing the extension to .tar.gz.

@dirkf commented on GitHub (Apr 16, 2023): >Please put something like this in the Description @dirkf , it's more efficient for everyone to understand. Examples like this are in the post about updating via _pip_ that is linked from the "TLDR" update post linked from the Description. To avoid requiring _git_, use the zip download offered from the "<> Code>Download ZIP" pull-down on the [main page](https://github.com/ytdl-org/youtube-dl), but changing the extension to [.tar.gz](https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz).
Author
Owner

@paulrougieux commented on GitHub (Apr 17, 2023):

 pip install --upgrade --force-reinstall git+https://github.com/ytdl-org/youtube-dl.git

Fixed the issue for me.

@paulrougieux commented on GitHub (Apr 17, 2023): pip install --upgrade --force-reinstall git+https://github.com/ytdl-org/youtube-dl.git Fixed the issue for me.
Author
Owner

@IvanZadorozhniy commented on GitHub (Apr 17, 2023):

 pip install --upgrade --force-reinstall git+https://github.com/ytdl-org/youtube-dl.git

Fixed the issue for me.

It also helped me

@IvanZadorozhniy commented on GitHub (Apr 17, 2023): > ``` > pip install --upgrade --force-reinstall git+https://github.com/ytdl-org/youtube-dl.git > ``` > > Fixed the issue for me. It also helped me
Author
Owner

@JoaoGFarias commented on GitHub (Apr 18, 2023):

This fixed the problem for me on Arch Linux.

@JoaoGFarias commented on GitHub (Apr 18, 2023): > This fixed the problem for me on Arch Linux.
Author
Owner

@spkahle1243 commented on GitHub (Apr 19, 2023):

I have the most recent version of youtube-dl as can be seen here:
C:\Users\usr\AppData\Local\FoundryVTT\Data\my information\DM Images\Youtube Audio Downloader>youtube-dl -U
youtube-dl is up-to-date (2021.12.17)

Then using the following command, I get the following error:
C:\Users\usr\AppData\Local\FoundryVTT\Data\my information\DM Images\Youtube Audio Downloader>youtube-dl -f ogg https://www.youtube.com/watch?v=kUESqvDzEr0&list=PLumzb_XznlTGfzCqgG86xdOS7ayMgOSzx&index=4
[youtube] kUESqvDzEr0: 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.
'list' is not recognized as an internal or external command,
operable program or batch file.
'index' is not recognized as an internal or external command,
operable program or batch file.

@spkahle1243 commented on GitHub (Apr 19, 2023): I have the most recent version of youtube-dl as can be seen here: C:\Users\usr\AppData\Local\FoundryVTT\Data\my information\DM Images\Youtube Audio Downloader>youtube-dl -U youtube-dl is up-to-date (2021.12.17) Then using the following command, I get the following error: C:\Users\usr\AppData\Local\FoundryVTT\Data\my information\DM Images\Youtube Audio Downloader>youtube-dl -f ogg https://www.youtube.com/watch?v=kUESqvDzEr0&list=PLumzb_XznlTGfzCqgG86xdOS7ayMgOSzx&index=4 [youtube] kUESqvDzEr0: 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. 'list' is not recognized as an internal or external command, operable program or batch file. 'index' is not recognized as an internal or external command, operable program or batch file.
Author
Owner

@navdeepghai commented on GitHub (Apr 20, 2023):

having same issue

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.
@navdeepghai commented on GitHub (Apr 20, 2023): having same issue ``` 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. ```
Author
Owner

@vanavata commented on GitHub (Apr 21, 2023):

I'm running the latest version of youtube-dl 2021.12.17 (on Windows 10 LTSC x64) but getting "ERROR: Unable to extract uploader id" when executing: youtube-dl --skip-download --write-sub --sub-lang en https://www.youtube.com/watch?v=PBsjggc5jHM

yt-dlp 2023.03.04 works with no problems using the same command-line options above...

@vanavata commented on GitHub (Apr 21, 2023): I'm running the latest version of youtube-dl 2021.12.17 (on Windows 10 LTSC x64) but getting _**"ERROR: Unable to extract uploader id"**_ when executing: `youtube-dl --skip-download --write-sub --sub-lang en https://www.youtube.com/watch?v=PBsjggc5jHM` yt-dlp 2023.03.04 works with no problems using the same command-line options above...
Author
Owner

@MarshCastle commented on GitHub (Apr 21, 2023):

Same issue:

Running Debian 11:

$ youtube-dl -U
youtube-dl is up-to-date (2021.12.17)

--verbose output...

$ youtube-dl https://www.youtube.com/watch?v=vvR8ZGkxW8Q --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://www.youtube.com/watch?v=vvR8ZGkxW8Q', u'--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 2.7.16 (CPython) - Linux-4.19.0-23-amd64-x86_64-with-debian-10.13
[debug] exe versions: phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] vvR8ZGkxW8Q: 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.
@MarshCastle commented on GitHub (Apr 21, 2023): Same issue: Running Debian 11: ``` $ youtube-dl -U youtube-dl is up-to-date (2021.12.17) ``` --verbose output... ``` $ youtube-dl https://www.youtube.com/watch?v=vvR8ZGkxW8Q --verbose [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'https://www.youtube.com/watch?v=vvR8ZGkxW8Q', u'--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 2.7.16 (CPython) - Linux-4.19.0-23-amd64-x86_64-with-debian-10.13 [debug] exe versions: phantomjs 2.1.1, rtmpdump 2.4 [debug] Proxy map: {} [youtube] vvR8ZGkxW8Q: 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. ```
Author
Owner

@navdeepghai commented on GitHub (Apr 21, 2023):

@MarshCastle

They have moved the lib to https://github.com/ytdl-org/youtube-dl, check it out, it's working for me.

@navdeepghai commented on GitHub (Apr 21, 2023): @MarshCastle They have moved the lib to https://github.com/ytdl-org/youtube-dl, check it out, it's working for me.
Author
Owner

@benjibasson83 commented on GitHub (Apr 22, 2023):

Hi
In fact there is no fix neither any solution to resolve the fact that YouTube dl doesn't work for YouTube

Checklist

  • [ x] I'm reporting a broken site support issue
  • [x ] I've verified that I'm running youtube-dl version 2021.12.17
  • [x ] I've checked that all provided URLs are alive and playable in a browser
  • [x ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • [ x] I've searched the bugtracker for similar bug reports including closed ones
  • [x ] I've read bugs section in FAQ

Verbose log

youtube-dl --no-cache-dir --extract-audio --audio-format mp3 -w -i -o "%(title)s.%(ext)s" https://m.youtube.com/watch?v=JQCD5LBJ1jU --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--no-cache-dir', '--extract-audio', '--audio-format', 'mp3', '-w', '-i', '-o', '%(title)s.%(ext)s', 'https://m.youtube.com/watch?v=JQCD5LBJ1jU', '--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.11.3 (CPython) - Linux-4.19.157-perf+-aarch64-with-libc
[debug] exe versions: ffmpeg 6.0, ffprobe 6.0
[debug] Proxy map: {}
[youtube] JQCD5LBJ1jU: Downloading webpage
[youtube] JQCD5LBJ1jU: 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 "/data/data/com.termux/files/usr/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
                ^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/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 "/data/data/com.termux/files/usr/lib/python3.11/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.

Description

Hi
pip install --upgrade --force-reinstall git+https://github.com/ytdl-org/youtube-dl.git
Collecting git+https://github.com/ytdl-org/youtube-dl.git
Give

  Cloning https://github.com/ytdl-org/youtube-dl.git to /data/data/com.termux/files/usr/tmp/pip-req-build-zvolm8k6
  ERROR: Error [Errno 2] No such file or directory: 'git' while executing command git version
ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?

pip install --upgrade youtube-dl give
Requirement already satisfied: youtube-dl in /data/data/com.termux/files/usr/lib/python3.11/site-packages (2021.12.17)

YouTube dl doesn't work for 3 mounth and there is zero solution. Zero fix although in this forum it is printed it has been fixed and that there is a 2023's update
Please give me the fix for

youtube-dl --no-cache-dir --extract-audio --audio-format mp3 -w -i -o "%(title)s.%(ext)s" https://m.youtube.com/watch?v=JQCD5LBJ1jU --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--no-cache-dir', '--extract-audio', '--audio-format', 'mp3', '-w', '-i', '-o', '%(title)s.%(ext)s', 'https://m.youtube.com/watch?v=JQCD5LBJ1jU', '--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.11.3 (CPython) - Linux-4.19.157-perf+-aarch64-with-libc
[debug] exe versions: ffmpeg 6.0, ffprobe 6.0
[debug] Proxy map: {}
[youtube] JQCD5LBJ1jU: Downloading webpage
[youtube] JQCD5LBJ1jU: 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 "/data/data/com.termux/files/usr/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
   return func(self, *args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
   ie_result = ie.extract(url)
               ^^^^^^^^^^^^^^^
 File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 534, in extract
   ie_result = self._real_extract(url)
               ^^^^^^^^^^^^^^^^^^^^^^^
 File "/data/data/com.termux/files/usr/lib/python3.11/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 "/data/data/com.termux/files/usr/lib/python3.11/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.
@benjibasson83 commented on GitHub (Apr 22, 2023): Hi In fact there is no fix neither any solution to resolve the fact that YouTube dl doesn't work for YouTube <!-- ###################################################################### WARNING! IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE ###################################################################### --> ## Checklist <!-- Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl: - First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2021.12.17. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED. - Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser. - Make sure that all URLs and arguments with special characters are properly quoted or escaped as explained in http://yt-dl.org/escape. - Search the bugtracker for similar issues: http://yt-dl.org/search-issues. DO NOT post duplicates. - Read bugs section in FAQ: http://yt-dl.org/reporting - Finally, put x into all relevant boxes (like this [x]) --> - [ x] I'm reporting a broken site support issue - [x ] I've verified that I'm running youtube-dl version **2021.12.17** - [x ] I've checked that all provided URLs are alive and playable in a browser - [x ] I've checked that all URLs and arguments with special characters are properly quoted or escaped - [ x] I've searched the bugtracker for similar bug reports including closed ones - [x ] I've read bugs section in FAQ ## Verbose log <!-- Provide the complete verbose output of youtube-dl that clearly demonstrates the problem. Add the `-v` flag to your command line you run youtube-dl with (`youtube-dl -v <your command line>`), copy the WHOLE output and insert it below. It should look similar to this: [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj'] [debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251 [debug] youtube-dl version 2021.12.17 [debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2 [debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4 [debug] Proxy map: {} <more lines> --> ``` youtube-dl --no-cache-dir --extract-audio --audio-format mp3 -w -i -o "%(title)s.%(ext)s" https://m.youtube.com/watch?v=JQCD5LBJ1jU --verbose [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--no-cache-dir', '--extract-audio', '--audio-format', 'mp3', '-w', '-i', '-o', '%(title)s.%(ext)s', 'https://m.youtube.com/watch?v=JQCD5LBJ1jU', '--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.11.3 (CPython) - Linux-4.19.157-perf+-aarch64-with-libc [debug] exe versions: ffmpeg 6.0, ffprobe 6.0 [debug] Proxy map: {} [youtube] JQCD5LBJ1jU: Downloading webpage [youtube] JQCD5LBJ1jU: 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 "/data/data/com.termux/files/usr/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) ^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.11/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 "/data/data/com.termux/files/usr/lib/python3.11/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. ``` ## Description <!-- Provide an explanation of your issue in an arbitrary form. Please make sure the description is worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient. Provide any additional information, suggested solution and as much context and examples as possible. If work on your issue requires account credentials please provide them or explain how one can obtain them. --> Hi pip install --upgrade --force-reinstall git+https://github.com/ytdl-org/youtube-dl.git Collecting git+https://github.com/ytdl-org/youtube-dl.git Give ``` Cloning https://github.com/ytdl-org/youtube-dl.git to /data/data/com.termux/files/usr/tmp/pip-req-build-zvolm8k6 ERROR: Error [Errno 2] No such file or directory: 'git' while executing command git version ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH? ``` pip install --upgrade youtube-dl give `Requirement already satisfied: youtube-dl in /data/data/com.termux/files/usr/lib/python3.11/site-packages (2021.12.17)` YouTube dl doesn't work for 3 mounth and there is zero solution. Zero fix although in this forum it is printed it has been fixed and that there is a 2023's update Please give me the fix for ``` youtube-dl --no-cache-dir --extract-audio --audio-format mp3 -w -i -o "%(title)s.%(ext)s" https://m.youtube.com/watch?v=JQCD5LBJ1jU --verbose [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--no-cache-dir', '--extract-audio', '--audio-format', 'mp3', '-w', '-i', '-o', '%(title)s.%(ext)s', 'https://m.youtube.com/watch?v=JQCD5LBJ1jU', '--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.11.3 (CPython) - Linux-4.19.157-perf+-aarch64-with-libc [debug] exe versions: ffmpeg 6.0, ffprobe 6.0 [debug] Proxy map: {} [youtube] JQCD5LBJ1jU: Downloading webpage [youtube] JQCD5LBJ1jU: 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 "/data/data/com.termux/files/usr/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) ^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.11/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 "/data/data/com.termux/files/usr/lib/python3.11/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. ```
Author
Owner

@dirkf commented on GitHub (Apr 22, 2023):

... It may be easiest just to uninstall it and install the appropriate single file nightly build instead

@MaraJadeLives

I also am getting this error ...

The Description at the top of the issue leads you to a solution.

@dirkf commented on GitHub (Apr 22, 2023): >[... It may be easiest just to uninstall it and install the appropriate single file nightly build instead](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611) @MaraJadeLives >I also am getting this error ... The Description at the top of the issue leads you to a solution.
Author
Owner

@creativecomposer commented on GitHub (Apr 23, 2023):

While waiting for the new release, I think we have resolved the issue in the homebrew side, can someone test it out and confirm the fix? Thanks!!

Yes intalling/reinstalling using homebrew works. The unable to extract uploader id message still appears, but now it is a warning instead of error and the video download was success.

Thanks a lot for the fix! 🙏

@creativecomposer commented on GitHub (Apr 23, 2023): > While waiting for the new release, I think we have resolved the issue in [the homebrew side](https://github.com/Homebrew/homebrew-core/pull/126066), can someone test it out and confirm the fix? Thanks!! Yes intalling/reinstalling using homebrew works. The `unable to extract uploader id` message still appears, but now it is a warning instead of error and the video download was success. Thanks a lot for the fix! :pray:
Author
Owner

@MaraJadeLives commented on GitHub (Apr 23, 2023):

I also am getting this error, but it's not on all videos. You devs are awesome, though, because a lot of the youtube downloader sites are pretty sketchy.

@MaraJadeLives commented on GitHub (Apr 23, 2023): I also am getting this error, but it's not on all videos. You devs are awesome, though, because a lot of the youtube downloader sites are pretty sketchy.
Author
Owner

@MaraJadeLives commented on GitHub (Apr 23, 2023):

I am now using dlp and it works for me.

@MaraJadeLives commented on GitHub (Apr 23, 2023): I am now using dlp and it works for me.
Author
Owner

@benjibasson83 commented on GitHub (Apr 23, 2023):

Using dlp? Hahaha this channel is yourube-dl. Not the fork's one.
Please an update.

@benjibasson83 commented on GitHub (Apr 23, 2023): Using dlp? Hahaha this channel is yourube-dl. Not the fork's one. Please an update.
Author
Owner

@MaraJadeLives commented on GitHub (Apr 23, 2023):

I was using your package, then I swapped to that fork.

On Sun, Apr 23, 2023 at 12:35 PM benjibasson83 @.***>
wrote:

Using dlp? Hahaha this channel is yourube-dl. Not the fork's one.
Please an update.

Le dimanche 23 avril 2023, MaraJadeLives @.***> a
écrit :

I am now using dlp and it works for me.

On Sun, Apr 23, 2023 at 11:02 AM dirkf @.***> wrote:

... It may be easiest just to uninstall it and install the appropriate
single file nightly build instead
<https://github.com/ytdl-org/youtube-dl/issues/31530#
issuecomment-1435975611>

@MaraJadeLives https://github.com/MaraJadeLives

I also am getting this error ...

The Description at the top of the issue leads you to a solution.


Reply to this email directly, view it on GitHub
<https://github.com/ytdl-org/youtube-dl/issues/31530#
issuecomment-1518830132>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/
AXC4XQ7FEOLNBCA5SIQPYSTXCV4FFANCNFSM6AAAAAAU6HECQY>
.
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-1519141611
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ALC5G6RYUGSJRQ23O75ISVLXCWBJNANCNFSM6AAAAAAU6HECQY

.
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-1519150620,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXC4XQ6VLVWG66QZGNBHVKTXCWHA7ANCNFSM6AAAAAAU6HECQY
.
You are receiving this because you were mentioned.Message ID:
@.***>

@MaraJadeLives commented on GitHub (Apr 23, 2023): I was using your package, then I swapped to that fork. On Sun, Apr 23, 2023 at 12:35 PM benjibasson83 ***@***.***> wrote: > Using dlp? Hahaha this channel is yourube-dl. Not the fork's one. > Please an update. > > Le dimanche 23 avril 2023, MaraJadeLives ***@***.***> a > écrit : > > > I am now using dlp and it works for me. > > > > On Sun, Apr 23, 2023 at 11:02 AM dirkf ***@***.***> wrote: > > > > > ... It may be easiest just to uninstall it and install the appropriate > > > single file nightly build instead > > > <https://github.com/ytdl-org/youtube-dl/issues/31530# > > issuecomment-1435975611> > > > > > > @MaraJadeLives <https://github.com/MaraJadeLives> > > > > > > I also am getting this error ... > > > > > > The Description at the top of the issue leads you to a solution. > > > > > > — > > > Reply to this email directly, view it on GitHub > > > <https://github.com/ytdl-org/youtube-dl/issues/31530# > > issuecomment-1518830132>, > > > or unsubscribe > > > <https://github.com/notifications/unsubscribe-auth/ > > AXC4XQ7FEOLNBCA5SIQPYSTXCV4FFANCNFSM6AAAAAAU6HECQY> > > > . > > > 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-1519141611 > >, > > or unsubscribe > > < > https://github.com/notifications/unsubscribe-auth/ALC5G6RYUGSJRQ23O75ISVLXCWBJNANCNFSM6AAAAAAU6HECQY > > > > . > > 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-1519150620>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AXC4XQ6VLVWG66QZGNBHVKTXCWHA7ANCNFSM6AAAAAAU6HECQY> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> >
Author
Owner

@MarshCastle commented on GitHub (Apr 23, 2023):

You guys are amazing.
Yt-dlp is working here also

https://github.com/yt-dlp/yt-dlp

Thank you.

@MarshCastle commented on GitHub (Apr 23, 2023): You guys are amazing. Yt-dlp is working here also https://github.com/yt-dlp/yt-dlp Thank you.
Author
Owner

@holms commented on GitHub (Apr 23, 2023):

So why this repo doesn't release the latest builds anymore? Why we stuck in 2021??

@holms commented on GitHub (Apr 23, 2023): So why this repo doesn't release the latest builds anymore? Why we stuck in 2021??
Author
Owner

@iloudaros commented on GitHub (Apr 24, 2023):

I am trying to update, using homebrew, but the latest available version there is 2021.12.17.

@iloudaros commented on GitHub (Apr 24, 2023): I am trying to update, using homebrew, but the latest available version there is `2021.12.17`.
Author
Owner

@iloudaros commented on GitHub (Apr 24, 2023):

I am trying to update, using homebrew, but the latest available version there is 2021.12.17.

reinstalling fixed the issue

@iloudaros commented on GitHub (Apr 24, 2023): > I am trying to update, using homebrew, but the latest available version there is `2021.12.17`. reinstalling fixed the issue
Author
Owner

@benjibasson83 commented on GitHub (Apr 24, 2023):

Reinstalling doesn't fix any issue because reinstalling is always
reinstalling 2021.12.17 instead of 2023.04.24!

we are many (more than fingers of hands) to complain about it.
Please make available update because
https://yt-dl.org/downloads/latest/youtube-dl is always
2021.12.17 https://yt-dl.org/downloads/2021.12.17/youtube-dl (sig
https://yt-dl.org/downloads/2021.12.17/youtube-dl.sig)

SHA256: 7880e01abe282c7fd596f429c35189851180d6177302bb215be1cdec78d6d06d

@benjibasson83 commented on GitHub (Apr 24, 2023): Reinstalling doesn't fix any issue because reinstalling is always reinstalling 2021.12.17 instead of 2023.04.24! we are many (more than fingers of hands) to complain about it. Please make available update because https://yt-dl.org/downloads/latest/youtube-dl is always 2021.12.17 <https://yt-dl.org/downloads/2021.12.17/youtube-dl> (sig <https://yt-dl.org/downloads/2021.12.17/youtube-dl.sig>) *SHA256*: 7880e01abe282c7fd596f429c35189851180d6177302bb215be1cdec78d6d06d
Author
Owner

@dirkf commented on GitHub (Apr 24, 2023):

For problems with package managers like homebrew where an update command is suggested here, report any problems using the package manager's support system, but please post a link or quote of any non-trivial solution here.

To expand, it should be obvious but, with 425 comments here already, don't even think of posting anything like these

I have the problem in the issue title too

one suggested update solution worked for me

  • instead like the post where you found the solution

I installed yt-dlp instead and it works/doesn't work

I fixed the problem with this nifty code patch; also I've made a video of it

  • good for you, but we already have a fix that correctly returns metadata affected by the new YT owner URL format; use that instead

-U doesn't work

  • use an unofficial nightly build suitable for your platform; review #31585; create a PR if it bugs you too much (a post announcing that is fine)

none of the suggested update methods work for me

  • uninstall your yt-dl (all of them!); use an unofficial nightly build suitable for your platform; if that still doesn't work, possibly consider posting your issue with a verbose log of the failed installation steps and enough of a failing yt-dl run to identify its platform and installation directory

I tried one of the suggested update methods but I still have the problem in the issue title

  • obviously the update didn't work (but check that it's actually ERROR, not WARNING); make sure you are updating the right yt-dl; see the previous point;

here's a screenshot of my problem

  • learn to select console text on your platform (see FAQ: BUGS).

Posts, or new issues, like any of these examples may be marked as spam or just deleted.

@dirkf commented on GitHub (Apr 24, 2023): For problems with package managers like _homebrew_ where an update command is suggested here, report any problems using the package manager's support system, but please post a link or quote of any non-trivial solution here. To expand, it should be obvious but, with 425 comments here already, **don't even think** of posting anything like these >I have the problem in the issue title too * instead (if you wish) "like" (or whatever) [the post mentioned in the Description](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1433230848) >one suggested update solution worked for me * instead like the post where you found the solution >I installed yt-dlp instead and it works/doesn't work * for "works", see the previous point, for "doesn't work", tell https://github.com/yt-dlp/yt-dlp/issues >I fixed the problem with this nifty code patch; also [I've made a video of it](https://github.com/ytdl-org/youtube-dl/issues/32111#issuecomment-1527285288) * good for you, but we already have a fix that correctly returns metadata affected by the new YT owner URL format; use that instead >`-U` doesn't work * use an unofficial nightly build suitable for your platform; review #31585; create a PR if it bugs you too much (a post announcing that is fine) >none of the suggested update methods work for me * uninstall your yt-dl (all of them!); use an unofficial nightly build suitable for your platform; if that still doesn't work, possibly consider posting your issue with a verbose log of the failed installation steps and enough of a failing yt-dl run to identify its platform and installation directory >I tried one of the suggested update methods but I still have the problem in the issue title * obviously the update didn't work (but check that it's actually `ERROR`, not `WARNING`); make sure you are updating the right yt-dl; see the previous point; >here's a screenshot of my problem * learn to select console text on your platform (see [FAQ: BUGS](https://github.com/ytdl-org/youtube-dl#user-content-bugs)). Posts, or new issues, like any of these examples may be marked as spam or just deleted.
Author
Owner

@wereretot commented on GitHub (Apr 27, 2023):

Same issue here

@wereretot commented on GitHub (Apr 27, 2023): Same issue here
Author
Owner

@YesItsTheRealIvoie2006 commented on GitHub (Apr 30, 2023):

'uploader_id': self._search_regex(r'/(?:channel/|user/|@)([^/?&#]+)', owner_profile_url, 'uploader id', default=None),

line 1794 in youtube.py
replacing it with that fixed my issue , thanks , should be committed to master , thank you @nicolaasjan for the fix!

@YesItsTheRealIvoie2006 commented on GitHub (Apr 30, 2023): `'uploader_id': self._search_regex(r'/(?:channel/|user/|@)([^/?&#]+)', owner_profile_url, 'uploader id', default=None),` line 1794 in youtube.py replacing it with that fixed my issue , thanks , should be committed to master , thank you @nicolaasjan for the fix!
Author
Owner

@nicolaasjan commented on GitHub (Apr 30, 2023):

@YesItsTheRealIvoie2006
That fix is now outdated.
It was fixed with the merging of pull request #31675.
Use the suggested methods as linked from the Description .

@nicolaasjan commented on GitHub (Apr 30, 2023): @YesItsTheRealIvoie2006 That fix is now outdated. It was fixed with the merging of pull request #31675. Use the [suggested methods](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611) as linked from the [Description ](https://github.com/ytdl-org/youtube-dl/issues/31530#Description).
Author
Owner

@CodeKraft commented on GitHub (May 1, 2023):

Sofar nothing, still doesn't work, tried the update and it says I am using the up-to-date version and still keep seeing comments about the problem is fixed, if it were then the -U would update the software and it doesn't

Its been like this for nearly 5 weeks, so is this going to be fixed or are we all going to have to pay youtube to download video?

@CodeKraft commented on GitHub (May 1, 2023): Sofar nothing, still doesn't work, tried the update and it says I am using the up-to-date version and still keep seeing comments about the problem is fixed, if it were then the -U would update the software and it doesn't Its been like this for nearly 5 weeks, so is this going to be fixed or are we all going to have to pay youtube to download video?
Author
Owner

@MarshCastle commented on GitHub (May 1, 2023):

This worked for me:

$ mkdir ~/bin

$ curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o ./bin/yt-dlp

If you run it in your home dir, you can run it using ./bin/yt-dlp
It:
    - creates the ~/bin dir
    - downloads yt-dlp and puts it in the folder

Worked for me like a charm. Hope it does the same for you :D.

1 May 2023 23:08:35 Mark @.***>:

Sofar nothing, still doesn't work, tried the update and it says I am using the up-to-date version and still keep seeing comments about the problem is fixed, if it were then the -U would update the software and it doesn't

Its been like this for nearly 5 weeks, so is this going to be fixed or are we all going to have to pay youtube to download video?


Reply to this email directly, view it on GitHub[https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1530404371], or unsubscribe[https://github.com/notifications/unsubscribe-auth/ACSZH7P2TS5AIXA3HA3KZ5DXEAX6DANCNFSM6AAAAAAU6HECQY].
You are receiving this because you were mentioned.[Tracking image][https://github.com/notifications/beacon/ACSZH7PKEJLZEWMYD2HKLKLXEAX6DA5CNFSM6AAAAAAU6HECQ2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTS3HAPBG.gif]

@MarshCastle commented on GitHub (May 1, 2023): This worked for me: ``` $ mkdir ~/bin $ curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o ./bin/yt-dlp ``` If you run it in your home dir, you can run it using ./bin/yt-dlp It:     - creates the ~/bin dir     - downloads yt-dlp and puts it in the folder Worked for me like a charm. Hope it does the same for you :D. 1 May 2023 23:08:35 Mark ***@***.***>: > Sofar nothing, still doesn't work, tried the update and it says I am using the up-to-date version and still keep seeing comments about the problem is fixed, if it were then the -U would update the software and it doesn't > > Its been like this for nearly 5 weeks, so is this going to be fixed or are we all going to have to pay youtube to download video? > > — > Reply to this email directly, view it on GitHub[https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1530404371], or unsubscribe[https://github.com/notifications/unsubscribe-auth/ACSZH7P2TS5AIXA3HA3KZ5DXEAX6DANCNFSM6AAAAAAU6HECQY]. > You are receiving this because you were mentioned.[Tracking image][https://github.com/notifications/beacon/ACSZH7PKEJLZEWMYD2HKLKLXEAX6DA5CNFSM6AAAAAAU6HECQ2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTS3HAPBG.gif] >
Author
Owner

@CodeKraft commented on GitHub (May 2, 2023):

the suggestion doesn't work.

curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o ./bin/yt-dlp
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
Warning: Failed to create the file ./bin/yt-dlp: No such file or directory
0 2682k 0 16375 0 0 17773 0 0:02:34 --:--:-- 0:02:34 17773
curl: (23) Failed writing body (0 != 16375)

@CodeKraft commented on GitHub (May 2, 2023): the suggestion doesn't work. curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o ./bin/yt-dlp % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 Warning: Failed to create the file ./bin/yt-dlp: No such file or directory 0 2682k 0 16375 0 0 17773 0 0:02:34 --:--:-- 0:02:34 17773 curl: (23) Failed writing body (0 != 16375)
Author
Owner

@MarshCastle commented on GitHub (May 2, 2023):

the suggestion doesn't work.

Warning: Failed to create the file ./bin/yt-dlp: No such file or directory

did you do the first line mkdir ./bin?

this is suggesting that it cant write the file to your disk. it's only downloading it. Maybe if you just download it to your home dir to start with and test it. Try using:

    curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp 

you can then:
ls -l yt-dlp to see if it's there.

If it is you there you'll need to make it executable (so you can run it:

chmod u+x yt-dlp makes it executable for the user

you can check that by listing the file in it's long form:

ls -l yt-dlp - you should see an x in the 4th slot on the left (i.e. -rwx at he start of the line

once that's there you can run it. You'll have to declare that it's in 'this' directory with a ./, ie:

./yt-dlp https://www.youtube.com/watch?v=aKRYQsKR46I(maybe use your url instead of mine ;))

Let me know how it goes...?

@MarshCastle commented on GitHub (May 2, 2023): > the suggestion doesn't work. ```Warning: Failed to create the file ./bin/yt-dlp: No such file or directory``` did you do the first line ```mkdir ./bin```? this is suggesting that it cant write the file to your disk. it's only downloading it. Maybe if you just download it to your home dir to start with and test it. Try using: ``` curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp ``` you can then: ```ls -l yt-dlp``` to see if it's there. If it is you there you'll need to make it executable (so you can run it: ```chmod u+x yt-dlp``` makes it e**x**ecutable for the **u**ser you can check that by **l**i**s**ting the file in it's **l**ong form: ```ls -l yt-dlp``` - you should see an **x** in the 4th slot on the left (i.e. -rw**x** at he start of the line once that's there you can run it. You'll have to declare that it's in 'this' directory with a ./, ie: ```./yt-dlp https://www.youtube.com/watch?v=aKRYQsKR46I```(maybe use your url instead of mine ;)) Let me know how it goes...?
Author
Owner

@CodeKraft commented on GitHub (May 2, 2023):

Didn't work, all I get is garbage

�{PK!(��6� �{PK!(����\�yt_dlp/extractor/onefootball.pyUT�Qm8ux �{PK!(0������ԉyt_dlp/extractor/onenewsnz.pyUT�Qm8ux �{PK!(���2����yt_dlp/extractor/oneplace.pyUT�Qm8ux �{PK!(1��� u&���yt_dlp/extractor/onet.pyUT�Qm8ux �{PK!(�b\�K� ��w�yt_dlp/extractor/onionstudios.pyUT�Qm8ux �{PK!(d&�,� S'���yt_dlp/extractor/ooyala.pyUT�Qm8ux �{PK!(��{)h��,�yt_dlp/extractor/opencast.pyUT�Qm8ux �{PK!(�Ru! �!����yt_dlp/extractor/openload.pyUT�Qm8ux �{PK!(�L���h��n�yt_dlp/extractor/openrec.pyUT�Qm8ux �{PK!((���6 ����yt_dlp/extractor/ora.pyUT�Qm8ux �{PK!( ���[�M���yt_dlp/extractor/orf.pyUT�Qm8ux �{PK!(��]>�����yt_dlp/extractor/outsidetv.pyUT�Qm8ux �{PK!(���^�*��"�yt_dlp/extractor/packtpub.pyUT�Qm8ux �{PK!(@D���g��C�yt_dlp/extractor/palcomp3.pyUT�Qm8ux

then ...

$ ls -l yt-dlp
ls: cannot access 'yt-dlp': No such file or directory

Given up, I only updated the last time around for the latest version and the devs broke it... When are they going to fix it?

@CodeKraft commented on GitHub (May 2, 2023): Didn't work, all I get is garbage ` �{PK!(��6� �{PK!(����\�yt_dlp/extractor/onefootball.pyUT�Qm8ux �{PK!(0������ԉyt_dlp/extractor/onenewsnz.pyUT�Qm8ux �{PK!(���2����yt_dlp/extractor/oneplace.pyUT�Qm8ux �{PK!(1��� u&���yt_dlp/extractor/onet.pyUT�Qm8ux �{PK!(�b\�K� ��w�yt_dlp/extractor/onionstudios.pyUT�Qm8ux �{PK!(d&�,� S'���yt_dlp/extractor/ooyala.pyUT�Qm8ux �{PK!(��{)h��,�yt_dlp/extractor/opencast.pyUT�Qm8ux �{PK!(�Ru! �!����yt_dlp/extractor/openload.pyUT�Qm8ux �{PK!(�L���h��n�yt_dlp/extractor/openrec.pyUT�Qm8ux �{PK!((���6 ����yt_dlp/extractor/ora.pyUT�Qm8ux �{PK!( ���[�M���yt_dlp/extractor/orf.pyUT�Qm8ux �{PK!(��]>�����yt_dlp/extractor/outsidetv.pyUT�Qm8ux �{PK!(���^�*��"�yt_dlp/extractor/packtpub.pyUT�Qm8ux �{PK!(@D���g��C�yt_dlp/extractor/palcomp3.pyUT�Qm8ux ` then ... $ ls -l yt-dlp ls: cannot access 'yt-dlp': No such file or directory Given up, I only updated the last time around for the latest version and the devs broke it... When are they going to fix it?
Author
Owner

@CodeKraft commented on GitHub (May 2, 2023):

Why are they not releasing the fix then? Its not at all helpful to say the least.

Found a website to download the files, maybe when the yt-dl devs stop mucking about, I might hoop jump and have a care.

@CodeKraft commented on GitHub (May 2, 2023): Why are they not releasing the fix then? Its not at all helpful to say the least. Found a website to download the files, maybe when the yt-dl devs stop mucking about, I might hoop jump and have a care.
Author
Owner

@YesItsTheRealIvoie2006 commented on GitHub (May 2, 2023):

Ok so it appears that something is very wrong in your copy of youtube.py

Heres my WORKING copy of youtube.py and how to patch:

Replace the file located in C:\users\%username%\appdata\roaming\python\<-yourpythoninstall->\site-packages\youtube_dl\extractor\youtube.py
in my case that is :
C:\users\ivoie\appdata\roaming\python\python311\site-packages\youtube_dl\extractor\youtube.py (Note , if you are running Linux or MacOS it will be installed in a diffrent path, you need to locate your python install to apply this to the faulty file)

with the following file in the zip below:
youtube.zip

(Note : I had to zip the file as github doesnt support me uploading py files directly , the sha-256 is fff35244cc8e978ba4aa1698336c6194fd323656ff3ca3d6d373014708e1a79b )

this .py file IS CONFIRMED WORKING (1 MAY 2023) and has my patch implimented

Best of luck to you @CodeKraft

@YesItsTheRealIvoie2006 commented on GitHub (May 2, 2023): Ok so it appears that something is very wrong in your copy of youtube.py Heres my WORKING copy of youtube.py and how to patch: Replace the file located in ` C:\users\%username%\appdata\roaming\python\<-yourpythoninstall->\site-packages\youtube_dl\extractor\youtube.py` in my case that is : `C:\users\ivoie\appdata\roaming\python\python311\site-packages\youtube_dl\extractor\youtube.py ` (Note , if you are running Linux or MacOS it will be installed in a diffrent path, you need to locate your python install to apply this to the faulty file) with the following file in the zip below: [youtube.zip](https://github.com/ytdl-org/youtube-dl/files/11373110/youtube.zip) (Note : I had to zip the file as github doesnt support me uploading py files directly , the sha-256 is `fff35244cc8e978ba4aa1698336c6194fd323656ff3ca3d6d373014708e1a79b `) this .py file IS CONFIRMED WORKING (1 MAY 2023) and has my patch implimented Best of luck to you @CodeKraft
Author
Owner

@Rqbln commented on GitHub (May 2, 2023):

That's amazing, thanks a lot :)

@Rqbln commented on GitHub (May 2, 2023): That's amazing, thanks a lot :)
Author
Owner

@MarshCastle commented on GitHub (May 2, 2023):

Found a website to download the files, maybe when the yt-dl devs stop mucking about, I might hoop jump and have a care.

Maybe they have kids to feed and have to prioritise sometimes..?

@MarshCastle commented on GitHub (May 2, 2023): > Found a website to download the files, maybe when the yt-dl devs stop mucking about, I might hoop jump and have a care. Maybe they have kids to feed and have to prioritise sometimes..?
Author
Owner

@CodeKraft commented on GitHub (May 2, 2023):

Found a website to download the files, maybe when the yt-dl devs stop mucking about, I might hoop jump and have a care.

Maybe they have kids to feed and have to prioritise sometimes..?

They released an update that ultimately cause the issue, so why not just offer the ability to roll back? Not rocket science you know.

Seems to me over the 20 years I have been using Linux that there is never ever a roll back function to revert to the previous working install, its one way forward and if all goes to S**t then sit and wait until someone can be bothered to work out where the devs went wrong.

@CodeKraft commented on GitHub (May 2, 2023): > > Found a website to download the files, maybe when the yt-dl devs stop mucking about, I might hoop jump and have a care. > > Maybe they have kids to feed and have to prioritise sometimes..? They released an update that ultimately cause the issue, so why not just offer the ability to roll back? Not rocket science you know. Seems to me over the 20 years I have been using Linux that there is never ever a roll back function to revert to the previous working install, its one way forward and if all goes to S**t then sit and wait until someone can be bothered to work out where the devs went wrong.
Author
Owner

@paulrougieux commented on GitHub (May 2, 2023):

Please upvote @dirkf 's solution in one of the hundreds of comments above:
https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435477247 Unfortunately, that comment is hidden in the default view when reading this issue. It will hopefully pop-up if the suggestion works and people up-vote it.

I'm sorry to read messages from all the persons who keep repeating the same questions. The version number was not updated since "2021.12.17", but a force reinstall to the latest code in this git repository works.

@paulrougieux commented on GitHub (May 2, 2023): Please upvote @dirkf 's solution in one of the hundreds of comments above: https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435477247 Unfortunately, that comment is hidden in the default view when reading this issue. It will hopefully pop-up if the suggestion works and people up-vote it. I'm sorry to read messages from all the persons who keep repeating the same questions. The version number was not updated since "2021.12.17", but a force reinstall to the latest code in this git repository works.
Author
Owner

@p6002 commented on GitHub (May 3, 2023):

So youtube-dl project is no longer supported?

@p6002 commented on GitHub (May 3, 2023): So youtube-dl project is no longer supported?
Author
Owner

@hellofaduck commented on GitHub (May 8, 2023):

Updating directly from curl -L https://yt-dl.org/downloads/latest/youtube-dl wasnt helpful to me on my linux machine, but if I install it on my Mac through brew, it prints the same error but it works! strange...

@hellofaduck commented on GitHub (May 8, 2023): Updating directly from `curl -L https://yt-dl.org/downloads/latest/youtube-dl` wasnt helpful to me on my linux machine, but if I install it on my Mac through brew, it prints the same error but it works! strange...
Author
Owner

@dirkf commented on GitHub (May 8, 2023):

@hellofaduck, in your spam

... if I install it on my Mac through brew, it prints the same error but it works

Read the tldr; (apparently even that was "too long" for you) to explain what you thought you saw (you didn't exactly).

@dirkf commented on GitHub (May 8, 2023): @hellofaduck, in your [spam](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1520185289) > ... if I install it on my Mac through brew, it prints the same error but it works Read the [tldr](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611); (apparently even that was "too long" for you) to explain what you thought you saw (you didn't exactly).
Author
Owner

@benjibasson83 commented on GitHub (May 8, 2023):

dirkf
Please put the tldr instructions and update at the right place that means
here http://ytdl-org.github.io/youtube-dl/download.html
(apparently even that was "too long" for you) to explain where you thought
you write (you didn't exactly).)

Le lundi 8 mai 2023, dirkf @.***> a écrit :

@hellofaduck https://github.com/hellofaduck, in your spam
https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1520185289

... if I install it on my Mac through brew, it prints the same error but
it works

Read the tldr
https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611;
(apparently even that was "too long" for you) to explain what you thought
you saw (you didn't exactly).


Reply to this email directly, view it on GitHub
https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1538130109,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALC5G6SBZJ4V4FP57U4PBOLXFDCFRANCNFSM6AAAAAAU6HECQY
.
You are receiving this because you commented.Message ID:
@.***>

@benjibasson83 commented on GitHub (May 8, 2023): dirkf Please put the tldr instructions and update at the right place that means here http://ytdl-org.github.io/youtube-dl/download.html (apparently even that was "too long" for you) to explain where you thought you write (you didn't exactly).) Le lundi 8 mai 2023, dirkf ***@***.***> a écrit : > @hellofaduck <https://github.com/hellofaduck>, in your spam > <https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1520185289> > > ... if I install it on my Mac through brew, it prints the same error but > it works > > Read the tldr > <https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611>; > (apparently even that was "too long" for you) to explain what you thought > you saw (you didn't exactly). > > — > Reply to this email directly, view it on GitHub > <https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1538130109>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ALC5G6SBZJ4V4FP57U4PBOLXFDCFRANCNFSM6AAAAAAU6HECQY> > . > You are receiving this because you commented.Message ID: > ***@***.***> >
Author
Owner

@kfird214 commented on GitHub (May 8, 2023):

Seems like the patter should just change to /(?:channel|user)/([^/?&#]+)
Now youtube probably does somthing like www.youtube.com/@<user> instead of www.youtube.com/user/<username>

@kfird214 commented on GitHub (May 8, 2023): Seems like the patter should just change to `/(?:channel|user)/([^/?&#]+)` Now youtube probably does somthing like `www.youtube.com/@<user>` `instead of www.youtube.com/user/<username>`
Author
Owner

@TimHoepfner commented on GitHub (May 9, 2023):

Like @paulrougieux said, reinstall youtube-dl and just ignore the same version info.

On my Mac I've fixed it with homebrew

brew update
brew reinstall youtube-dl
@TimHoepfner commented on GitHub (May 9, 2023): Like @paulrougieux said, reinstall youtube-dl and just ignore the same version info. On my Mac I've fixed it with homebrew ``` brew update brew reinstall youtube-dl ```
Author
Owner

@Riveascore commented on GitHub (May 12, 2023):

Installing from github directly yielded a version that no longer errors for me:

pip install git+https://github.com/ytdl-org/youtube-dl.git
@Riveascore commented on GitHub (May 12, 2023): Installing from github directly yielded a version that no longer errors for me: ```console pip install git+https://github.com/ytdl-org/youtube-dl.git ```
Author
Owner

@antboy commented on GitHub (May 14, 2023):

Just a note about dirkf's solution

If your temp directory is on a RAM "disk" rather than a hard disk, the git clone will fail as the RAM disk does not retain ownership details and git objects as it finds this suspicious.

I had to capture the git clone command output as info and manually edit it to specifiy a temp directory on the hard disk instead, then run the edited command then run the pip install from the new clone directory.

@antboy commented on GitHub (May 14, 2023): Just a note about [dirkf's solution](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435477247) If your temp directory is on a RAM "disk" rather than a hard disk, the git clone will fail as the RAM disk does not retain ownership details and git objects as it finds this suspicious. I had to capture the git clone command output as info and manually edit it to specifiy a temp directory on the hard disk instead, then run the edited command then run the pip install from the new clone directory.
Author
Owner

@dirkf commented on GitHub (May 14, 2023):

If your temp directory is on a RAM "disk" rather than a hard disk, the git clone will fail ...

Or your temp directory has the wrong permissions?

Also, in a POSIX shell, override a suspect temp directory:

TMPDIR=/known/good/tmp/dir command
@dirkf commented on GitHub (May 14, 2023): >If your temp directory is on a RAM "disk" rather than a hard disk, the git clone will fail ... Or your temp directory has the wrong permissions? Also, in a POSIX shell, override a suspect temp directory: ``` TMPDIR=/known/good/tmp/dir command ```
Author
Owner

@CaneRandagio1983 commented on GitHub (May 15, 2023):

this works for me #31530

@CaneRandagio1983 commented on GitHub (May 15, 2023): this works for me [#31530](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435477247)
Author
Owner

@jfrickmann commented on GitHub (May 15, 2023):

Same problem here:

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=jabKKr3pstU']
[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.8.10 (CPython) - Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] jabKKr3pstU: 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 "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/lib/python3.8/dist-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 "/usr/local/lib/python3.8/dist-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.
@jfrickmann commented on GitHub (May 15, 2023): Same problem here: ``` [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=jabKKr3pstU'] [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.8.10 (CPython) - Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.29 [debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7, rtmpdump 2.4 [debug] Proxy map: {} [youtube] jabKKr3pstU: 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 "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/usr/local/lib/python3.8/dist-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 "/usr/local/lib/python3.8/dist-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. ```
Author
Owner

@d-pletikapa commented on GitHub (May 16, 2023):

Have the same issue:
`Fedora Modular 38 - x86_64 - Updates 30 kB/s | 18 kB 00:00
Installed Packages
Name : python3
Version : 3.11.3
Release : 1.fc38
Architecture : x86_64
Size : 33 k
Source : python3.11-3.11.3-1.fc38.src.rpm

[debug] System config: ['--prefer-free-formats']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://youtu.be/Z7wUyXJSHnk', '--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.11.3 (CPython) - Linux-6.2.15-300.fc38.x86_64-x86_64-with-glibc2.37
[debug] exe versions: ffmpeg 6.0, ffprobe 6.0
[debug] Proxy map: {}
[youtube] Z7wUyXJSHnk: 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.

youtube-dl -U
youtube-dl is up-to-date (2021.12.17)

`

@d-pletikapa commented on GitHub (May 16, 2023): Have the same issue: `Fedora Modular 38 - x86_64 - Updates 30 kB/s | 18 kB 00:00 Installed Packages Name : python3 Version : 3.11.3 Release : 1.fc38 Architecture : x86_64 Size : 33 k Source : python3.11-3.11.3-1.fc38.src.rpm [debug] System config: ['--prefer-free-formats'] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['https://youtu.be/Z7wUyXJSHnk', '--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.11.3 (CPython) - Linux-6.2.15-300.fc38.x86_64-x86_64-with-glibc2.37 [debug] exe versions: ffmpeg 6.0, ffprobe 6.0 [debug] Proxy map: {} [youtube] Z7wUyXJSHnk: 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. youtube-dl -U youtube-dl is up-to-date (2021.12.17) `
Author
Owner

@CaneRandagio1983 commented on GitHub (May 17, 2023):

Have the same issue: `Fedora Modular 38 - x86_64 - Updates 30 kB/s | 18 kB 00:00 Installed Packages Name : python3 Version : 3.11.3 Release : 1.fc38 Architecture : x86_64 Size : 33 k Source : python3.11-3.11.3-1.fc38.src.rpm

[debug] System config: ['--prefer-free-formats'] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['https://youtu.be/Z7wUyXJSHnk', '--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.11.3 (CPython) - Linux-6.2.15-300.fc38.x86_64-x86_64-with-glibc2.37 [debug] exe versions: ffmpeg 6.0, ffprobe 6.0 [debug] Proxy map: {} [youtube] Z7wUyXJSHnk: 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.

youtube-dl -U youtube-dl is up-to-date (2021.12.17)

`

read #31530

@CaneRandagio1983 commented on GitHub (May 17, 2023): > Have the same issue: `Fedora Modular 38 - x86_64 - Updates 30 kB/s | 18 kB 00:00 Installed Packages Name : python3 Version : 3.11.3 Release : 1.fc38 Architecture : x86_64 Size : 33 k Source : python3.11-3.11.3-1.fc38.src.rpm > > [debug] System config: ['--prefer-free-formats'] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['https://youtu.be/Z7wUyXJSHnk', '--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.11.3 (CPython) - Linux-6.2.15-300.fc38.x86_64-x86_64-with-glibc2.37 [debug] exe versions: ffmpeg 6.0, ffprobe 6.0 [debug] Proxy map: {} [youtube] Z7wUyXJSHnk: 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. > > youtube-dl -U youtube-dl is up-to-date (2021.12.17) > > ` read [#31530](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435477247)
Author
Owner

@cdwijs commented on GitHub (May 17, 2023):

I have the same issue on Arch linux:
[cedric@cedric overflow]$ youtube-dl --verbose https://www.youtube.com/watch?v=y4pHyqiK4u4
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=y4pHyqiK4u4']
[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.3 (CPython) - Linux-6.3.1-arch2-1-x86_64-with-glibc2.37
[debug] exe versions: ffmpeg 6.0, ffprobe 6.0, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] y4pHyqiK4u4: 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 "/usr/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/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 "/usr/lib/python3.11/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.

@cdwijs commented on GitHub (May 17, 2023): I have the same issue on Arch linux: [cedric@cedric overflow]$ youtube-dl --verbose https://www.youtube.com/watch?v=y4pHyqiK4u4 [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=y4pHyqiK4u4'] [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.3 (CPython) - Linux-6.3.1-arch2-1-x86_64-with-glibc2.37 [debug] exe versions: ffmpeg 6.0, ffprobe 6.0, rtmpdump 2.4 [debug] Proxy map: {} [youtube] y4pHyqiK4u4: 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 "/usr/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/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 "/usr/lib/python3.11/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.
Author
Owner

@jfrickmann commented on GitHub (May 18, 2023):

According to the following, it has been fixed in Master, and there is a temporary fix that worked for me:
https://stackoverflow.com/questions/75495800/error-unable-to-extract-uploader-id-youtube-discord-py

@jfrickmann commented on GitHub (May 18, 2023): According to the following, it has been fixed in Master, and there is a temporary fix that worked for me: https://stackoverflow.com/questions/75495800/error-unable-to-extract-uploader-id-youtube-discord-py
Author
Owner

@benjibasson83 commented on GitHub (May 19, 2023):

The 'temporary' fix witch duration is over weeks or mounth....
The fix has to be here to prevent spam
http://ytdl-org.github.io/youtube-dl/download.html
If youtube-dl is given up for yt-dlp, admin has to anounce here
http://ytdl-org.github.io/youtube-dl/download.html and here
https://youtube-dl.org/

Le vendredi 19 mai 2023, Jesper Frickmann @.***> a
écrit :

According to the following, it has been fixed in Master, and there is a
temporary fix that worked for me:
https://stackoverflow.com/questions/75495800/error-
unable-to-extract-uploader-id-youtube-discord-py


Reply to this email directly, view it on GitHub
https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1553926051,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALC5G6SQFOAIQLBI5OZBWJDXG3NFLANCNFSM6AAAAAAU6HECQY
.
You are receiving this because you commented.Message ID:
@.***>

@benjibasson83 commented on GitHub (May 19, 2023): The 'temporary' fix witch duration is over weeks or mounth.... The fix has to be here to prevent spam http://ytdl-org.github.io/youtube-dl/download.html If youtube-dl is given up for yt-dlp, admin has to anounce here http://ytdl-org.github.io/youtube-dl/download.html and here https://youtube-dl.org/ Le vendredi 19 mai 2023, Jesper Frickmann ***@***.***> a écrit : > According to the following, it has been fixed in Master, and there is a > temporary fix that worked for me: > https://stackoverflow.com/questions/75495800/error- > unable-to-extract-uploader-id-youtube-discord-py > > — > Reply to this email directly, view it on GitHub > <https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1553926051>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ALC5G6SQFOAIQLBI5OZBWJDXG3NFLANCNFSM6AAAAAAU6HECQY> > . > You are receiving this because you commented.Message ID: > ***@***.***> >
Author
Owner

@paulrougieux commented on GitHub (May 19, 2023):

The 'temporary' fix witch duration is over weeks or mounth.... The fix has to be here to prevent spam http://ytdl-org.github.io/youtube-dl/download.html If youtube-dl is given up for yt-dlp, admin has to anounce here http://ytdl-org.github.io/youtube-dl/download.html and here https://youtube-dl.org/

@benjibasson83 nice instructions at http://ytdl-org.github.io/youtube-dl/download.html I see curl is the preferred method, but some persons like to install python packages with pip. The pip install command needs to be changed to this one:

python3 -m pip install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz

The argument --force-reinstall is needed because for an unknown reason, the authors stopped releasing youtube-dl on the python package index pypi (last version is from 2021. I could speculate some reasons, but it's better to leave it to your own imagination). The question of the new release is discussed at https://github.com/ytdl-org/youtube-dl/issues/31585 The pip install instruction with --force-reinstall has been explained many times in the thread above and people should upvote posts that provide instructions such as this comment by @dirkf. Unfortunately that comment is folded inside the hidden items. @Shituation could you please add the pip instruction with --force-reinstall directly in your original question? No need to cite me, it's not my idea anyway.

@paulrougieux commented on GitHub (May 19, 2023): > The 'temporary' fix witch duration is over weeks or mounth.... The fix has to be here to prevent spam http://ytdl-org.github.io/youtube-dl/download.html If youtube-dl is given up for yt-dlp, admin has to anounce here http://ytdl-org.github.io/youtube-dl/download.html and here https://youtube-dl.org/ @benjibasson83 nice instructions at http://ytdl-org.github.io/youtube-dl/download.html I see `curl` is the preferred method, but some persons like to install python packages with pip. The `pip install` command needs to be changed to this one: python3 -m pip install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz The argument `--force-reinstall` is needed because for an unknown reason, the authors stopped releasing [youtube-dl on the python package index pypi](https://pypi.org/project/youtube_dl/) (last version is from 2021. I could speculate some reasons, but it's better to leave it to your own imagination). The question of the new release is discussed at https://github.com/ytdl-org/youtube-dl/issues/31585 The pip install instruction with `--force-reinstall` has been explained many times in the thread above and people should upvote posts that provide instructions such as [this comment](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435477247) by @dirkf. Unfortunately that comment is folded inside the hidden items. @Shituation could you please add the `pip` instruction with `--force-reinstall` directly in your original question? No need to cite me, it's not my idea anyway.
Author
Owner

@dirkf commented on GitHub (May 19, 2023):

... please add the pip instruction with --force-reinstall directly in your original question ...

No, it's already linked from the Description. Owing to execrable website design by GH, hidden items aren't accessible without JS enabled (but at least it's not GitLab). To alleviate this, the issue could be closed/locked and a new one created, but I'm not going to do that now.

A simple link navigation leads to the proposed solutions: users who are able to understand the program functionality and documentation should be able to follow the links.

@dirkf commented on GitHub (May 19, 2023): >... please add the pip instruction with --force-reinstall directly in your original question ... No, it's already linked from the Description. Owing to execrable website design by GH, hidden items aren't accessible without JS enabled (but at least it's not GitLab). To alleviate this, the issue could be closed/locked and a new one created, but I'm not going to do that now. A simple link navigation leads to the proposed solutions: users who are able to understand the program functionality and documentation should be able to follow the links.
Author
Owner

@Shituation commented on GitHub (May 20, 2023):

I'm closing this since I keep getting emails with people commenting here and I simply cannot remember what the issue was or what was my use scenario at the time; it was probably fixed already so I also don't understand why the issue is still open.

Thanks to the dev team.

@Shituation commented on GitHub (May 20, 2023): I'm closing this since I keep getting emails with people commenting here and I simply cannot remember what the issue was or what was my use scenario at the time; it was probably fixed already so I also don't understand why the issue is still open. Thanks to the dev team.
Author
Owner

@Vangelis66 commented on GitHub (May 20, 2023):

since I keep getting emails with people commenting here

... And you'll continue getting e-mail notifications unless you unsubscribe yourself from this issue thread 😉 :

unsubscribe

Regards 😄 ...

@Vangelis66 commented on GitHub (May 20, 2023): > since I **keep getting emails** with people commenting here ... And you'll continue getting e-mail notifications **unless you unsubscribe** yourself from this issue thread 😉 : ![unsubscribe](https://github.com/ytdl-org/youtube-dl/assets/9669492/a677d494-e084-4fdb-a0fc-07eb50e58cf2) Regards 😄 ...
Author
Owner

@Shituation commented on GitHub (May 20, 2023):

I know that, I was pointing out that the issue was solved and:
1- Nobody from the dev team closed it.
2- People are still commenting over the solved issue for no reason.

@Shituation commented on GitHub (May 20, 2023): I know that, I was pointing out that the issue was solved and: 1- Nobody from the dev team closed it. 2- People are still commenting over the solved issue for no reason.
Author
Owner

@symbolicEmm commented on GitHub (May 20, 2023):

My eyes are on this thread because none of the solutions slash suggested interim python upgrades have worked for me on my slackware15 system.
The issue will most likely be truly resolved when a new version is published.

@symbolicEmm commented on GitHub (May 20, 2023): My eyes are on this thread because none of the solutions slash suggested interim python upgrades have worked for me on my slackware15 system. The issue will most likely be truly resolved when a new version is published.
Author
Owner

@Vangelis66 commented on GitHub (May 20, 2023):

1- Nobody from the dev team closed it

I believe this was done so it still appears as Open when "new issue" submitters search (very few of them, sadly) among the Open issues list (since close to 0 search among the Closed ones 😡 ) for an existing open issue with the same/similar error message, in an attempt to reduce duplicates creation; unfortunately, this has not resulted in fewer dupes posted 😞 ...

@Vangelis66 commented on GitHub (May 20, 2023): > 1- Nobody from the dev team closed it I believe this was done so it still appears as `Open` when "new issue" submitters search (very few of them, sadly) among the **Open issues list** (since close to 0 search among the `Closed` ones 😡 ) for an **existing open issue** with the same/similar error message, in an attempt to reduce duplicates creation; unfortunately, this has not resulted in fewer dupes posted 😞 ...
Author
Owner

@dirkf commented on GitHub (May 20, 2023):

@Shituation, please unsubscribe as I'd like to keep this open while the released version isn't yet fixed (I think that was mentioned way back but ...).

... this has not resulted in fewer dupes posted disappointed ...

It hasn't resulted in 0 dupes. The reaction count for OP shows that plenty of people are finding the issue.

@symbolicEmm "none of the suggested update methods work for me".

@dirkf commented on GitHub (May 20, 2023): @Shituation, please unsubscribe as I'd like to keep this open while the released version isn't yet fixed (I think that was mentioned way back but ...). >... this has not resulted in fewer dupes posted disappointed ... It hasn't resulted in 0 dupes. The reaction count for OP shows that plenty of people are finding the issue. @symbolicEmm ["none of the suggested update methods work for me"](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1520185289).
Author
Owner

@Ron030363 commented on GitHub (May 20, 2023):

The college students has turned the internet into a data source arranged as cancer, making it hard for me to understand TECH talk. Maybe they think I am jealous of college students having a college education and I did not

@Ron030363 commented on GitHub (May 20, 2023): The college students has turned the internet into a data source arranged as cancer, making it hard for me to understand TECH talk. Maybe they think I am jealous of college students having a college education and I did not
Author
Owner

@Shituation commented on GitHub (May 20, 2023):

@Shituation, please unsubscribe as I'd like to keep this open while the released version isn't yet fixed (I think that was mentioned way back but ...).

I just saw this at the start of the issue:
This issue is solved: read the Description below

@Shituation commented on GitHub (May 20, 2023): > @Shituation, please unsubscribe as I'd like to keep this open while the released version isn't yet fixed (I think that was mentioned way back but ...). I just saw this at the start of the issue: **This issue is solved: read the Description below**
Author
Owner

@dirkf commented on GitHub (May 20, 2023):

Apologies, as you can see, the actual bug is fixed but the fix isn't yet rolled into a release. I had to rewrite your issue to point people at the interim solutions.

@dirkf commented on GitHub (May 20, 2023): Apologies, as you can see, the actual bug is fixed but the fix isn't yet rolled into a release. I had to rewrite your issue to point people at the interim solutions.
Author
Owner

@Ron030363 commented on GitHub (May 20, 2023):

Can someone please tell me how to fix yt-dlp without the internet canccer intelligence the college students has created. This concerns the: unable to extract uploader ID. Don't make learning difficult.

@Ron030363 commented on GitHub (May 20, 2023): Can someone please tell me how to fix yt-dlp without the internet canccer intelligence the college students has created. This concerns the: unable to extract uploader ID. Don't make learning difficult.
Author
Owner

@dirkf commented on GitHub (May 20, 2023):

@Ron030363: #30839 "If you were actually running yt-dlp, ..."

@dirkf commented on GitHub (May 20, 2023): @Ron030363: #30839 "If you were actually running **yt-dlp**, ..."
Author
Owner

@hsohn commented on GitHub (May 25, 2023):

youtube-dl is still reporting the "unable to extract uploader id" error. It does kick off the download, but the rate is something like 10KB/sec and unusable. Switched to yt-dlp and that seems to be working fine.

@hsohn commented on GitHub (May 25, 2023): youtube-dl is still reporting the "unable to extract uploader id" error. It does kick off the download, but the rate is something like 10KB/sec and unusable. Switched to yt-dlp and that seems to be working fine.
Author
Owner

@xzbobzx commented on GitHub (May 27, 2023):

I just got "Unable to extract uploader id" today as well, anyone knows when the fix will be rolled into release?

@xzbobzx commented on GitHub (May 27, 2023): I just got "Unable to extract uploader id" today as well, anyone knows when the fix will be rolled into release?
Author
Owner

@hsohn commented on GitHub (May 27, 2023):

Use yt-dlp for now. It works

@hsohn commented on GitHub (May 27, 2023): Use yt-dlp for now. It works
Author
Owner

@CodeKraft commented on GitHub (May 27, 2023):

Still waiting on youtube-dl to be fixed, asking me to use yt-dlp isn't an option as nothing compiles on this install and men it looks like its going to compile, it errors or hangs the entire machine.

If yt-dlp was wrapped up in an .appImage then that would work for me as I can give permissions to run.

@CodeKraft commented on GitHub (May 27, 2023): Still waiting on youtube-dl to be fixed, asking me to use yt-dlp isn't an option as nothing compiles on this install and men it looks like its going to compile, it errors or hangs the entire machine. If yt-dlp was wrapped up in an .appImage then that would work for me as I can give permissions to run.
Author
Owner

@alvipeo commented on GitHub (May 27, 2023):

yt-dlp doesn't work. I tried to download some videos today, no go.

@alvipeo commented on GitHub (May 27, 2023): yt-dlp doesn't work. I tried to download some videos today, no go.
Author
Owner

@dirkf commented on GitHub (May 27, 2023):

@CodeKraft: "none of the suggested update methods work for me".

@actuallyrizzn too.

@dirkf commented on GitHub (May 27, 2023): @CodeKraft: ["none of the suggested update methods work for me"](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1520185289). @actuallyrizzn too.
Author
Owner

@actuallyrizzn commented on GitHub (May 29, 2023):

Yeah, I spent the weekend working thru this problem, still getting the same issues. On Ubuntu, latest,

rizzn@647192ef6ad43648ec259add:~/transcribe$ youtube-dl https://youtu.be/LqQ8xl1SpVo --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://youtu.be/LqQ8xl1SpVo', '--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.15.0-72-generic-x86_64-with-glibc2.35
[debug] exe versions: ffmpeg 4.4.2, ffprobe 4.4.2
[debug] Proxy map: {}
[youtube] LqQ8xl1SpVo: 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.

rizzn@647192ef6ad43648ec259add:/transcribe$ sudo apt update yt-dlp
E: The update command takes no arguments
rizzn@647192ef6ad43648ec259add:
/transcribe$ sudo apt update
Hit:1 https://download.docker.com/linux/ubuntu jammy InRelease
Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Hit:3 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [108 kB]
Fetched 337 kB in 1s (340 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
rizzn@647192ef6ad43648ec259add:/transcribe$ youtube-dl --version
2021.12.17
rizzn@647192ef6ad43648ec259add:
/transcribe$ yt-dlp --version
2023.03.04
rizzn@647192ef6ad43648ec259add:~/transcribe$

@actuallyrizzn commented on GitHub (May 29, 2023): Yeah, I spent the weekend working thru this problem, still getting the same issues. On Ubuntu, latest, <tt>rizzn@647192ef6ad43648ec259add:~/transcribe$ youtube-dl https://youtu.be/LqQ8xl1SpVo --verbose [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['https://youtu.be/LqQ8xl1SpVo', '--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.15.0-72-generic-x86_64-with-glibc2.35 [debug] exe versions: ffmpeg 4.4.2, ffprobe 4.4.2 [debug] Proxy map: {} [youtube] LqQ8xl1SpVo: 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. rizzn@647192ef6ad43648ec259add:~/transcribe$ sudo apt update yt-dlp E: The update command takes no arguments rizzn@647192ef6ad43648ec259add:~/transcribe$ sudo apt update Hit:1 https://download.docker.com/linux/ubuntu jammy InRelease Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB] Hit:3 http://archive.ubuntu.com/ubuntu jammy InRelease Get:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB] Get:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [108 kB] Fetched 337 kB in 1s (340 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. rizzn@647192ef6ad43648ec259add:~/transcribe$ youtube-dl --version 2021.12.17 rizzn@647192ef6ad43648ec259add:~/transcribe$ yt-dlp --version 2023.03.04 rizzn@647192ef6ad43648ec259add:~/transcribe$</tt>
Author
Owner

@stoyanovgeorge commented on GitHub (May 30, 2023):

Just install with pip yt-dlp.

@stoyanovgeorge commented on GitHub (May 30, 2023): Just install with pip `yt-dlp`.
Author
Owner

@actuallyrizzn commented on GitHub (May 30, 2023):

Yeah, that also has the same problem.

On Tue, May 30, 2023, 4:29 AM Georgi Stoyanov @.***>
wrote:

Just install with pip yt-dlp.


Reply to this email directly, view it on GitHub
https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1568103873,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFK4V623DAR5IJXLRHL6SKTXIW4YNANCNFSM6AAAAAAU6HECQY
.
You are receiving this because you were mentioned.Message ID:
@.***>

@actuallyrizzn commented on GitHub (May 30, 2023): Yeah, that also has the same problem. On Tue, May 30, 2023, 4:29 AM Georgi Stoyanov ***@***.***> wrote: > Just install with pip yt-dlp. > > — > Reply to this email directly, view it on GitHub > <https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1568103873>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AFK4V623DAR5IJXLRHL6SKTXIW4YNANCNFSM6AAAAAAU6HECQY> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> >
Author
Owner

@BinaryDigitDev commented on GitHub (Jun 2, 2023):

I'm on Mac with M2 chip running Ventura 13.4, and this worked for me:

Make sure you have ffmpeg installed: brew install ffmpeg

Install pip: curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

run python3 get-pip.py

Then install latest youtube-dl from master with the fix:

python3 -m pip install git+https://github.com/ytdl-org/youtube-dl.git

then run youtube-dl OPTIONS URL and it should work 👍🏽

@BinaryDigitDev commented on GitHub (Jun 2, 2023): I'm on Mac with M2 chip running Ventura 13.4, and this worked for me: Make sure you have ffmpeg installed: `brew install ffmpeg` Install pip: `curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py` run `python3 get-pip.py` Then install latest youtube-dl from master with the fix: `python3 -m pip install git+https://github.com/ytdl-org/youtube-dl.git` then run `youtube-dl` OPTIONS URL and it should work 👍🏽
Author
Owner

@dirkf commented on GitHub (Jun 2, 2023):

If you have brew I imagine using brew install --HEAD ... would be easier. Also, do check the linked advice "If you still want to comment after reading [the Description] ..."

  1. Any recent Python (such as one on macOS 13.4, I'd have thought) will have pip already.
  2. The linked suggestion on installation with pip hidden somewhere above by GH explains that that you can install from the .tar.gz (made automatically by GH), with no need for git.
@dirkf commented on GitHub (Jun 2, 2023): If you have _brew_ I imagine using `brew install --HEAD ...` would be easier. Also, do check the linked advice "If you still want to comment after reading [the Description] ..." 1. Any recent Python (such as one on macOS 13.4, I'd have thought) will have _pip_ already. 2. The linked suggestion on installation with _pip_ hidden somewhere above by GH explains that that you can install from the `.tar.gz` (made automatically by GH), with no need for _git_.
Author
Owner

@CodeKraft commented on GitHub (Jun 2, 2023):

This is now getting well over two months and no fix despite all the comments I have seen about a fix, nothing is working.

Are there any DEV's actually working on this issue?

I have checked that I have Python and its still there, youtube-dl -U keeps on saying I have the latest version...

And someone keeps on marking comments as outdated, off-topic, duplicate, etc when people are still commenting on youtube-dl not working.

You'd think that this was an indication to the DEV's that there are a large number of people out there wondering why youtube-dl isn't working yet 3rd party download sites that offer downloads are working perfectly fine.

@CodeKraft commented on GitHub (Jun 2, 2023): This is now getting well over two months and no fix despite all the comments I have seen about a fix, nothing is working. Are there any DEV's actually working on this issue? I have checked that I have Python and its still there, youtube-dl -U keeps on saying I have the latest version... And someone keeps on marking comments as outdated, off-topic, duplicate, etc when people are still commenting on youtube-dl not working. You'd think that this was an indication to the DEV's that there are a large number of people out there wondering why youtube-dl isn't working yet 3rd party download sites that offer downloads are working perfectly fine.
Author
Owner

@actuallyrizzn commented on GitHub (Jun 2, 2023):

I honestly wound up writing my own system. Probably less flexible, but it
gets the job done.

On Fri, Jun 2, 2023, 12:46 PM Mark @.***> wrote:

This is now getting well over two months and no fix despite all the
comments I have seen about a fix, nothing is working.

Are there any DEV's actually working on this issue?

I have checked that I have Python and its still there, youtube-dl -U keeps
on saying I have the latest version...

And someone keeps on marking comments as outdated, off-topic, duplicate,
etc when people are still commenting on youtube-dl not working.

You'd think that this was an indication to the DEV's that there are a
large number of people out there wondering why youtube-dl isn't working yet
3rd party download sites that offer downloads are working perfectly fine.


Reply to this email directly, view it on GitHub
https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1574098668,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFK4V6YKCWAVD7TU6PXDLC3XJIRIPANCNFSM6AAAAAAU6HECQY
.
You are receiving this because you were mentioned.Message ID:
@.***>

@actuallyrizzn commented on GitHub (Jun 2, 2023): I honestly wound up writing my own system. Probably less flexible, but it gets the job done. On Fri, Jun 2, 2023, 12:46 PM Mark ***@***.***> wrote: > This is now getting well over two months and no fix despite all the > comments I have seen about a fix, nothing is working. > > Are there any DEV's actually working on this issue? > > I have checked that I have Python and its still there, youtube-dl -U keeps > on saying I have the latest version... > > And someone keeps on marking comments as outdated, off-topic, duplicate, > etc when people are still commenting on youtube-dl not working. > > You'd think that this was an indication to the DEV's that there are a > large number of people out there wondering why youtube-dl isn't working yet > 3rd party download sites that offer downloads are working perfectly fine. > > — > Reply to this email directly, view it on GitHub > <https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1574098668>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AFK4V6YKCWAVD7TU6PXDLC3XJIRIPANCNFSM6AAAAAAU6HECQY> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> >
Author
Owner

@mholetzko commented on GitHub (Jun 2, 2023):

Hello to all the ones who still have trouble with this issue. I have just pulled the last change as suggested above (see quote) and it works like a charm. I am on a Mac with intel silicon.

Kudos to @dirkf for the contribution 🚀 !

I'm on Mac with M2 chip running Ventura 13.4, and this worked for me:

Make sure you have ffmpeg installed: brew install ffmpeg

Install pip: curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

run python3 get-pip.py

Then install latest youtube-dl from master with the fix:

python3 -m pip install git+https://github.com/ytdl-org/youtube-dl.git

then run youtube-dl OPTIONS URL and it should work 👍🏽

@mholetzko commented on GitHub (Jun 2, 2023): Hello to all the ones who still have trouble with this issue. I have just pulled the last change as suggested above (see quote) and it works like a charm. I am on a Mac with intel silicon. Kudos to @dirkf for the contribution 🚀 ! > I'm on Mac with M2 chip running Ventura 13.4, and this worked for me: > > Make sure you have ffmpeg installed: `brew install ffmpeg` > > Install pip: `curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py` > > run `python3 get-pip.py` > > Then install latest youtube-dl from master with the fix: > > `python3 -m pip install git+https://github.com/ytdl-org/youtube-dl.git` > > then run `youtube-dl` OPTIONS URL and it should work 👍🏽
Author
Owner

@SethTisue commented on GitHub (Jun 2, 2023):

Perhaps the Discussions feature could be enabled in this repo, so there could be a thread there (linked from the ticket) where people could share workarounds and such freely, without distracting the developers on-ticket.

@SethTisue commented on GitHub (Jun 2, 2023): Perhaps the Discussions feature could be enabled in this repo, so there could be a thread there (linked from the ticket) where people could share workarounds and such freely, without distracting the developers on-ticket.
Author
Owner

@dirkf commented on GitHub (Jun 2, 2023):

Perhaps the Discussions feature could be enabled in this repo, so there could be a thread there (linked from the ticket) where people could share workarounds and such freely, without distracting the developers on-ticket.

So far all worthwhile examples are covered in the suggestions here. If package managers other than brew and the Ubuntu PPA mentioned above release interim versions, such news could be posted here.

@dirkf commented on GitHub (Jun 2, 2023): >Perhaps the Discussions feature could be enabled in this repo, so there could be a thread there (linked from the ticket) where people could share workarounds and such freely, without distracting the developers on-ticket. So far all worthwhile examples are covered in the suggestions here. If package managers other than _brew_ and the Ubuntu PPA mentioned above release interim versions, such news could be posted here.
Author
Owner

@actuallyrizzn commented on GitHub (Jun 2, 2023):

Yeah, I have a hard time understanding why it works for some and not
others, but then those who are reporting it working fine are not on
anything close to the same platform I reported having a problem on, so that
could be it.

On Fri, Jun 2, 2023, 9:59 PM dirkf @.***> wrote:

Perhaps the Discussions feature could be enabled in this repo, so there
could be a thread there (linked from the ticket) where people could share
workarounds and such freely, without distracting the developers on-ticket.

So far all worthwhile examples are covered in the suggestions here. If
package managers other than brew and the Ubuntu PPA mentioned above
release interim versions, such news could be posted here.


Reply to this email directly, view it on GitHub
https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1574591296,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFK4V64FNHCEKTBTLCDKYNTXJKR7TANCNFSM6AAAAAAU6HECQY
.
You are receiving this because you were mentioned.Message ID:
@.***>

@actuallyrizzn commented on GitHub (Jun 2, 2023): Yeah, I have a hard time understanding why it works for some and not others, but then those who are reporting it working fine are not on anything close to the same platform I reported having a problem on, so that could be it. On Fri, Jun 2, 2023, 9:59 PM dirkf ***@***.***> wrote: > Perhaps the Discussions feature could be enabled in this repo, so there > could be a thread there (linked from the ticket) where people could share > workarounds and such freely, without distracting the developers on-ticket. > > So far all worthwhile examples are covered in the suggestions here. If > package managers other than *brew* and the Ubuntu PPA mentioned above > release interim versions, such news could be posted here. > > — > Reply to this email directly, view it on GitHub > <https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1574591296>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AFK4V64FNHCEKTBTLCDKYNTXJKR7TANCNFSM6AAAAAAU6HECQY> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> >
Author
Owner

@alvipeo commented on GitHub (Jun 3, 2023):

I've just installed the latest with curl on Ubuntu. But when I run it I get:

/usr/bin/env: ‘python’: No such file or directory

and I have standard Ubuntu 20.04...

@alvipeo commented on GitHub (Jun 3, 2023): I've just installed the latest with curl on Ubuntu. But when I run it I get: > /usr/bin/env: ‘python’: No such file or directory and I have standard Ubuntu 20.04...
Author
Owner

@dirkf commented on GitHub (Jun 3, 2023):

/usr/bin/env: ‘python’: No such file or directory

Read the post where this is explained above (hint for Debian/Ubuntu: python-is-python3).

@actuallyrizzn, @CodeKraft: https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1565738496 or post your failing installation log.

@dirkf commented on GitHub (Jun 3, 2023): > `/usr/bin/env: ‘python’: No such file or directory` Read the post where this is explained above (hint for Debian/Ubuntu: `python-is-python3`). @actuallyrizzn, @CodeKraft: https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1565738496 or post your failing installation log.
Author
Owner

@alvipeo commented on GitHub (Jun 3, 2023):

@dirkf how can I find this comment, everything is hidden. can you please provide a link?

@alvipeo commented on GitHub (Jun 3, 2023): @dirkf how can I find this comment, everything is hidden. can you please provide a link?
Author
Owner

@dirkf commented on GitHub (Jun 3, 2023):

... everything is hidden. can you please provide a link?

  1. Follow the links from the "below link in the Description (JavaScript is required to navigate to "hidden items", as opposed to comments that are "hidden", a different thing entirely).
  2. Raise issues with GitHub to complain about their issue display
    a. the missing in-issue search function
    b. the need to use JavaScript to navigate to "hidden items"
    c. the confusing terminology where the issue display mentions both "hidden items" skipped by the functionality at (a) and (b), and manually hidden comments that are marked "is hidden".
@dirkf commented on GitHub (Jun 3, 2023): >... everything is hidden. can you please provide a link? 1. Follow the links from the "**below** link in the Description (JavaScript is required to navigate to "hidden items", as opposed to comments that are "hidden", a different thing entirely). 2. Raise issues with GitHub to complain about their issue display a. the missing in-issue search function b. the need to use JavaScript to navigate to "hidden items" c. the confusing terminology where the issue display mentions both "hidden items" skipped by the functionality at (a) and (b), and manually hidden comments that are marked "is hidden".
Author
Owner

@mdwiygul commented on GitHub (Jun 11, 2023):

I'm still getting this error
youtube-dl --verbose https://www.youtube.com/watch?v=07H0CWyZ3vY
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=07H0CWyZ3vY']
[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.10.0-20-amd64-x86_64-with-glibc2.31
[debug] exe versions: ffmpeg 4.3.5-0, ffprobe 4.3.5-0, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] 07H0CWyZ3vY: 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/john/.local/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
File "/home/john/.local/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
File "/home/john/.local/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/home/john/.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/john/.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.

@mdwiygul commented on GitHub (Jun 11, 2023): I'm still getting this error youtube-dl --verbose https://www.youtube.com/watch?v=07H0CWyZ3vY [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=07H0CWyZ3vY'] [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.10.0-20-amd64-x86_64-with-glibc2.31 [debug] exe versions: ffmpeg 4.3.5-0, ffprobe 4.3.5-0, rtmpdump 2.4 [debug] Proxy map: {} [youtube] 07H0CWyZ3vY: 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/john/.local/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/home/john/.local/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/home/john/.local/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/home/john/.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/john/.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.
Author
Owner

@alfonsrv commented on GitHub (Jun 18, 2023):

Why is the main youtube-dl stuck on 2021.12.17? Could not find any pointers in the issues as to why that is.

Main issue being, no pip nor brew package seems to exist that provides a current version with a working YouTube download.

@alfonsrv commented on GitHub (Jun 18, 2023): Why is the main `youtube-dl` stuck on `2021.12.17`? Could not find any pointers in the issues as to why that is. Main issue being, no `pip` nor `brew` package seems to exist that provides a current version with a working YouTube download.
Author
Owner

@CodeKraft commented on GitHub (Jun 18, 2023):

Still no update after this issue has been reported for nearly 3 months.

Are there any DEVs left working on this project or is it dead?

It would be nice if one of the DEV's if any, could address the people waiting for an update package.

I have explained myself that the work around doesn't work as I have also read for many people, same issue that the work around doesn't work.

As observed by the previous poster, youtube-dl version date is stuck on 2021.12.17 which is my last version and there has never been an update since then.

@CodeKraft commented on GitHub (Jun 18, 2023): Still no update after this issue has been reported for nearly 3 months. Are there any DEVs left working on this project or is it dead? It would be nice if one of the DEV's if any, could address the people waiting for an update package. I have explained myself that the work around doesn't work as I have also read for many people, same issue that the work around doesn't work. As observed by the previous poster, youtube-dl version date is stuck on 2021.12.17 which is my last version and there has never been an update since then.
Author
Owner

@nicolaasjan commented on GitHub (Jun 18, 2023):

Why is the main youtube-dl stuck on 2021.12.17? Could not find any pointers in the issues as to why that is.

See Issue #31585.

A new release is overdue but depends on solving certain cross-platform issues in the CI build process. Meanwhile for the main platforms, see #31530 for update hints.

@nicolaasjan commented on GitHub (Jun 18, 2023): > Why is the main `youtube-dl` stuck on `2021.12.17`? Could not find any pointers in the issues as to why that is. See Issue #31585. > A new release is overdue but depends on solving certain cross-platform issues in the CI build process. Meanwhile for the main platforms, see #31530 for update hints.
Author
Owner

@Ambient-Impact commented on GitHub (Jun 18, 2023):

@CodeKraft Like a lot of open source projects, I suspect this one is run on a volunteer basis with people doing what they can in their spare time. In the meanwhile, I recommend the yt-dlp/yt-dlp fork which I used successfully the other day so I can confirm it works.

@Ambient-Impact commented on GitHub (Jun 18, 2023): @CodeKraft Like a lot of open source projects, I suspect this one is run on a volunteer basis with people doing what they can in their spare time. In the meanwhile, I recommend the [`yt-dlp/yt-dlp` fork](https://github.com/yt-dlp/yt-dlp) which I used successfully the other day so I can confirm it works.
Author
Owner

@phazon0 commented on GitHub (Jun 20, 2023):

Is there any way to actually download the video?

@phazon0 commented on GitHub (Jun 20, 2023): Is there any way to actually download the video?
Author
Owner

@CodeKraft commented on GitHub (Jun 20, 2023):

Who is it that keeps on marking comments as off topic? Do they BOTHER to read and understand the content?

This has been going on for months now and to be frank, this delay in a resolution is making a mockery of this project or is the project dead? as in there are no longer any DEV's maintaining it, given that the last update I have is from 2021, two years ago.

People are wanting answers and no, the alternative is not the answer as I have read many comments where people have not found it to work...

@CodeKraft commented on GitHub (Jun 20, 2023): Who is it that keeps on marking comments as off topic? Do they BOTHER to read and understand the content? This has been going on for months now and to be frank, this delay in a resolution is making a mockery of this project or is the project dead? as in there are no longer any DEV's maintaining it, given that the last update I have is from 2021, two years ago. People are wanting answers and no, the alternative is not the answer as I have read many comments where people have not found it to work...
Author
Owner

@paulrougieux commented on GitHub (Jun 20, 2023):

Still no update after this issue has been reported for nearly 3 months.

Are there any DEVs left working on this project or is it dead?

Force reinstallation to get the fix:

pip install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz

As explain in the Original Post, which links to https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611, then to https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435477247 (gives a version that requires git, which you might not have). Maybe you didn't see it because you need to click on 3 links to get there. Maybe pip install --force-reinstall should be mentioned in the description at the very top?

@paulrougieux commented on GitHub (Jun 20, 2023): > Still no update after this issue has been reported for nearly 3 months. > > Are there any DEVs left working on this project or is it dead? Force reinstallation to get the fix: pip install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz As explain in the Original Post, which links to https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611, then to https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435477247 (gives a version that requires git, which you might not have). Maybe you didn't see it because you need to click on 3 links to get there. Maybe `pip install --force-reinstall` should be mentioned in the [description](https://github.com/ytdl-org/youtube-dl/issues/31530#Description) at the very top?
Author
Owner

@CodeKraft commented on GitHub (Jun 20, 2023):

pip install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz

bash: pip: command not found

@CodeKraft commented on GitHub (Jun 20, 2023): > pip install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz `bash: pip: command not found`
Author
Owner

@HinTak commented on GitHub (Jun 20, 2023):

I like to report an oddity - I built youtube-dl from git HEAD because of this issue, and rebuild from time to time. For most occasions, the git-HEAD build works around the issue reported here. However, recently, a few days ago, I tried to download some videos, and found that git-HEAD build didn't work, but the system-wide youtube-dl from fedora does; git-HEAD build was showing the "unable to extract uploader ID" message, while fedora linux 38 shipped youtube-dl was downloading them okay. I also has the impression that git-HEAD was not happy with "-x --audio-format best -l --write-thumbnail" on uploader ID, but plain (no extract audio switch) was fine. So it seems that some (older?) videos and/or extract audio may require the pre-change behavior of this issue.

Anyway, I think it is fair that anybody suggesting yt-dlp instead, should be marked as spam/off-topic. Just don't. "Use another tool" suggestion is just annoying.

@HinTak commented on GitHub (Jun 20, 2023): I like to report an oddity - I built youtube-dl from git HEAD because of this issue, and rebuild from time to time. For most occasions, the git-HEAD build works around the issue reported here. However, recently, a few days ago, I tried to download some videos, and found that git-HEAD build didn't work, but the system-wide youtube-dl from fedora does; git-HEAD build was showing the "unable to extract uploader ID" message, while fedora linux 38 shipped youtube-dl was downloading them okay. I also has the impression that git-HEAD was not happy with "-x --audio-format best -l --write-thumbnail" on uploader ID, but plain (no extract audio switch) was fine. So it seems that some (older?) videos and/or extract audio may require the pre-change behavior of this issue. Anyway, I think it is fair that anybody suggesting yt-dlp instead, should be marked as spam/off-topic. Just don't. "Use another tool" suggestion is just annoying.
Author
Owner

@HinTak commented on GitHub (Jun 20, 2023):

FWIW, I do "git clone ..." then just "make", instead of "pip..." etc. "make" builds a stand-alone single binary with everything in it, and you can copy/move it around to a place of your choice. This is a slightly better way than "pip ...", which scatters a lot of files onto your computer, and depends on how you run "pip ...", some in system locations and some in user-owned locations.

@HinTak commented on GitHub (Jun 20, 2023): FWIW, I do "git clone ..." then just "make", instead of "pip..." etc. "make" builds a stand-alone single binary with everything in it, and you can copy/move it around to a place of your choice. This is a slightly better way than "pip ...", which scatters a lot of files onto your computer, and depends on how you run "pip ...", some in system locations and some in user-owned locations.
Author
Owner

@jgspratt commented on GitHub (Jun 20, 2023):

I am 50/50 as to whether this project is dead. Can anyone provide clarity?

@jgspratt commented on GitHub (Jun 20, 2023): I am 50/50 as to whether this project is dead. Can anyone provide clarity?
Author
Owner

@dirkf commented on GitHub (Jun 20, 2023):

Everyone, a reminder: https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1520185289.

@HinTak, your "git clone" solution works for development (and for me), but I expect that the other recommendations will be better for most people.

...So it seems that some (older?) videos and/or extract audio may require the pre-change behavior of this issue.

Post a verbose log in a new issue if you see this again. I suspect that your installation went awry, although there may possibly have been a bad commit. #31675 was well tested. Nothing in a2534f7 could possibly have affected the behaviour in this issue.

I've added your later suggestion (to ask packagers for an update) to the suggested update methods post.

@CodeKraft, you don't have pip installed. Follow https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1520185289 as previously suggested. As you can't manage to read it, this is the relevant bit:

  • none of the suggested update methods work for me
    uninstall your yt-dl (all of them!); use an unofficial nightly build suitable for your platform; ...

A source for an "unofficial nightly build" is suggested in the main post covering update methods, linked as "below" from the Description.

@paulrougieux (and @HinTak): although it seems to have been quite unsuccessful in the above case, the post that suggests update methods covers all types of installations. If someone doesn't already use pip, it's not our job to make them do so.

@jgspratt: https://github.com/ytdl-org/youtube-dl/commits/master

@dirkf commented on GitHub (Jun 20, 2023): Everyone, a reminder: https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1520185289. @HinTak, your "git clone" solution works for development (and for me), but I expect that the other recommendations will be better for most people. > ...So it seems that some (older?) videos and/or extract audio may require the pre-change behavior of this issue. Post a verbose log in a new issue if you see this again. I suspect that your installation went awry, although there may possibly have been a bad commit. #31675 was well tested. Nothing in a2534f7 could possibly have affected the behaviour in this issue. I've added your later suggestion (to ask packagers for an update) to the suggested update methods post. @CodeKraft, you don't have _pip_ installed. Follow https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1520185289 as previously suggested. As you can't manage to read it, this is the relevant bit: >* none of the suggested update methods work for me > uninstall your yt-dl (all of them!); use an unofficial nightly build suitable for your platform; ... A source for an "unofficial nightly build" is suggested in the main post covering update methods, linked as "[below](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611)" from the Description. @paulrougieux (and @HinTak): although it seems to have been quite unsuccessful in the above case, the post that suggests update methods covers all types of installations. If someone doesn't already use _pip_, it's not our job to make them do so. @jgspratt: https://github.com/ytdl-org/youtube-dl/commits/master
Author
Owner

@CodeKraft commented on GitHub (Jun 20, 2023):

Everyone, a reminder: #31530 (comment).

@HinTak, your "git clone" solution works for development (and for me), but I expect that the other recommendations will be better for most people.

@CodeKraft, you don't have pip installed. Follow #31530 (comment) as previously suggested.

@jgspratt: https://github.com/ytdl-org/youtube-dl/commits/master

I have stated REPEATEDLY that the alternative project, it won't work because this install of Linux MX has always had a broken compiler and refuses to compile ANY code that it is given to compile, how many times do I have to repeat myself?

Secondly, youtube-dl -U never updates, it stats I have the current version which is dated back in 2021.

I don't have pip its apt-get in most linux installs.

Nothing that has been suggested fixes the issue and logs, where?

When I try to use youtube-dl to download a youtube video it spits out an error about the uploaderID

When I download of dailymotion, not an issue, downloads video no problem, so whatever it is in yt downloader, its the URL parser thats totally effed up. If online website downloaders are working perfectly fine, then this issue is from the last update that was introduced.

@CodeKraft commented on GitHub (Jun 20, 2023): > Everyone, a reminder: [#31530 (comment)](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1520185289). > > @HinTak, your "git clone" solution works for development (and for me), but I expect that the other recommendations will be better for most people. > > @CodeKraft, you don't have _pip_ installed. Follow [#31530 (comment)](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1520185289) as previously suggested. > > @jgspratt: https://github.com/ytdl-org/youtube-dl/commits/master I have stated REPEATEDLY that the alternative project, it won't work because this install of Linux MX has always had a broken compiler and refuses to compile ANY code that it is given to compile, how many times do I have to repeat myself? Secondly, youtube-dl -U never updates, it stats I have the current version which is dated back in 2021. I don't have pip its apt-get in most linux installs. Nothing that has been suggested fixes the issue and logs, where? When I try to use youtube-dl to download a youtube video it spits out an error about the uploaderID When I download of dailymotion, not an issue, downloads video no problem, so whatever it is in yt downloader, its the URL parser thats totally effed up. If online website downloaders are working perfectly fine, then this issue is from the last update that was introduced.
Author
Owner

@CodeKraft commented on GitHub (Jun 20, 2023):

I am 50/50 as to whether this project is dead. Can anyone provide clarity?

MeToo... as far as I can tell, no one is fixing this issue and IMHO it may be intentional, seen things like this happen before on repository sites like this.

@CodeKraft commented on GitHub (Jun 20, 2023): > I am 50/50 as to whether this project is dead. Can anyone provide clarity? MeToo... as far as I can tell, no one is fixing this issue and IMHO it may be intentional, seen things like this happen before on repository sites like this.
Author
Owner

@HinTak commented on GitHub (Jun 20, 2023):

FWIW, if you don't have pip, you should do "sudo apt-get install pip" first. If you are uncomfortable with installing from source by either means ("pip ...url...master..." or "git clone ..."), then the customary answer is to approach your distribution (Ubuntu in your case I think) and tell them this issue url and ask them to package a snapshot for you. Approaching the developer and badger them to try to make it easy for novice user is not the right approach. Let me repeat: if you cannot or are uncomfortable installing from source, approach your distribution and ask them to package a snapshot. This happens more often than you think, and most linux distribution package maintainers are okay with that.

I personally am keeping both (the fedora 38 shipped one, and the snapshot standalone binary that I built myself), mostly because I prefer it that way; sometimes I file an issue with redhat/fedora myself and give them the fix too, to push them to package a new snapshot into redhat/fedora package format.

@HinTak commented on GitHub (Jun 20, 2023): FWIW, if you don't have pip, you should do "sudo apt-get install pip" first. If you are uncomfortable with installing from source by either means ("pip ...url...master..." or "git clone ..."), then the customary answer is to approach your distribution (Ubuntu in your case I think) and tell them this issue url and ask them to package a snapshot for you. Approaching the developer and badger them to try to make it easy for novice user is not the right approach. Let me repeat: if you cannot or are uncomfortable installing from source, approach your distribution and ask them to package a snapshot. This happens more often than you think, and most linux distribution package maintainers are okay with that. I personally am keeping both (the fedora 38 shipped one, and the snapshot standalone binary that I built myself), mostly because I prefer it that way; sometimes I file an issue with redhat/fedora myself and give them the fix too, to push them to package a new snapshot into redhat/fedora package format.
Author
Owner

@HinTak commented on GitHub (Jun 20, 2023):

a2534f7b8 on 11 June is probably the one with the bad commits; it was fixed quite soon - within a week. A week later, 07af47960 (18th June) was okay.

The long version below (i.e. if you are not curious, no need to read further):

I think the oddity (and regression) I mentioned was a bad commit. I still have the command history in one of my windows actually. What I ran was this line:

~/youtube-dl -l --write-thumbnail -k --audio-format best 'https://www.youtube.com/watch?v=JZxN8Bax6Lo' 'https://www.youtube.com/watch?v=0enW4xVOt5w' 'https://www.youtube.com/watch?v=CSUK8NfQO2Q'

This failed; and removing the leading ~/ i.e. using the older system-wide fedora-shipped one was successful. This line also works with a later rebuild (as I did a pull and rebuild after using the system one).

My git reflog is quite short:

$ git reflog
07af47960 (HEAD -> master, origin/master, origin/HEAD) HEAD@{0}: reset: moving to HEAD
07af47960 (HEAD -> master, origin/master, origin/HEAD) HEAD@{1}: pull: Fast-forward
a2534f7b8 HEAD@{2}: reset: moving to HEAD
a2534f7b8 HEAD@{3}: pull: Fast-forward
26035bde4 HEAD@{4}: pull: Fast-forward
735e87adf HEAD@{5}: reset: moving to HEAD
735e87adf HEAD@{6}: pull: Fast-forward
2dd6c6edd HEAD@{7}: pull: Fast-forward

So I think 07af47960 (the most recent rebuild) is okay, a2534f7b8 is the one contains some bad commits/regressions. I had been relatively happy with 26035bde4 from mid-April for a while (735e87adf is just half a day before 26035bde4) and also happy enough with mid-Feb2dd6c6edd, which was the one explicitly mentioned as being the fix for this. My .git/logs/refs/remotes/origin/master says that before pulling 2dd6c6edd , I was at a8035827177d6b59aca03bd717acb6a9bdd75ada (from mid 2021 - I keep some git clones of various projects, but don't update them unless I have a reasons to - obviously, git would truncate fetch logs going too far back - there is no need to keep fetch logs or reflog from too long ago).

If you really like to re-produce the oddity, buildinga2534f7b8 and give the above a try is my suggestion.

One of these 4 changes fixed what was broken in a2534f7b8, that week, I think.

$ git log --format=oneline a2534f7b8..07af47960
07af47960f3bb262ead02490ce65c8c45c01741e (HEAD -> master, origin/master, origin/HEAD) [YouTube] Improve fix for ae8ba2c Thx: https://github.com/yt-dlp/yt-dlp/commit/01aba25
ae8ba2c31977b68b75221f80c488c0b12385269c [YouTube] Fix `KeyError QV` in signature extraction failed * temporarily force missing global definition into sig JS * improve test: thanks https://github.com/yt-dlp/yt-dlp/issues/7327#issuecomment-1595274615 * resolves #32314
d6433cbb2c4440056a38846e35bb5a3efa9bcac2 [jsinterp] Don't find unrelated objects
ff75c300f52321dc7322e28d1df153cf0ea65a6d [jsinterp] Fix test for failed match in extract_object()
@HinTak commented on GitHub (Jun 20, 2023): `a2534f7b8` on 11 June is probably the one with the bad commits; it was fixed quite soon - within a week. A week later, `07af47960` (18th June) was okay. The long version below (i.e. if you are not curious, no need to read further): I think the oddity (and regression) I mentioned was a bad commit. I still have the command history in one of my windows actually. What I ran was this line: ``` ~/youtube-dl -l --write-thumbnail -k --audio-format best 'https://www.youtube.com/watch?v=JZxN8Bax6Lo' 'https://www.youtube.com/watch?v=0enW4xVOt5w' 'https://www.youtube.com/watch?v=CSUK8NfQO2Q' ``` This failed; and removing the leading `~/` i.e. using the older system-wide fedora-shipped one was successful. This line also works with a later rebuild (as I did a pull and rebuild after using the system one). My `git reflog` is quite short: ``` $ git reflog 07af47960 (HEAD -> master, origin/master, origin/HEAD) HEAD@{0}: reset: moving to HEAD 07af47960 (HEAD -> master, origin/master, origin/HEAD) HEAD@{1}: pull: Fast-forward a2534f7b8 HEAD@{2}: reset: moving to HEAD a2534f7b8 HEAD@{3}: pull: Fast-forward 26035bde4 HEAD@{4}: pull: Fast-forward 735e87adf HEAD@{5}: reset: moving to HEAD 735e87adf HEAD@{6}: pull: Fast-forward 2dd6c6edd HEAD@{7}: pull: Fast-forward ``` So I think `07af47960` (the most recent rebuild) is okay, `a2534f7b8` is the one contains some bad commits/regressions. I had been relatively happy with `26035bde4` from mid-April for a while (`735e87adf` is just half a day before `26035bde4`) and also happy enough with mid-Feb`2dd6c6edd`, which was the one explicitly mentioned as being the fix for this. My `.git/logs/refs/remotes/origin/master` says that before pulling `2dd6c6edd` , I was at `a8035827177d6b59aca03bd717acb6a9bdd75ada` (from mid 2021 - I keep some git clones of various projects, but don't update them unless I have a reasons to - obviously, git would truncate fetch logs going too far back - there is no need to keep fetch logs or reflog from too long ago). If you really like to re-produce the oddity, building`a2534f7b8` and give the above a try is my suggestion. One of these 4 changes fixed what was broken in `a2534f7b8`, that week, I think. ``` $ git log --format=oneline a2534f7b8..07af47960 07af47960f3bb262ead02490ce65c8c45c01741e (HEAD -> master, origin/master, origin/HEAD) [YouTube] Improve fix for ae8ba2c Thx: https://github.com/yt-dlp/yt-dlp/commit/01aba25 ae8ba2c31977b68b75221f80c488c0b12385269c [YouTube] Fix `KeyError QV` in signature extraction failed * temporarily force missing global definition into sig JS * improve test: thanks https://github.com/yt-dlp/yt-dlp/issues/7327#issuecomment-1595274615 * resolves #32314 d6433cbb2c4440056a38846e35bb5a3efa9bcac2 [jsinterp] Don't find unrelated objects ff75c300f52321dc7322e28d1df153cf0ea65a6d [jsinterp] Fix test for failed match in extract_object() ```
Author
Owner

@HinTak commented on GitHub (Jun 20, 2023):

I suppose this illustrates two things, youtube-dl is being continuously updated (4 changes in one week in June, between Feb and April about 30, and between April and June, about 20); and why I prefer doing intermittent standalone snapshots vs 'pip ...' - I have a record/log of what changes are in a build and which are not in.

@HinTak commented on GitHub (Jun 20, 2023): I suppose this illustrates two things, youtube-dl is being continuously updated (4 changes in one week in June, between Feb and April about 30, and between April and June, about 20); and why I prefer doing intermittent standalone snapshots vs 'pip ...' - I have a record/log of what changes are in a build and which are not in.
Author
Owner

@CodeKraft commented on GitHub (Jun 20, 2023):

Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package pip

@CodeKraft commented on GitHub (Jun 20, 2023): `Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package pip `
Author
Owner

@HinTak commented on GitHub (Jun 20, 2023):

The Ubuntu pip package name is "python3-pip" :
https://packages.ubuntu.com/search?suite=default&section=all&arch=any&keywords=python3-pip&searchon=names so you should do "sudo apt-get install python3-pip" (and after that , you may need to adapt the generic instructions from talking about "pip" to "pip3" instead). This is general familiarity with Ubuntu and python in general. I am not a Ubuntu user - so it is really your own responsibility to learn about your own choice of Linux distribution versus generic Linux instructions... (sigh).

@HinTak commented on GitHub (Jun 20, 2023): The Ubuntu pip package name is "python3-pip" : https://packages.ubuntu.com/search?suite=default&section=all&arch=any&keywords=python3-pip&searchon=names so you should do "sudo apt-get install python3-pip" (and after that , you may need to adapt the generic instructions from talking about "pip" to "pip3" instead). This is general familiarity with Ubuntu and python in general. I am not a Ubuntu user - so it is really your own responsibility to learn about your own choice of Linux distribution versus generic Linux instructions... (sigh).
Author
Owner

@HinTak commented on GitHub (Jun 20, 2023):

You could have found out the above yourself by doing "sudo apt-get search pip", without requiring others giving you the exact commands. Again, this is general familiarity with Ubuntu, which you should have gotten the info from Ubuntu's general novice users' forum instead...

@HinTak commented on GitHub (Jun 20, 2023): You could have found out the above yourself by doing "sudo apt-get search pip", without requiring others giving you the exact commands. Again, this is general familiarity with Ubuntu, which you should have gotten the info from Ubuntu's general novice users' forum instead...
Author
Owner

@CodeKraft commented on GitHub (Jun 20, 2023):

You could have found out the above yourself by doing "sudo apt-get search pip", without requiring others giving you the exact commands. Again, this is general familiarity with Ubuntu, which you should have gotten the info from Ubuntu's general novice users' forum instead...

Its not ubuntu, its Linux MX which is a more debian version than from the Ubuntu arm of the Linux distro.

sudo apt-get search pip [sudo] password for CodeKraft: E: Invalid operation search

@CodeKraft commented on GitHub (Jun 20, 2023): > You could have found out the above yourself by doing "sudo apt-get search pip", without requiring others giving you the exact commands. Again, this is general familiarity with Ubuntu, which you should have gotten the info from Ubuntu's general novice users' forum instead... Its not ubuntu, its Linux MX which is a more debian version than from the Ubuntu arm of the Linux distro. `sudo apt-get search pip [sudo] password for CodeKraft: E: Invalid operation search`
Author
Owner

@HinTak commented on GitHub (Jun 20, 2023):

I feel like this is a waste of time to respond, as your question had already been answered, a few times: (1) the bug is fixed , (but youtube.com is continuously updating, and so is youtube-dl updating to catch up with youtube.com), (2) -U does not currently work, you must update your installation by other means, two of which are mentioned in the last 24 hours. (3) keeping saying you cannot see any fix or work is just annoying - you don't have the skill nor the knowledge to monitor or appreciate the hard work going into continuously updating the code to catch up with what Google folks are continually changing youtube.com .

@HinTak commented on GitHub (Jun 20, 2023): I feel like this is a waste of time to respond, as your question had already been answered, a few times: (1) the bug is fixed , (but youtube.com is continuously updating, and so is youtube-dl updating to catch up with youtube.com), (2) -U does not currently work, you must update your installation by other means, two of which are mentioned in the last 24 hours. (3) keeping saying you cannot see any fix or work is just annoying - you don't have the skill nor the knowledge to monitor or appreciate the hard work going into continuously updating the code to catch up with what Google folks are continually changing youtube.com .
Author
Owner

@HinTak commented on GitHub (Jun 20, 2023):

You could have found out the above yourself by doing "sudo apt-get search pip", without requiring others giving you the exact commands. Again, this is general familiarity with Ubuntu, which you should have gotten the info from Ubuntu's general novice users' forum instead...

Its not ubuntu, its Linux MX which is a more debian version than from the Ubuntu arm of the Linux distro.

sudo apt-get search pip [sudo] password for CodeKraft: E: Invalid operation search

Let me state this again: others people use NOT-"Linux MX". It is your own responsibility to learn how your choice of Linux differs from other Linux'es. If you choose to use lawn-mower linux, it is your own responsibility to find out how lawn-mower Linux differs from other more popular ones.

@HinTak commented on GitHub (Jun 20, 2023): > > You could have found out the above yourself by doing "sudo apt-get search pip", without requiring others giving you the exact commands. Again, this is general familiarity with Ubuntu, which you should have gotten the info from Ubuntu's general novice users' forum instead... > > Its not ubuntu, its Linux MX which is a more debian version than from the Ubuntu arm of the Linux distro. > > `sudo apt-get search pip [sudo] password for CodeKraft: E: Invalid operation search` Let me state this again: others people use NOT-"Linux MX". It is your own responsibility to learn how your choice of Linux differs from other Linux'es. If you choose to use lawn-mower linux, it is your own responsibility to find out how lawn-mower Linux differs from other more popular ones.
Author
Owner

@HinTak commented on GitHub (Jun 20, 2023):

I think it is "apt search ..." instead of "apt-get search ...". But I am not a ubuntu/any-debian-variant user, you are. You are supposed to learn to use apt and apt-get.

@HinTak commented on GitHub (Jun 20, 2023): I think it is "apt search ..." instead of "apt-get search ...". But I am not a ubuntu/any-debian-variant user, you are. You are supposed to learn to use `apt` and `apt-get`.
Author
Owner

@itagagaki commented on GitHub (Jun 20, 2023):

On Mar 11 @dirkf said:

there is no ability or plan to make a manual release

I think this exegesis says it all about the current situation...can't this project get its "ability" back?

@itagagaki commented on GitHub (Jun 20, 2023): On Mar 11 @dirkf said: > there is no ability or plan to make a manual release I think this exegesis says it all about the current situation...can't this project get its "ability" back?
Author
Owner

@CodeKraft commented on GitHub (Jun 20, 2023):

I think it is "apt search ..." instead of "apt-get search ...". But I am not a ubuntu/any-debian-variant user, you are. You are supposed to learn to use apt and apt-get.

Just no pip packages in the repository, I tried the sudo apt search pip and it spits out a list that is truncated and can't find any reference to pip.

The answer is simple, wrap up an installer in an AppImage that I know will run perfectly fine as I have a multitude of them and that then doesn't require dependencies to be installed because an AppImage package has all that is needed in that package.

@CodeKraft commented on GitHub (Jun 20, 2023): > I think it is "apt search ..." instead of "apt-get search ...". But I am not a ubuntu/any-debian-variant user, you are. You are supposed to learn to use `apt` and `apt-get`. Just no pip packages in the repository, I tried the `sudo apt search pip` and it spits out a list that is truncated and can't find any reference to pip. The answer is simple, wrap up an installer in an AppImage that I know will run perfectly fine as I have a multitude of them and that then doesn't require dependencies to be installed because an AppImage package has all that is needed in that package.
Author
Owner

@CodeKraft commented on GitHub (Jun 20, 2023):

I think it is "apt search ..." instead of "apt-get search ...". But I am not a ubuntu/any-debian-variant user, you are. You are supposed to learn to use apt and apt-get.

I know how to use command lines, however, there is a thing called time and I don't have a lot of it, so sitting down to learn convoluted command line routines is not going to happen. Linux is overly complicated for something that is meant to be more user friendly and I have found it to be nothing but hostile and full of snobs.

@CodeKraft commented on GitHub (Jun 20, 2023): > I think it is "apt search ..." instead of "apt-get search ...". But I am not a ubuntu/any-debian-variant user, you are. You are supposed to learn to use `apt` and `apt-get`. I know how to use command lines, however, there is a thing called time and I don't have a lot of it, so sitting down to learn convoluted command line routines is not going to happen. Linux is overly complicated for something that is meant to be more user friendly and I have found it to be nothing but hostile and full of snobs.
Author
Owner

@HinTak commented on GitHub (Jun 21, 2023):

Github is not a "end user" support forum - if you want friendly help, actually pay for somebody to help you, by buying a ubuntu subscription, for example, or ask whoever sold you your lawn-mower linux installation CD, would be a good idea. Oh, I forgot: you probably did not pay anybody anything to help you.

@HinTak commented on GitHub (Jun 21, 2023): Github is not a "end user" support forum - if you want friendly help, actually pay for somebody to help you, by buying a ubuntu subscription, for example, or ask whoever sold you your lawn-mower linux installation CD, would be a good idea. Oh, I forgot: you probably did not pay anybody anything to help you.
Author
Owner

@HinTak commented on GitHub (Jun 21, 2023):

Last I heard (about 10 years ago), the redhat annual subscription was about $200 US, already academic/research discounted. Commercial users are 2x/5x ? Ubuntu's annual subscription fee would be similar. If you actually pay the annual subscription fee, you are actually entitled to a packaged AppImage or equivalent from them, within a reasonable (a few months') time, or you get your money back.

@HinTak commented on GitHub (Jun 21, 2023): Last I heard (about 10 years ago), the redhat annual subscription was about $200 US, already academic/research discounted. Commercial users are 2x/5x ? Ubuntu's annual subscription fee would be similar. If you actually pay the annual subscription fee, you are actually entitled to a packaged AppImage or equivalent from them, within a reasonable (a few months') time, or you get your money back.
Author
Owner

@acsr commented on GitHub (Jun 21, 2023):

This note in your solution https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1599243630 is misleading, you need to enter install before --HEAD:

You can also try brew --HEAD ... to update to the latest master code, similar to the pip-based suggestions.

your sentence should read: You can also try brew install --HEAD youtube-dl to update to the latest master code, similar to the pip-based suggestions.

Note: if on arm64 you may get an Error while installing/ the --HEAD:
... Pouring pandoc--3.1.3.arm64_monterey.bottle.tar.gz.
Solution: first install pandoc alone by just calling brew install pandoc
Then install the Head of youtube-dl as described above.

Then the install will continue on macOS arm64...
Note: I added a thumb to the solution, Ray Kurzweil recommends it as well...
I also suggested to explicitly replace the ellipsis ... with youtube-dl, but respect you wanted to be more general.

@acsr commented on GitHub (Jun 21, 2023): This note in your solution https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1599243630 is misleading, you need to enter `install` before `--HEAD`: > You can also try `brew --HEAD ...` to update to the latest master code, similar to the _pip_-based suggestions. your sentence should read: You can also try `brew install --HEAD youtube-dl` to update to the latest master code, similar to the pip-based suggestions. Note: if on arm64 you may get an **Error** while installing/ the --HEAD: ... Pouring pandoc--3.1.3.arm64_monterey.bottle.tar.gz. Solution: first install pandoc alone by just calling `brew install pandoc` Then install the Head of youtube-dl as described above. Then the install will continue on macOS arm64... Note: I added a thumb to the solution, Ray Kurzweil recommends it as well... I also suggested to explicitly replace the ellipsis `...` with `youtube-dl`, but respect you wanted to be more general.
Author
Owner

@dirkf commented on GitHub (Jun 21, 2023):

Thanks. This is not a tutorial site for brew or pip. I've rephrased the hint to avoid implying that --HEAD is an option of the brew command itself. The wording continues to advise trying the option because it depends on support in the package that could be withdrawn.

If brew has bugs on some platform, that should be reported to the Homebrew tracker. It's up to the packagers to ensure that dependent packages are properly installed, though pandoc is only used to build the documentation, which could be done before packaging.

@dirkf commented on GitHub (Jun 21, 2023): Thanks. This is not a tutorial site for _brew_ or _pip_. I've rephrased the hint to avoid implying that `--HEAD` is an option of the _brew_ command itself. The wording continues to advise `try`ing the option because it depends on support in the package that could be withdrawn. If _brew_ has bugs on some platform, that should be reported to the Homebrew tracker. It's up to the packagers to ensure that dependent packages are properly installed, though _pandoc_ is only used to build the documentation, which could be done before packaging.
Author
Owner

@HinTak commented on GitHub (Jun 23, 2023):

This is 07af47960 standalone build - no installation required, just download, unzip, (maybe chmod a+rx the extracted file is needed, most likely not) and run it as a standalone binary.
bin.zip

I looked up what Linux MX is. Its goal is to be minimal, so of course nothing works. You are responsible for your own choices.

@HinTak commented on GitHub (Jun 23, 2023): This is `07af47960` standalone build - no installation required, just download, unzip, (maybe `chmod a+rx` the extracted file is needed, most likely not) and run it as a standalone binary. [bin.zip](https://github.com/ytdl-org/youtube-dl/files/11843872/bin.zip) I looked up what Linux MX is. Its goal is to be minimal, so of course nothing works. You are responsible for your own choices.
Author
Owner

@geoidesic commented on GitHub (Jun 28, 2023):

I still can't get this to work. I manage, then two weeks later it gets throttled again, then I go through the whole rigmarole again. Today I uninstalled it and re-installed it and it broke worse:

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 "/usr/local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/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 "/usr/local/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.
@geoidesic commented on GitHub (Jun 28, 2023): I still can't get this to work. I manage, then two weeks later it gets throttled again, then I go through the whole rigmarole again. Today I uninstalled it and re-installed it and it broke worse: ``` 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 "/usr/local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/usr/local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/usr/local/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/usr/local/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 "/usr/local/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. ```
Author
Owner

@nicolaasjan commented on GitHub (Jun 28, 2023):

@geoidesic
Read this comment .

Try:
pip install --upgrade --force-reinstall "git+https://github.com/ytdl-org/youtube-dl.git"

(may need to do this as root, since your youtube_dl is in /usr/local/lib)

@nicolaasjan commented on GitHub (Jun 28, 2023): @geoidesic Read [this comment ](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435477247). Try: `pip install --upgrade --force-reinstall "git+https://github.com/ytdl-org/youtube-dl.git"` (may need to do this as root, since your youtube_dl is in `/usr/local/lib`)
Author
Owner

@CodeKraft commented on GitHub (Jun 28, 2023):

So my comments now get marked as spam ??? Why? Because I am asking when this will be fixed?

FYI

$ youtube-dl -U youtube-dl is up-to-date (2021.12.17)

All I get is an error with examples given on how to update or to replace with yt-dlp and still not one example that works.

@CodeKraft commented on GitHub (Jun 28, 2023): So my comments now get marked as spam ??? Why? Because I am asking when this will be fixed? FYI ` $ youtube-dl -U youtube-dl is up-to-date (2021.12.17) ` All I get is an error with examples given on how to update or to replace with yt-dlp and still not one example that works.
Author
Owner

@d-pletikapa commented on GitHub (Jun 28, 2023):

I don't know if I'm eligible to link here, but this fix worked for me
https://youtu.be/Ghe058HpmMk
so the fix is basically you locate file youtube.py in path [ youtube_dl/extractor ] and comment whole line (or delete)
with 'uploader_id' this line contains regexp for verification of some sort which is broken.
Hope it helps as a hotfix.

@d-pletikapa commented on GitHub (Jun 28, 2023): > I don't know if I'm eligible to link here, but this fix worked for me [https://youtu.be/Ghe058HpmMk](url) so the fix is basically you locate file youtube.py in path [ youtube_dl/extractor ] and comment whole line (or delete) with 'uploader_id' this line contains regexp for verification of some sort which is broken. Hope it helps as a hotfix.
Author
Owner

@CodeKraft commented on GitHub (Jun 29, 2023):

https://youtu.be/Ghe058HpmMk

Doesn't work, all I get is "Not a Directory" issued by BASH.

This is why I am getting annoyed with the lack of help from the DEV's in updating this issue if that "fix" is all that is needed, WTF is wrong with them?

@CodeKraft commented on GitHub (Jun 29, 2023): > https://youtu.be/Ghe058HpmMk Doesn't work, all I get is "Not a Directory" issued by BASH. This is why I am getting annoyed with the lack of help from the DEV's in updating this issue if that "fix" is all that is needed, WTF is wrong with them?
Author
Owner

@dirkf commented on GitHub (Jun 29, 2023):

Read the issue:

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.

As reminded above (several times), a valid, non-spam comment must follow "this post below". If you can't make some update method work, post the failing installation log as instructed.

@dirkf commented on GitHub (Jun 29, 2023): Read the issue: >This issue is solved: read the Description below If you still want to comment after reading that, think again: first read [this post below](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1520185289) to avoid your comment being deleted or marked as spam. As reminded above (several times), a valid, non-spam comment must follow "this post below". If you can't make some update method work, post the failing installation log as instructed.
Author
Owner

@CodeKraft commented on GitHub (Jun 29, 2023):

Why are you deleting my comments about help?

I have previously supplied everything needed as per request yet you @dirkf appear to be the person removing comments and calling it spam.

I have tried every suggestion posted and NOTHING WORKS can you comprehend that or is your brain too tiny to accept that fact?

I am asking for help and you keep on throwing things back about posting correctly, I have and I am getting sick of this.

In the last post wit the video link, I tried that DOESN'T WORK.

$ cd "/usr/local/bin/youtube-dl/youtube_dl/extractor/" bash: cd: /usr/local/bin/youtube-dl/youtube_dl/extractor/: Not a directory

OK? What more do you want?

@CodeKraft commented on GitHub (Jun 29, 2023): Why are you deleting my comments about help? I have previously supplied everything needed as per request yet you @dirkf appear to be the person removing comments and calling it spam. I have tried every suggestion posted and NOTHING WORKS can you comprehend that or is your brain too tiny to accept that fact? I am asking for help and you keep on throwing things back about posting correctly, I have and I am getting sick of this. In the last post wit the video link, I tried that DOESN'T WORK. `$ cd "/usr/local/bin/youtube-dl/youtube_dl/extractor/" bash: cd: /usr/local/bin/youtube-dl/youtube_dl/extractor/: Not a directory ` OK? What more do you want?
Author
Owner

@dirkf commented on GitHub (Jun 29, 2023):

@CodeKraft, why are you trying to cd into a non-existent directory? Follow the instructions linked here, not some random's suggestion. The instructions here try to take account of the various installation types, unlike a SO-style "this worked for me", let alone a video. Really, this is explained in the post that I linked above, because (eg) @geoidesic

Other installation methods led to errors for me on my environment.

what worked for you may not work for CodeKraft.

You may find this Janet and John guide to the relevant hyperlinks helpful. I've also pointed you to the last resort instructions, in the previously linked post several times.

If you still don't succeed, explain how you originally installed yt-dl and post the failing log where you tried to follow the appropriate update method as recommended here. Otherwise, straight to spam. @majd-elhasan, too.

@dirkf commented on GitHub (Jun 29, 2023): @CodeKraft, why are you trying to cd into a non-existent directory? Follow the instructions linked here, not some random's suggestion. The instructions here try to take account of the various installation types, unlike a SO-style "this worked for me", let alone a **video**. Really, this is explained in the [post that I linked above](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1520185289), because (eg) @geoidesic >Other installation methods led to errors for me on my environment. what worked for you may not work for CodeKraft. You may find this [Janet and John guide to the relevant hyperlinks](https://github.com/ytdl-org/youtube-dl/issues/32356#issuecomment-1609192745) helpful. I've also pointed you to the last resort instructions, in the [previously linked post](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1520185289) several times. If you still don't succeed, explain how you originally installed yt-dl and post the failing log where you tried to follow the appropriate update method as recommended here. Otherwise, straight to spam. @majd-elhasan, too.
Author
Owner

@geoidesic commented on GitHub (Jun 29, 2023):

Why are you deleting my comments about help?

I have previously supplied everything needed as per request yet you @dirkf appear to be the person removing comments and calling it spam.

I have tried every suggestion posted and NOTHING WORKS can you comprehend that or is your brain too tiny to accept that fact?

I am asking for help and you keep on throwing things back about posting correctly, I have and I am getting sick of this.

In the last post wit the video link, I tried that DOESN'T WORK.

$ cd "/usr/local/bin/youtube-dl/youtube_dl/extractor/" bash: cd: /usr/local/bin/youtube-dl/youtube_dl/extractor/: Not a directory

OK? What more do you want?

And calm down. This is open source software. People are donating their time to this. It's not a service you're paying for.

@geoidesic commented on GitHub (Jun 29, 2023): > Why are you deleting my comments about help? > > I have previously supplied everything needed as per request yet you @dirkf appear to be the person removing comments and calling it spam. > > I have tried every suggestion posted and NOTHING WORKS can you comprehend that or is your brain too tiny to accept that fact? > > I am asking for help and you keep on throwing things back about posting correctly, I have and I am getting sick of this. > > In the last post wit the video link, I tried that DOESN'T WORK. > > `$ cd "/usr/local/bin/youtube-dl/youtube_dl/extractor/" bash: cd: /usr/local/bin/youtube-dl/youtube_dl/extractor/: Not a directory ` > > OK? What more do you want? And calm down. This is open source software. People are donating their time to this. It's not a service you're paying for.
Author
Owner

@geoidesic commented on GitHub (Jun 29, 2023):

For what it's worth what worked for me was this:
sudo pip3 install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl

Other installation methods led to errors for me on my environment.

@geoidesic commented on GitHub (Jun 29, 2023): For what it's worth what worked for me was this: `sudo pip3 install git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl` Other installation methods led to errors for me on my environment.
Author
Owner

@jorgegonzalez commented on GitHub (Jun 29, 2023):

Thanks @geoidesic that worked like a charm

@jorgegonzalez commented on GitHub (Jun 29, 2023): Thanks @geoidesic that worked like a charm
Author
Owner

@majd-elhasan commented on GitHub (Jun 29, 2023):

I'am encountring this error after typing : youtube-dl https://www.youtube.com/watch?v=8FL9WANKoUg
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.

Note : I have installed youtube_dl package using pip ,didnt work ,tried to run youtube installer for windows but seemd that didnt work as well ,and I had the same problem ,

I need a way to download videos from youtube ,if aplicable using some programming languages through android

thanks in advance

@majd-elhasan commented on GitHub (Jun 29, 2023): I'am encountring this error after typing : youtube-dl https://www.youtube.com/watch?v=8FL9WANKoUg 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. Note : I have installed youtube_dl package using pip ,didnt work ,tried to run youtube installer for windows but seemd that didnt work as well ,and I had the same problem , I need a way to download videos from youtube ,if aplicable using some programming languages through android thanks in advance
Author
Owner

@alexanderguryev commented on GitHub (Jun 30, 2023):

it's now July is this available in a fix with brew for mac yet?

@alexanderguryev commented on GitHub (Jun 30, 2023): it's now July is this available in a fix with brew for mac yet?
Author
Owner

@dirkf commented on GitHub (Jun 30, 2023):

@alexanderguryev, read the issue.

@dirkf commented on GitHub (Jun 30, 2023): @alexanderguryev, read the issue.
Author
Owner

@hoshizora-chi commented on GitHub (Jul 1, 2023):

I also have the same problem
here is the output:

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-F', '--verbose', 'https://www.youtube.com/watch?v=wniULPsjupY']
[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-46-generic-x86_64-with-glibc2.35
[debug] exe versions: ffmpeg 4.4.2, ffprobe 4.4.2, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] wniULPsjupY: 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 "/usr/local/lib/python3.10/dist-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python3.10/dist-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/lib/python3.10/dist-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 "/usr/local/lib/python3.10/dist-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.

OS: Ubuntu, 64bit
thank you in advance

@hoshizora-chi commented on GitHub (Jul 1, 2023): I also have the same problem here is the output: ``` [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-F', '--verbose', 'https://www.youtube.com/watch?v=wniULPsjupY'] [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-46-generic-x86_64-with-glibc2.35 [debug] exe versions: ffmpeg 4.4.2, ffprobe 4.4.2, rtmpdump 2.4 [debug] Proxy map: {} [youtube] wniULPsjupY: 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 "/usr/local/lib/python3.10/dist-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/usr/local/lib/python3.10/dist-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/usr/local/lib/python3.10/dist-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 "/usr/local/lib/python3.10/dist-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. ``` OS: Ubuntu, 64bit thank you in advance
Author
Owner

@CodeKraft commented on GitHub (Jul 1, 2023):

So I did it again
youtube-dl -f m4a -o "/media/mark/New Volume1/Videos/%(title)s.%(ext)s" -i https://www.youtube.com/watch?v=ZFB1UOL1yBw --verbose [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'-f', u'm4a', u'-o', u'/media/mark/New Volume1/Videos/%(title)s.%(ext)s', u'-i', u'https://www.youtube.com/watch?v=ZFB1UOL1yBw', u'--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 2.7.13 (CPython) - Linux-4.13.0-1-amd64-x86_64-with-MX-18.3-Continuum [debug] exe versions: avconv 3.3.4-1mx17, avprobe 3.3.4-1mx17, ffmpeg 3.3.4-1mx17, ffprobe 3.3.4-1mx17, rtmpdump 2.4 [debug] Proxy map: {} [youtube] ZFB1UOL1yBw: Downloading webpage [youtube] ZFB1UOL1yBw: 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; 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.
and tried to navigate to the particular python package and despite youtube-dl folder existing, I get an error stating that the folder (directory) doesn't exist.

So there is no way I can manually navigate into the python packages to edit the python script that has the error in it that came from the DEV's of this project.

So when is this package going to be updated??? Everything I try isn't working or causes an error and things were working fine until the last update and 3 months on, nothing has been done to update the error introduced by the dev's.

@CodeKraft commented on GitHub (Jul 1, 2023): So I did it again `youtube-dl -f m4a -o "/media/mark/New Volume1/Videos/%(title)s.%(ext)s" -i https://www.youtube.com/watch?v=ZFB1UOL1yBw --verbose [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'-f', u'm4a', u'-o', u'/media/mark/New Volume1/Videos/%(title)s.%(ext)s', u'-i', u'https://www.youtube.com/watch?v=ZFB1UOL1yBw', u'--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 2.7.13 (CPython) - Linux-4.13.0-1-amd64-x86_64-with-MX-18.3-Continuum [debug] exe versions: avconv 3.3.4-1mx17, avprobe 3.3.4-1mx17, ffmpeg 3.3.4-1mx17, ffprobe 3.3.4-1mx17, rtmpdump 2.4 [debug] Proxy map: {} [youtube] ZFB1UOL1yBw: Downloading webpage [youtube] ZFB1UOL1yBw: 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; 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. ` and tried to navigate to the particular python package and despite youtube-dl folder existing, I get an error stating that the folder (directory) doesn't exist. So there is no way I can manually navigate into the python packages to edit the python script that has the error in it that came from the DEV's of this project. So when is this package going to be updated??? Everything I try isn't working or causes an error and things were working fine until the last update and 3 months on, nothing has been done to update the error introduced by the dev's.
Author
Owner

@paulrougieux commented on GitHub (Jul 1, 2023):

@CodeKraft We can assume good faith when you say you have tried everything. In case it's helpful, here is how to install using
Pypi
. Please try the install that doesn't require git and report the output as a comment here:

pip install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz
  • The developers might have good reasons for not doing a new release https://github.com/ytdl-org/youtube-dl/issues/31585. So just try the above method and report its output.
  • @dirkf In my opinion, the pip install from master.tar.gz should be suggested at the very top in the OP question instead of requiring 3 clicks down 3 comments as it currently is.
@paulrougieux commented on GitHub (Jul 1, 2023): @CodeKraft We can assume good faith when you say you have tried everything. In case it's helpful, here is how to [install using Pypi](https://packaging.python.org/en/latest/tutorials/installing-packages/#installing-from-pypi). Please try the install that doesn't require git and report the output as a comment here: pip install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz - The developers might have good reasons for not doing a new release https://github.com/ytdl-org/youtube-dl/issues/31585. So just try the above method and report its output. - @dirkf In my opinion, the pip install from `master.tar.gz` should be suggested at the very top in the OP question instead of requiring 3 clicks down 3 comments as it currently is.
Author
Owner

@CodeKraft commented on GitHub (Jul 1, 2023):

@CodeKraft We can assume good faith when you say you have tried everything. In case it's helpful, here is how to install using Pypi. Please try the install that doesn't require git and report the output as a comment here:

pip install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz
  • The developers might have good reasons for not doing a new release New Release? #31585. So just try the above method and report its output.
  • @dirkf In my opinion, the pip install from master.tar.gz should be suggested at the very top in the OP question instead of requiring 3 clicks down 3 comments as it currently is.

pip doesn't work nor brew as they are not package installers that are available to me.

I watched a video of someone who edited out (remark) one line in a youtube.py script that cured the problem.

That is all I want to be able to do or have toe DEV's provide a method of fixing the problem in that particular script however, I tried and it can't be reached because it appears that the youtube-dl folder is not valid to navigate into.

As for the pip and brew, no way of installing on this linux box.

its .deb packages or .AppImage options that work, so in my opinion the devs need to wrap up a fix in a .deb or .AppImage package.

@CodeKraft commented on GitHub (Jul 1, 2023): > @CodeKraft We can assume good faith when you say you have tried everything. In case it's helpful, here is how to [install using Pypi](https://packaging.python.org/en/latest/tutorials/installing-packages/#installing-from-pypi). Please try the install that doesn't require git and report the output as a comment here: > > ``` > pip install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz > ``` > > * The developers might have good reasons for not doing a new release [New Release? #31585](https://github.com/ytdl-org/youtube-dl/issues/31585). So just try the above method and report its output. > * @dirkf In my opinion, the pip install from `master.tar.gz` should be suggested at the very top in the OP question instead of requiring 3 clicks down 3 comments as it currently is. pip doesn't work nor brew as they are not package installers that are available to me. I watched a video of someone who edited out (remark) one line in a youtube.py script that cured the problem. That is all I want to be able to do or have toe DEV's provide a method of fixing the problem in that particular script however, I tried and it can't be reached because it appears that the youtube-dl folder is not valid to navigate into. As for the pip and brew, no way of installing on this linux box. its .deb packages or .AppImage options that work, so in my opinion the devs need to wrap up a fix in a .deb or .AppImage package.
Author
Owner

@paulrougieux commented on GitHub (Jul 1, 2023):

@CodeKraft I'm sorry for you, if your distro accepts .deb packaes, I advise you to change for Debian. It's available as a standard at many ISPs, and I can confirm that you can successfully install pip there.

$    pip install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz
... more output ....
Successfully installed youtube-dl-2021.12.17

$     cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
@paulrougieux commented on GitHub (Jul 1, 2023): @CodeKraft I'm sorry for you, if your distro accepts .deb packaes, I advise you to change for Debian. It's available as a standard at many ISPs, and I can confirm that you can successfully install pip there. ``` $ pip install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz ... more output .... Successfully installed youtube-dl-2021.12.17 $ cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" ```
Author
Owner

@paulrougieux commented on GitHub (Jul 1, 2023):

pip doesn't work nor brew as they are not package installers that are
available to me.

Pip is available to you for sure since you have python. It's a package
installer within python, for python only.
Just learn about what pip is.

On Sat, 1 Jul 2023 at 09:55, Mark @.***> wrote:

@CodeKraft https://github.com/CodeKraft We can assume good faith when
you say you have tried everything. In case it's helpful, here is how to install
using Pypi
https://packaging.python.org/en/latest/tutorials/installing-packages/#installing-from-pypi.
Please try the install that doesn't require git and report the output as a
comment here:

pip install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz

pip doesn't work nor brew as they are not package installers that are
available to me.

I watched a video of someone who edited out (remark) one line in a
youtube.py script that cured the problem.

That is all I want to be able to do or have toe DEV's provide a method of
fixing the problem in that particular script however, I tried and it can't
be reached because it appears that the youtube-dl folder is not valid to
navigate into.

As for the pip and brew, no way of installing on this linux box.

its .deb packages or .AppImage options that work, so in my opinion the
devs need to wrap up a fix in a .deb or .AppImage package.


Reply to this email directly, view it on GitHub
https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1615616235,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABLCYJLEDFTE6VB4ZYWFSKLXN7JW3ANCNFSM6AAAAAAU6HECQY
.
You are receiving this because you were mentioned.Message ID:
@.***>

@paulrougieux commented on GitHub (Jul 1, 2023): > pip doesn't work nor brew as they are not package installers that are available to me. Pip is available to you for sure since you have python. It's a package installer within python, for python only. Just learn about what pip is. On Sat, 1 Jul 2023 at 09:55, Mark ***@***.***> wrote: > @CodeKraft <https://github.com/CodeKraft> We can assume good faith when > you say you have tried everything. In case it's helpful, here is how to install > using Pypi > <https://packaging.python.org/en/latest/tutorials/installing-packages/#installing-from-pypi>. > Please try the install that doesn't require git and report the output as a > comment here: > > pip install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz > > > - The developers might have good reasons for not doing a new release New > Release? #31585 <https://github.com/ytdl-org/youtube-dl/issues/31585>. > So just try the above method and report its output. > - @dirkf <https://github.com/dirkf> In my opinion, the pip install > from master.tar.gz should be suggested at the very top in the OP > question instead of requiring 3 clicks down 3 comments as it currently is. > > pip doesn't work nor brew as they are not package installers that are > available to me. > > I watched a video of someone who edited out (remark) one line in a > youtube.py script that cured the problem. > > That is all I want to be able to do or have toe DEV's provide a method of > fixing the problem in that particular script however, I tried and it can't > be reached because it appears that the youtube-dl folder is not valid to > navigate into. > > As for the pip and brew, no way of installing on this linux box. > > its .deb packages or .AppImage options that work, so in my opinion the > devs need to wrap up a fix in a .deb or .AppImage package. > > — > Reply to this email directly, view it on GitHub > <https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1615616235>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABLCYJLEDFTE6VB4ZYWFSKLXN7JW3ANCNFSM6AAAAAAU6HECQY> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> >
Author
Owner

@CodeKraft commented on GitHub (Jul 1, 2023):

pip doesn't work nor brew as they are not package installers that are
available to me. Pip is available to you for sure since you have python. It's a package installer within python, for python only. Just learn about what pip is.

On Sat, 1 Jul 2023 at 09:55, Mark @.> wrote: @CodeKraft https://github.com/CodeKraft We can assume good faith when you say you have tried everything. In case it's helpful, here is how to install using Pypi https://packaging.python.org/en/latest/tutorials/installing-packages/#installing-from-pypi. Please try the install that doesn't require git and report the output as a comment here: pip install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz - The developers might have good reasons for not doing a new release New Release? #31585 <#31585>. So just try the above method and report its output. - @dirkf https://github.com/dirkf In my opinion, the pip install from master.tar.gz should be suggested at the very top in the OP question instead of requiring 3 clicks down 3 comments as it currently is. pip doesn't work nor brew as they are not package installers that are available to me. I watched a video of someone who edited out (remark) one line in a youtube.py script that cured the problem. That is all I want to be able to do or have toe DEV's provide a method of fixing the problem in that particular script however, I tried and it can't be reached because it appears that the youtube-dl folder is not valid to navigate into. As for the pip and brew, no way of installing on this linux box. its .deb packages or .AppImage options that work, so in my opinion the devs need to wrap up a fix in a .deb or .AppImage package. — Reply to this email directly, view it on GitHub <#31530 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLCYJLEDFTE6VB4ZYWFSKLXN7JW3ANCNFSM6AAAAAAU6HECQY . You are receiving this because you were mentioned.Message ID: @.>

It isn't available to me, pip --help returns bash: pip: command not found

When I sudo apt-get install pip I get Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package pip

Too many assumptions and not enough listening to the end user complaints.

I say again, the DEV's need to comment out that one line, make the update available through youtube-dl -U and have it fixed in no time, I reckon that it will take a DEV about 20 seconds work editing and a minute to push the update. Instead we have a list of complaints going back months which isn't a good look for a project, in many eyes its a dead project and I asked to be proven wrong and still nothing has changed... so until a DEV gets off their rear and does the right thing, this has nothing to do with being busy, if someone is too busy to set aside TWO MINUTES to fix this from an end user being able to update this by the established method, then I may as well report this project to github as a dead project...

@CodeKraft commented on GitHub (Jul 1, 2023): > pip doesn't work nor brew as they are not package installers that are > available to me. Pip is available to you for sure since you have python. It's a package installer within python, for python only. Just learn about what pip is. > […](#) > On Sat, 1 Jul 2023 at 09:55, Mark ***@***.***> wrote: @CodeKraft <https://github.com/CodeKraft> We can assume good faith when you say you have tried everything. In case it's helpful, here is how to install using Pypi <https://packaging.python.org/en/latest/tutorials/installing-packages/#installing-from-pypi>. Please try the install that doesn't require git and report the output as a comment here: pip install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz - The developers might have good reasons for not doing a new release New Release? #31585 <#31585>. So just try the above method and report its output. - @dirkf <https://github.com/dirkf> In my opinion, the pip install from master.tar.gz should be suggested at the very top in the OP question instead of requiring 3 clicks down 3 comments as it currently is. pip doesn't work nor brew as they are not package installers that are available to me. I watched a video of someone who edited out (remark) one line in a youtube.py script that cured the problem. That is all I want to be able to do or have toe DEV's provide a method of fixing the problem in that particular script however, I tried and it can't be reached because it appears that the youtube-dl folder is not valid to navigate into. As for the pip and brew, no way of installing on this linux box. its .deb packages or .AppImage options that work, so in my opinion the devs need to wrap up a fix in a .deb or .AppImage package. — Reply to this email directly, view it on GitHub <[#31530 (comment)](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1615616235)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABLCYJLEDFTE6VB4ZYWFSKLXN7JW3ANCNFSM6AAAAAAU6HECQY> . You are receiving this because you were mentioned.Message ID: ***@***.***> It isn't available to me, pip --help returns `bash: pip: command not found` When I sudo apt-get install pip I get `Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package pip` Too many assumptions and not enough listening to the end user complaints. I say again, the DEV's need to comment out that one line, make the update available through `youtube-dl -U` and have it fixed in no time, I reckon that it will take a DEV about 20 seconds work editing and a minute to push the update. Instead we have a list of complaints going back months which isn't a good look for a project, in many eyes its a dead project and I asked to be proven wrong and still nothing has changed... so until a DEV gets off their rear and does the right thing, this has nothing to do with being busy, if someone is too busy to set aside TWO MINUTES to fix this from an end user being able to update this by the established method, then I may as well report this project to github as a dead project...
Author
Owner

@nicolaasjan commented on GitHub (Jul 1, 2023):

@CodeKraft
Have you tried pip3 install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz
?

@nicolaasjan commented on GitHub (Jul 1, 2023): @CodeKraft Have you tried `pip3 install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz` ?
Author
Owner

@CodeKraft commented on GitHub (Jul 1, 2023):

@CodeKraft Have you tried pip3 install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz ?

`Collecting https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz
Downloading https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz
- 4.4MB 14.3MB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named 'setuptools'

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /var/tmp/pip-sjgt8d1u-build/
`

and would the moron that keeps on marking my posts as spam or hiding them stop. They are not spam.

These are GENUINE and what part of GENUINE don't you seem to be able to comprehend? It also doesn't look good for support for this software.

@CodeKraft commented on GitHub (Jul 1, 2023): > @CodeKraft Have you tried `pip3 install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz` ? `Collecting https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz Downloading https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz - 4.4MB 14.3MB/s Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named 'setuptools' ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /var/tmp/pip-sjgt8d1u-build/ ` and would the moron that keeps on marking my posts as spam or hiding them stop. They are not spam. These are GENUINE and what part of GENUINE don't you seem to be able to comprehend? It also doesn't look good for support for this software.
Author
Owner

@paulrougieux commented on GitHub (Jul 1, 2023):

@CodeKraft python is telling you that setuptools is missing and Stackoverflow Python 3: ImportError "No Module named Setuptools" explains how to install it. Try

pip install -U pip setuptools 

Then try again

pip3 install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz
@paulrougieux commented on GitHub (Jul 1, 2023): @CodeKraft python is telling you that setuptools is missing and Stackoverflow [Python 3: ImportError "No Module named Setuptools"](https://stackoverflow.com/questions/14426491/python-3-importerror-no-module-named-setuptools) explains how to install it. Try pip install -U pip setuptools Then try again pip3 install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz
Author
Owner

@HinTak commented on GitHub (Jul 1, 2023):

CodeKraft We can assume good faith when you say you have tried everything. ...

You cannot. Already switched off notification and blocked this guy, and not read anything he posts. I posted a standalone all-in-one binary build (it is just "make" to build youtube-dl that way) a while ago, just download, unzip and run. This guy still cannot manage. Contemplating unsubscribing this issue myself.

@HinTak commented on GitHub (Jul 1, 2023): > CodeKraft We can assume good faith when you say you have tried everything. ... You cannot. Already switched off notification and blocked this guy, and not read anything he posts. I posted a standalone all-in-one binary build (it is just "make" to build youtube-dl that way) a while ago, just download, unzip and run. This guy still cannot manage. Contemplating unsubscribing this issue myself.
Author
Owner

@CodeKraft commented on GitHub (Jul 1, 2023):

@CodeKraft python is telling you that setuptools is missing and Stackoverflow Python 3: ImportError "No Module named Setuptools" explains how to install it. Try

pip install -U pip setuptools 

Then try again

pip3 install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz

pip install -U pip setuptools bash: pip: command not found

Again, I DO NOT HAVE PIP or BREW or anything else, its apt-get and there is no package for pip in the repository.

So unless its available as a .deb, there is no way of getting it on this system.

I have this problem a lot, people just can't get it into their heads that there is a problem with some *nix installs, this is one of those and I can tell you that others with this *nix install do not have the same issues.

I have complained to the distro authors about this issue and their response was to ban me from being able to seek help with or get help from the community because in their tiny headspace, they can't believe that their beloved distro is or has a serious flaw. They flaty refused to help and they still couldn't tell me why I have programs start up by themselves at boot when there is no start up option to run programs. I have looked and there is no start function to run programs on login automatically but still it auto runs the Nomad program every time I boot up.

I find the whole linux community on whole very hostile and unforgiving and instead of taking onboard the issues and that I CAN'T DO certain things, I have things that I can't install because MAKE and MAKEFILE crashes on run.

If you had my PC for a day you'd very quickly appreciate why I am stuck.

@CodeKraft commented on GitHub (Jul 1, 2023): > @CodeKraft python is telling you that setuptools is missing and Stackoverflow [Python 3: ImportError "No Module named Setuptools"](https://stackoverflow.com/questions/14426491/python-3-importerror-no-module-named-setuptools) explains how to install it. Try > > ``` > pip install -U pip setuptools > ``` > > Then try again > > ``` > pip3 install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz > ``` `pip install -U pip setuptools bash: pip: command not found` Again, I DO NOT HAVE PIP or BREW or anything else, its apt-get and there is no package for pip in the repository. So unless its available as a .deb, there is no way of getting it on this system. I have this problem a lot, people just can't get it into their heads that there is a problem with some *nix installs, this is one of those and I can tell you that others with this *nix install do not have the same issues. I have complained to the distro authors about this issue and their response was to ban me from being able to seek help with or get help from the community because in their tiny headspace, they can't believe that their beloved distro is or has a serious flaw. They flaty refused to help and they still couldn't tell me why I have programs start up by themselves at boot when there is no start up option to run programs. I have looked and there is no start function to run programs on login automatically but still it auto runs the Nomad program every time I boot up. I find the whole linux community on whole very hostile and unforgiving and instead of taking onboard the issues and that I CAN'T DO certain things, I have things that I can't install because MAKE and MAKEFILE crashes on run. If you had my PC for a day you'd very quickly appreciate why I am stuck.
Author
Owner

@dirkf commented on GitHub (Jul 1, 2023):

At last a post with an actual log that is not spam. You still didn't explain how your yt-dl was installed, as asked.

The log makes clear that this is false:

Again, I DO NOT HAVE PIP ...

The problem is that your pip is called pip3, so you could try the command to install setuptools again with that modification (which was actually the command posted for you to try). The recommended procedure is to use python -m pip instead of pip, where python is how you invoke Python on the system, to avoid this confusion.

If, or as, pip doesn't work for you, use the last resort procedure as suggested several times: ie, uninstall any yt-dl you have and download a single file unofficial nightly build for Linux instead. The instructions for an official build "To install it right away for all UNIX users ..." apply, but change the URL to match the nightly build. You don't need to just "make" to build youtube-dl in this case, but you might need to ensure that you have a program named python and not just python3.

We can assume good faith when you say you have tried everything

Like @HinTak, I'm not so sure. This user has repeatedly failed to follow instructions that would have enabled others to assist, instead relentlessly and cluelessly spamming issues. And apparently at MX Linux, too.

... the pip install from master.tar.gz should be suggested at the very top

As illustrated by this case, pip isn't the right answer for many users. That's why the instructions ask the user what sort of yt-dl installation is being updated and suggest the best solution for each case. I'm sure I've explained this before.

... Pip is available to you for sure since you have python.

It should be, in MX Linux, which is a (very good) Debian derivative. But apparently "not".

@dirkf commented on GitHub (Jul 1, 2023): At last a post with an actual log that is not spam. You still didn't explain how your yt-dl was installed, as asked. The log makes clear that this is false: >Again, I DO NOT HAVE PIP ... The problem is that your _pip_ is called `pip3`, so you could try the command to install setuptools again with that modification (which was actually the command posted for you to try). The recommended procedure is to use `python -m pip` instead of `pip`, where `python` is how you invoke _Python_ on the system, to avoid this confusion. If, or as, _pip_ doesn't work for you, use the [**last resort procedure**](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1520185289) as suggested **several** times: ie, uninstall any yt-dl you have and download a single file unofficial nightly build for Linux instead. The [instructions for an official build](https://github.com/ytdl-org/youtube-dl#user-content-installation) "To install it right away for all UNIX users ..." apply, but change the URL to match the nightly build. You don't need to `just "make" to build youtube-dl` in this case, but you might need to ensure that you have a program named `python` and not just `python3`. >We can assume good faith when you say you have tried everything Like @HinTak, I'm not so sure. This user has repeatedly failed to follow instructions that would have enabled others to assist, instead relentlessly and cluelessly spamming issues. And apparently at MX Linux, too. >... the pip install from master.tar.gz should be suggested at the very top As illustrated by this case, _pip_ isn't the right answer for many users. That's why [the instructions ask the user what sort of yt-dl installation is being updated and suggest the best solution for each case](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611). I'm sure I've explained this before. >... Pip is available to you for sure since you have python. It should be, in MX Linux, which is a (very good) Debian derivative. But apparently "not".
Author
Owner

@udippel commented on GitHub (Jul 1, 2023):

I hope I may ask a question on this, despite this being a branch?
Originally, I had come here for the Error, uploader id. With the help of some nice people here, I could get it solved.
Recently, when calling this utility, I do get
WARNING: [youtube] Unable to decode n-parameter: download likely to be throttled (Unable to extract Initial JS player n function alias (Nsa[0]); please report this issue on https://yt-dl.org/bug .
The download goes through.
Has this been addressed - Should I try another update?

Thanks in advance,

Uwe

@udippel commented on GitHub (Jul 1, 2023): I hope I may ask a question on this, despite this being a branch? Originally, I had come here for the Error, uploader id. With the help of some nice people here, I could get it solved. Recently, when calling this utility, I do get `WARNING: [youtube] Unable to decode n-parameter: download likely to be throttled (Unable to extract Initial JS player n function alias (Nsa[0]); please report this issue on https://yt-dl.org/bug .` The download goes through. Has this been addressed - Should I try another update? Thanks in advance, Uwe
Author
Owner

@CodeKraft commented on GitHub (Jul 1, 2023):

Thanks but it didn't work
pip3 install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. To avoid this problem you can invoke Python with '-m pip' instead of running pip directly. DEPRECATION: Python 3.5 reached the end of its life on September 13th, 2020. Please upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will drop support for Python 3.5 in January 2021. pip 21.0 will remove support for this functionality. Defaulting to user installation because normal site-packages is not writeable Collecting https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz Using cached https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz Using legacy 'setup.py install' for youtube-dl, since package 'wheel' is not installed. Installing collected packages: youtube-dl Running setup.py install for youtube-dl ... done Successfully installed youtube-dl-2021.12.17 mark@mx1:~ $ youtube-dl -f m4a -o "/media/mark/New Volume1/Videos/%(title)s.%(ext)s" -i https://www.youtube.com/watch?v=ZFB1UOL1yBw [youtube] ZFB1UOL1yBw: Downloading webpage [youtube] ZFB1UOL1yBw: 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; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
I have tried everything as suggested and still nothing is working.

I say again, there needs to be a .deb installer package to change the python script that is faulty. if the mod watched the video posted by the user that commented out the faulty line in the script, they might just see how quick it is for a new python script to replace the faulty script on systems like mine that are problematic.

My experience of linux users is pretty much on the receiving end of hostile and dismissive remarks with little to no help, in fact you could liken the response to being like that of a bunch of snobs who snear and laugh at people who struggle to fix things on their system rather than explaining the steps, take dirk or whatever his username is, three times they have pointed to a comment that is very unhelpful and is typical of linux users attitudes.

Not all users of linux can follow commandlines, I can use commandlines but even then need some assistance from time to time and this is one of those issues that isn't being resolved because I need help with fixing something that should really be available in a .deb package because the repositories are no available on this linux setup... as demonstrated several times already.

@CodeKraft commented on GitHub (Jul 1, 2023): Thanks but it didn't work ` pip3 install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. To avoid this problem you can invoke Python with '-m pip' instead of running pip directly. DEPRECATION: Python 3.5 reached the end of its life on September 13th, 2020. Please upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will drop support for Python 3.5 in January 2021. pip 21.0 will remove support for this functionality. Defaulting to user installation because normal site-packages is not writeable Collecting https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz Using cached https://github.com/ytdl-org/youtube-dl/archive/refs/heads/master.tar.gz Using legacy 'setup.py install' for youtube-dl, since package 'wheel' is not installed. Installing collected packages: youtube-dl Running setup.py install for youtube-dl ... done Successfully installed youtube-dl-2021.12.17 mark@mx1:~ $ youtube-dl -f m4a -o "/media/mark/New Volume1/Videos/%(title)s.%(ext)s" -i https://www.youtube.com/watch?v=ZFB1UOL1yBw [youtube] ZFB1UOL1yBw: Downloading webpage [youtube] ZFB1UOL1yBw: 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; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. ` I have tried everything as suggested and still nothing is working. I say again, there needs to be a .deb installer package to change the python script that is faulty. if the mod watched the video posted by the user that commented out the faulty line in the script, they might just see how quick it is for a new python script to replace the faulty script on systems like mine that are problematic. My experience of linux users is pretty much on the receiving end of hostile and dismissive remarks with little to no help, in fact you could liken the response to being like that of a bunch of snobs who snear and laugh at people who struggle to fix things on their system rather than explaining the steps, take dirk or whatever his username is, three times they have pointed to a comment that is very unhelpful and is typical of linux users attitudes. Not all users of linux can follow commandlines, I can use commandlines but even then need some assistance from time to time and this is one of those issues that isn't being resolved because I need help with fixing something that should really be available in a .deb package because the repositories are no available on this linux setup... as demonstrated several times already.
Author
Owner

@CodeKraft commented on GitHub (Jul 1, 2023):

At last a post with an actual log that is not spam. You still didn't explain how your yt-dl was installed, as asked.

The log makes clear that this is false:

Again, I DO NOT HAVE PIP ...

The problem is that your pip is called pip3, so you could try the command to install setuptools again with that modification (which was actually the command posted for you to try). The recommended procedure is to use python -m pip instead of pip, where python is how you invoke Python on the system, to avoid this confusion.

If, or as, pip doesn't work for you, use the last resort procedure as suggested several times: ie, uninstall any yt-dl you have and download a single file unofficial nightly build for Linux instead. The instructions for an official build "To install it right away for all UNIX users ..." apply, but change the URL to match the nightly build. You don't need to just "make" to build youtube-dl in this case, but you might need to ensure that you have a program named python and not just python3.

We can assume good faith when you say you have tried everything

Like @HinTak, I'm not so sure. This user has repeatedly failed to follow instructions that would have enabled others to assist, instead relentlessly and cluelessly spamming issues. And apparently at MX Linux, too.

... the pip install from master.tar.gz should be suggested at the very top

As illustrated by this case, pip isn't the right answer for many users. That's why the instructions ask the user what sort of yt-dl installation is being updated and suggest the best solution for each case. I'm sure I've explained this before.

... Pip is available to you for sure since you have python.

It should be, in MX Linux, which is a (very good) Debian derivative. But apparently not.

How many times do I have to repeat myself... MAKE and MAKEFILE do not exist on this install and when supplied, they crash... bangs head against keyboard for having to repeat themselves again

@CodeKraft commented on GitHub (Jul 1, 2023): > At last a post with an actual log that is not spam. You still didn't explain how your yt-dl was installed, as asked. > > The log makes clear that this is false: > > > Again, I DO NOT HAVE PIP ... > > The problem is that your _pip_ is called `pip3`, so you could try the command to install setuptools again with that modification (which was actually the command posted for you to try). The recommended procedure is to use `python -m pip` instead of `pip`, where `python` is how you invoke _Python_ on the system, to avoid this confusion. > > If, or as, _pip_ doesn't work for you, use the [**last resort procedure**](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1520185289) as suggested **several** times: ie, uninstall any yt-dl you have and download a single file unofficial nightly build for Linux instead. The [instructions for an official build](https://github.com/ytdl-org/youtube-dl#user-content-installation) "To install it right away for all UNIX users ..." apply, but change the URL to match the nightly build. You don't need to `just "make" to build youtube-dl` in this case, but you might need to ensure that you have a program named `python` and not just `python3`. > > > We can assume good faith when you say you have tried everything > > Like @HinTak, I'm not so sure. This user has repeatedly failed to follow instructions that would have enabled others to assist, instead relentlessly and cluelessly spamming issues. And apparently at MX Linux, too. > > > ... the pip install from master.tar.gz should be suggested at the very top > > As illustrated by this case, _pip_ isn't the right answer for many users. That's why [the instructions ask the user what sort of yt-dl installation is being updated and suggest the best solution for each case](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611). I'm sure I've explained this before. > > > ... Pip is available to you for sure since you have python. > > It should be, in MX Linux, which is a (very good) Debian derivative. But apparently not. How many times do I have to repeat myself... MAKE and MAKEFILE do not exist on this install and when supplied, they crash... *bangs head against keyboard for having to repeat themselves again*
Author
Owner

@dirkf commented on GitHub (Jul 1, 2023):

@CodeKraft: just some more moronic suggestions to help you:

  • try python3.5 -m youtube_dl instead of youtube-dl in your test command (NB _ vs -)
  • post the output of which youtube-dl; ls -l "$(which youtube-dl)"
  • HOW DID YOU ORIGINALLY INSTALL THE PROGRAM?

@udippel, the issue #32346 was fixed before it was reported, but the unofficial nightly builds may not have synced the required update.

@dirkf commented on GitHub (Jul 1, 2023): @CodeKraft: just some more moronic suggestions to help you: * try `python3.5 -m youtube_dl` instead of `youtube-dl` in your test command (NB `_` vs `-`) * post the output of `which youtube-dl; ls -l "$(which youtube-dl)"` * **HOW DID YOU ORIGINALLY INSTALL THE PROGRAM**? @udippel, the issue #32346 was fixed before it was reported, but the unofficial nightly builds may not have synced the required update.
Author
Owner

@udippel commented on GitHub (Jul 1, 2023):

@dirkf:

the issue #32346 was fixed before it was reported, but the unofficial nightly builds may not have synced the required update.

pip install --force-reinstall git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl
did the job. --force-reinstall was necessary.
Thanks a bunch!

@udippel commented on GitHub (Jul 1, 2023): @dirkf: > the issue #32346 was fixed before it was reported, but the unofficial nightly builds may not have synced the required update. `pip install --force-reinstall git+https://github.com/ytdl-org/youtube-dl.git@master#egg=youtube_dl` did the job. `--force-reinstall` was necessary. Thanks a bunch!
Author
Owner

@CodeKraft commented on GitHub (Jul 1, 2023):

@CodeKraft: just some more moronic suggestions to help you:

  • try python3.5 -m youtube_dl instead of youtube-dl in your test command (NB _ vs -)
  • post the output of which youtube-dl; ls -l "$(which youtube-dl)"
  • HOW DID YOU ORIGINALLY INSTALL THE PROGRAM?

@udippel, the issue #32346 was fixed before it was reported, but the unofficial nightly builds may not have synced the required update.

Originally I installed via the commandline sudo apt-get install youtube-dl

after invoking the suggested pip option the output I get now is
youtube-dl -f m4a -o "/media/mark/New Volume1/Videos/%(title)s.%(ext)s" -i https://www.youtube.com/watch?v=ZFB1UOL1yBw --verbose [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'-f', u'm4a', u'-o', u'/media/mark/New Volume1/Videos/%(title)s.%(ext)s', u'-i', u'https://www.youtube.com/watch?v=ZFB1UOL1yBw', u'--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 2.7.13 (CPython) - Linux-4.13.0-1-amd64-x86_64-with-MX-18.3-Continuum [debug] exe versions: avconv 3.3.4-1mx17, avprobe 3.3.4-1mx17, ffmpeg 3.3.4-1mx17, ffprobe 3.3.4-1mx17, rtmpdump 2.4 [debug] Proxy map: {} [youtube] ZFB1UOL1yBw: Downloading webpage [youtube] ZFB1UOL1yBw: 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; 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.

when I tried the suggested python3 -m youtube-dl I get the error python3 -m youtube-dl /usr/bin/python3: No module named youtube-dl yet I do have youtube-dl

sudo apt-get youtube-dl [sudo] password for ****: Reading state information... Done youtube-dl is already the newest version (1:2021.06.06-0.1~mx17+1). 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

@CodeKraft commented on GitHub (Jul 1, 2023): > @CodeKraft: just some more moronic suggestions to help you: > > * try `python3.5 -m youtube_dl` instead of `youtube-dl` in your test command (NB `_` vs `-`) > * post the output of `which youtube-dl; ls -l "$(which youtube-dl)"` > * **HOW DID YOU ORIGINALLY INSTALL THE PROGRAM**? > > @udippel, the issue #32346 was fixed before it was reported, but the unofficial nightly builds may not have synced the required update. Originally I installed via the commandline `sudo apt-get install youtube-dl` after invoking the suggested `pip` option the output I get now is `youtube-dl -f m4a -o "/media/mark/New Volume1/Videos/%(title)s.%(ext)s" -i https://www.youtube.com/watch?v=ZFB1UOL1yBw --verbose [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'-f', u'm4a', u'-o', u'/media/mark/New Volume1/Videos/%(title)s.%(ext)s', u'-i', u'https://www.youtube.com/watch?v=ZFB1UOL1yBw', u'--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 2.7.13 (CPython) - Linux-4.13.0-1-amd64-x86_64-with-MX-18.3-Continuum [debug] exe versions: avconv 3.3.4-1mx17, avprobe 3.3.4-1mx17, ffmpeg 3.3.4-1mx17, ffprobe 3.3.4-1mx17, rtmpdump 2.4 [debug] Proxy map: {} [youtube] ZFB1UOL1yBw: Downloading webpage [youtube] ZFB1UOL1yBw: 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; 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.` when I tried the suggested `python3 -m youtube-dl` I get the error `python3 -m youtube-dl /usr/bin/python3: No module named youtube-dl` yet I do have youtube-dl `sudo apt-get youtube-dl [sudo] password for ****: Reading state information... Done youtube-dl is already the newest version (1:2021.06.06-0.1~mx17+1). 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.`
Author
Owner

@dirkf commented on GitHub (Jul 1, 2023):

Now we're getting somewhere...

... when I tried the suggested python3 -m youtube-dl I get the error python3 -m youtube-dl /usr/bin/python3: No module named youtube-dl yet I do have youtube-dl

Put your glasses on FFS:

  • try python3.5 -m youtube_dl instead of youtube-dl in your test command (NB _ vs -)

Also, please:

  • post the output of which youtube-dl; ls -l "$(which youtube-dl)"
@dirkf commented on GitHub (Jul 1, 2023): Now we're getting somewhere... >... when I tried the suggested python3 -m youtube-dl I get the error python3 -m youtube-dl /usr/bin/python3: No module named youtube-dl yet I do have youtube-dl Put your glasses on FFS: >* try `python3.5 -m youtube_dl` instead of `youtube-dl` in your test command (**NB _ vs -**) Also, please: >* post the output of `which youtube-dl; ls -l "$(which youtube-dl)"`
Author
Owner

@symbolicEmm commented on GitHub (Jul 1, 2023):

yt-dlp install script is available on SlackBuilds.org for SlackwareOS users like myself.
Thank you zat guy for your fortitude, patience, politic and diplomacy. Yet I am pleased to unsubscribe at this time.
So so glad to have mpv running smoothly once again.

@symbolicEmm commented on GitHub (Jul 1, 2023): yt-dlp install script is available on SlackBuilds.org for SlackwareOS users like myself. Thank you **zat guy** for your fortitude, patience, politic and diplomacy. Yet I am pleased to unsubscribe at this time. So so glad to have mpv running smoothly once again.
Author
Owner

@HinTak commented on GitHub (Jul 1, 2023):

... [debug] youtube-dl version 2021.12.17 [debug] Python version 2.7.13 (CPython) - Linux-4.13.0-1-amd64-x86_64-with-MX-18.3-Continuum

These two are some of the major sources of problems - python 2 was end of life in Jan 2020. Kernel 4.19 was a LTS kernel and it was already considered too old in 2020 - current is 6.4.x. It is not just a "Linux MX" system, but an extremely old, outdated and no-longer-supported/updated Linux MX system. (Besides all of problems between the chair and the keyboard...).

I already switched off notifications and block this guy. Really contemplating unsubscribing myself, just to stop reading others trying to "help" him.

@HinTak commented on GitHub (Jul 1, 2023): > ... [debug] youtube-dl version 2021.12.17 [debug] Python version 2.7.13 (CPython) - Linux-4.13.0-1-amd64-x86_64-with-MX-18.3-Continuum These two are some of the major sources of problems - python 2 was end of life in Jan 2020. Kernel 4.19 was a LTS kernel and it was already considered too old in 2020 - current is 6.4.x. It is not just a "Linux MX" system, but an extremely old, outdated and no-longer-supported/updated Linux MX system. (Besides all of problems between the chair and the keyboard...). I already switched off notifications and block this guy. Really contemplating unsubscribing myself, just to stop reading others trying to "help" him.
Author
Owner

@CodeKraft commented on GitHub (Jul 2, 2023):

... [debug] youtube-dl version 2021.12.17 [debug] Python version 2.7.13 (CPython) - Linux-4.13.0-1-amd64-x86_64-with-MX-18.3-Continuum

These two are some of the major sources of problems - python 2 was end of life in Jan 2020. Kernel 4.19 was a LTS kernel and it was already considered too old in 2020 - current is 6.4.x. It is not just a "Linux MX" system, but an extremely old, outdated and no-longer-supported/updated Linux MX system. (Besides all of problems between the chair and the keyboard...).

I already switched off notifications and block this guy. Really contemplating unsubscribing myself, just to stop reading others trying to "help" him.

If you are referring to me, then I updated python as well as youtube-dl reinstalled but still this version is what is installed, version 2.7.13

So the issue isn't me being out of date, the issue is that all the methods suggested, including pip, keep on installing that version.

@CodeKraft commented on GitHub (Jul 2, 2023): > > ... [debug] youtube-dl version 2021.12.17 [debug] Python version 2.7.13 (CPython) - Linux-4.13.0-1-amd64-x86_64-with-MX-18.3-Continuum > > These two are some of the major sources of problems - python 2 was end of life in Jan 2020. Kernel 4.19 was a LTS kernel and it was already considered too old in 2020 - current is 6.4.x. It is not just a "Linux MX" system, but an extremely old, outdated and no-longer-supported/updated Linux MX system. (Besides all of problems between the chair and the keyboard...). > > I already switched off notifications and block this guy. Really contemplating unsubscribing myself, just to stop reading others trying to "help" him. If you are referring to me, then I updated python as well as youtube-dl reinstalled but still this version is what is installed, version 2.7.13 So the issue isn't me being out of date, the issue is that all the methods suggested, including pip, keep on installing that version.
Author
Owner

@CodeKraft commented on GitHub (Jul 2, 2023):

  • python3.5 -m youtube_dl

Finally, why couldn't you just give an example like
python3.5 -m youtube_dl -f m4a -o "/media/mark/New Volume/Videos/%(title)s.%(ext)s" -i https://www.youtube.com/watch?v=ZFB1UOL1yBw [youtube] ZFB1UOL1yBw: Downloading webpage [youtube] ZFB1UOL1yBw: Downloading MPD manifest [dashsegments] Total fragments: 1 [download] Destination: /media/mark/New Volume/Videos/Devastation - I Feel Love (Rave Devastation).m4a [download] 100% of 6.09MiB in 00:02 [ffmpeg] Correcting container in "/media/mark/New Volume/Videos/Devastation - I Feel Love (Rave Devastation).m4a"

@CodeKraft commented on GitHub (Jul 2, 2023): > * python3.5 -m youtube_dl Finally, why couldn't you just give an example like `python3.5 -m youtube_dl -f m4a -o "/media/mark/New Volume/Videos/%(title)s.%(ext)s" -i https://www.youtube.com/watch?v=ZFB1UOL1yBw [youtube] ZFB1UOL1yBw: Downloading webpage [youtube] ZFB1UOL1yBw: Downloading MPD manifest [dashsegments] Total fragments: 1 [download] Destination: /media/mark/New Volume/Videos/Devastation - I Feel Love (Rave Devastation).m4a [download] 100% of 6.09MiB in 00:02 [ffmpeg] Correcting container in "/media/mark/New Volume/Videos/Devastation - I Feel Love (Rave Devastation).m4a"`
Author
Owner

@dirkf commented on GitHub (Jul 2, 2023):

So now the problem is clear:

  • @CodeKraft's MX Linux (Debian derivative) system isn't bang up-to-date, but that's fine (or this would be the yt-dlp project)
  • the apt package manager is working with Python 2.7 and installed yt-dl in the Py 2.7 module library
  • Debian packaging removes the installation step for Python where it also installs pip, so there is no pip command unless you install python-pip (or python3-pip)
  • the system also has Python 3.5 (actually, this is looking very familiar to me)
  • contrary to the recommendation in the post about updating with pip, the attempted updates did not use the formula python -m pip ... where, in this case, python should have been python (the Python 2 relative to which apt installed yt-dl) and not python3 -- I've clarified the recommendation
  • the updated yt-dl was installed relative to Python 3.5
  • somewhere (possibly /usr/bin/youtube-dl, but we haven't been shown the result of which youtube-dl) there is a legacy executable script youtube-dl that invokes the Py 2.7 module
  • this was running even though yt-dl was thought to have been updated.

The legacy script needs to be replaced (almost certainly using admin, and it must be marked as executable) so that running youtube-dl invokes the right version. This is what apt put on my system:

#!/usr/bin/python3
__requires__ = 'youtube-dl==2021.12.17'
import sys
from pkg_resources import load_entry_point

if __name__ == '__main__':
    sys.exit(
        load_entry_point('youtube-dl==2021.12.17', 'console_scripts', 'youtube-dl')()
    )

Or, as suggested many times:

  • uninstall all the yt-dl instances (apt, pip3)
  • download an unofficial (now) nightly build for Linux.

@St897, review the above and/or read the updated instructions. You are updating the wrong yt-dl or from the wrong source.

Similarly, @infinitejesp, uninstall or remove any existing yt-dl and install the appropriate nightly build for your platform.

@viebrix, please open a new issue for your nightly build problem with a full log, though sudo python3.10 -m pip install --force-reinstall ... should have updated your broken version.

@dirkf commented on GitHub (Jul 2, 2023): So now the problem is clear: * @CodeKraft's MX Linux (Debian derivative) system isn't bang up-to-date, but that's fine (or this would be the yt-dlp project) * the _apt_ package manager is working with Python 2.7 and installed yt-dl in the Py 2.7 module library * Debian packaging removes the installation step for Python where it also installs _pip_, so there is no `pip` command unless you install `python-pip` (or `python3-pip`) * the system also has Python 3.5 (actually, this is looking very familiar to me) * contrary to the recommendation in the [post about updating with _pip_](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435477247), the attempted updates did not use the formula `python -m pip ...` where, in this case, `python` should have been `python` (the Python 2 relative to which _apt_ installed yt-dl) and not `python3` -- I've clarified the recommendation * the updated yt-dl was installed relative to Python 3.5 * somewhere (possibly `/usr/bin/youtube-dl`, but we haven't been shown the result of `which youtube-dl`) there is a legacy executable script `youtube-dl` that invokes the Py 2.7 module * this was running even though yt-dl was thought to have been updated. The legacy script needs to be replaced (almost certainly using admin, and it must be marked as executable) so that running `youtube-dl` invokes the right version. This is what _apt_ put on my system: ```sh #!/usr/bin/python3 __requires__ = 'youtube-dl==2021.12.17' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('youtube-dl==2021.12.17', 'console_scripts', 'youtube-dl')() ) ``` Or, as suggested many times: * uninstall all the yt-dl instances (_apt_, _pip3_) * download an <strike>un</strike>official (now) nightly build for Linux. @St897, review the above and/or read the updated instructions. You are updating the wrong yt-dl or from the wrong source. Similarly, @infinitejesp, uninstall or remove any existing yt-dl and [install the appropriate nightly build for your platform](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611). @viebrix, please open a new issue for your nightly build problem with a full log, though `sudo python3.10 -m pip install --force-reinstall ...` should have updated your broken version.
Author
Owner

@sudo-dax commented on GitHub (Jul 5, 2023):

I'm on Debian
I have the latest version of youtube-dl
I have python3
I have the same problem, no matter what video I get the same error:

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best', '-v', 'https://www.youtube.com/watch?v=LWcdSyyppHI']
[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.2 (CPython) - Linux-6.1.0-kali9-amd64-x86_64-with-glibc2.36
[debug] exe versions: ffmpeg 5.1.3-1, ffprobe 5.1.3-1
[debug] Proxy map: {}
[youtube] LWcdSyyppHI: 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 "/usr/local/lib/python3.11/dist-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
                ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-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 "/usr/local/lib/python3.11/dist-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.``` 
@sudo-dax commented on GitHub (Jul 5, 2023): I'm on Debian I have the latest version of youtube-dl I have python3 I have the same problem, no matter what video I get the same error: ``` [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-f', 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best', '-v', 'https://www.youtube.com/watch?v=LWcdSyyppHI'] [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.2 (CPython) - Linux-6.1.0-kali9-amd64-x86_64-with-glibc2.36 [debug] exe versions: ffmpeg 5.1.3-1, ffprobe 5.1.3-1 [debug] Proxy map: {} [youtube] LWcdSyyppHI: 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 "/usr/local/lib/python3.11/dist-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) ^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-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 "/usr/local/lib/python3.11/dist-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.```
Author
Owner

@St897 commented on GitHub (Jul 6, 2023):

For what it is worth:
using debian version, using the latest release here or using the curl way, they all result in the same issue:

youtube-dl --version
2021.12.17

youtube-dl --verbose --list-subs https://www.youtube.com/watch?v=QArg43rCMBA
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--list-subs', 'https://www.youtube.com/watch?v=QArg43rCMBA']
[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.10.0-23-amd64-x86_64-with-glibc2.31
[debug] exe versions: ffmpeg 4.3.6-0, ffprobe 4.3.6-0, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] QArg43rCMBA: 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/user/bin/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/home/user/bin/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/home/userl/bin/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/home/user/bin/youtube-dl/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/user/bin/youtube-dl/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.

although it is a binary release, just adding

python --version
Python 3.9.2
@St897 commented on GitHub (Jul 6, 2023): For what it is worth: using debian version, using the latest release here or using the curl way, they all result in the same issue: ``` youtube-dl --version 2021.12.17 ``` ``` youtube-dl --verbose --list-subs https://www.youtube.com/watch?v=QArg43rCMBA [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', '--list-subs', 'https://www.youtube.com/watch?v=QArg43rCMBA'] [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.10.0-23-amd64-x86_64-with-glibc2.31 [debug] exe versions: ffmpeg 4.3.6-0, ffprobe 4.3.6-0, rtmpdump 2.4 [debug] Proxy map: {} [youtube] QArg43rCMBA: 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/user/bin/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/home/user/bin/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/home/userl/bin/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/home/user/bin/youtube-dl/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/user/bin/youtube-dl/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. ``` although it is a binary release, just adding ``` python --version Python 3.9.2 ```
Author
Owner

@udippel commented on GitHub (Jul 6, 2023):

Debian, that's close to *buntu. I wrote some comments on HowTo on *buntu.
Read #31530 before.

@udippel commented on GitHub (Jul 6, 2023): Debian, that's close to *buntu. I wrote some comments on HowTo on *buntu. Read #31530 before.
Author
Owner

@phazon0 commented on GitHub (Jul 9, 2023):

I found a fix, literally just use yt-dlp. (It actually works)

@phazon0 commented on GitHub (Jul 9, 2023): I found a fix, literally just use yt-dlp. (It actually works)
Author
Owner

@zamus1 commented on GitHub (Jul 13, 2023):

#Unable to extract uploader id;

I'm having this issue right now.

I'm using the latest version:

youtube-dl --version
2021.12.17

youtube-dl 'https://www.youtube.com/watch?v=C0DPdy98e4c' -o 'output.mp4' -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.youtube.com/watch?v=C0DPdy98e4c', '-o', 'output.mp4', '-v']
[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-4.15.0-191-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 4.3-2, ffprobe 4.3-2, phantomjs ., rtmpdump 2.4
[debug] Proxy map: {}
[youtube] C0DPdy98e4c: 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.

@zamus1 commented on GitHub (Jul 13, 2023): #Unable to extract uploader id; I'm having this issue right now. I'm using the latest version: youtube-dl --version 2021.12.17 youtube-dl 'https://www.youtube.com/watch?v=C0DPdy98e4c' -o 'output.mp4' -v [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['https://www.youtube.com/watch?v=C0DPdy98e4c', '-o', 'output.mp4', '-v'] [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-4.15.0-191-generic-x86_64-with-Ubuntu-18.04-bionic [debug] exe versions: ffmpeg 4.3-2, ffprobe 4.3-2, phantomjs ., rtmpdump 2.4 [debug] Proxy map: {} [youtube] C0DPdy98e4c: 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.
Author
Owner

@Celiian commented on GitHub (Jul 16, 2023):

Hey i am completely lost, is there a way to fix the problem ??

@Celiian commented on GitHub (Jul 16, 2023): Hey i am completely lost, is there a way to fix the problem ??
Author
Owner

@zamus1 commented on GitHub (Jul 16, 2023):

Hey i am completely lost, is there a way to fix the problem ??

Hey @Celiian while they fix this, I had to install yt-dlp fork... it works.

@zamus1 commented on GitHub (Jul 16, 2023): > Hey i am completely lost, is there a way to fix the problem ?? Hey @Celiian while they fix this, I had to install yt-dlp fork... it works.
Author
Owner

@Celiian commented on GitHub (Jul 16, 2023):

Hey i am completely lost, is there a way to fix the problem ??

Hey @Celiian while they fix this, I had to install yt-dlp fork... it works.

Yeah i just did it and no error but whatever i do i cannot hear the bot playing the song, i double checked everything so im kinda lost lol

@Celiian commented on GitHub (Jul 16, 2023): > > Hey i am completely lost, is there a way to fix the problem ?? > > Hey @Celiian while they fix this, I had to install yt-dlp fork... it works. Yeah i just did it and no error but whatever i do i cannot hear the bot playing the song, i double checked everything so im kinda lost lol
Author
Owner

@ghost commented on GitHub (Jul 16, 2023):

Are these the recommended steps to remove the issue associated with "ERROR: Unable to extract uploader id; " ?

  • uninstall all the yt-dl instances (apt, pip3)
  • download an unofficial (now) nightly build for Linux.
@ghost commented on GitHub (Jul 16, 2023): Are these the recommended steps to remove the issue associated with "ERROR: Unable to extract uploader id; " ? - uninstall all the yt-dl instances (apt, pip3) - download an unofficial (now) nightly build for Linux.
Author
Owner

@SarenT commented on GitHub (Jul 18, 2023):

download an unofficial (now) nightly build for Linux.

It is unclear, where to find the official nightly builds. https://ytdl-org.github.io/youtube-dl/download.html

@SarenT commented on GitHub (Jul 18, 2023): > download an unofficial (now) nightly build for Linux. It is unclear, where to find the official nightly builds. https://ytdl-org.github.io/youtube-dl/download.html
Author
Owner

@dirkf commented on GitHub (Jul 18, 2023):

@SarenT commented on Jul 18, 2023

download an unofficial (now) nightly build for Linux.

It is unclear, where to find the official nightly builds. https://ytdl-org.github.io/youtube-dl/download.html

But you're here, and the nightly page is actually linked in the quoted text, as you saw, as well as at the top of the tldr; post linked from the Description (and now in #30839).

@dirkf commented on GitHub (Jul 18, 2023): @SarenT commented on Jul 18, 2023 >> download an unofficial (now) nightly build for Linux. >It is unclear, where to find the official nightly builds. https://ytdl-org.github.io/youtube-dl/download.html But you're here, and the nightly page is actually linked in the quoted text, as you saw, as well as at the top of the `tldr;` post linked from the Description (and now in #30839).
Author
Owner

@SarenT commented on GitHub (Jul 18, 2023):

@SarenT commented on Jul 18, 2023

download an unofficial (now) nightly build for Linux.

It is unclear, where to find the official nightly builds. https://ytdl-org.github.io/youtube-dl/download.html

But you're here, and the nightly page is actually linked in the quoted text, as you saw, as well as at the top of the tldr; post linked from the Description (and now in #30839).

In this page there are many hidden comments. I quickly searched for "release" and "nightly" but did not find. It is my bad actually, I should have read carefully but there were too many messages. Releases page on the repo page leads to older releases.

@SarenT commented on GitHub (Jul 18, 2023): > @SarenT commented on Jul 18, 2023 > > > > download an unofficial (now) nightly build for Linux. > > > It is unclear, where to find the official nightly builds. https://ytdl-org.github.io/youtube-dl/download.html > > But you're here, and the nightly page is actually linked in the quoted text, as you saw, as well as at the top of the `tldr;` post linked from the Description (and now in #30839). In this page there are many hidden comments. I quickly searched for "release" and "nightly" but did not find. It is my bad actually, I should have read carefully but there were too many messages. Releases page on the repo page leads to older releases.
Author
Owner

@NelsonScott commented on GitHub (Jul 22, 2023):

Minor thing for anyone else trying to upgrade their brew package, you cant provide that arg to upgrade, but you can do this:
brew uninstall youtube-dl
then brew install --HEAD youtube-dl

That solved my issue

@NelsonScott commented on GitHub (Jul 22, 2023): Minor thing for anyone else trying to upgrade their brew package, you cant provide that arg to upgrade, but you can do this: `brew uninstall youtube-dl` then `brew install --HEAD youtube-dl` That solved my issue
Author
Owner

@phazon0 commented on GitHub (Jul 24, 2023):

Im on windows and still have this issue

tldr; (and who can blame you?)
Updating with -U won't work until there is a new release. However, there is now a nightly build of youtube-dl in our repo here: https://github.com/ytdl-org/ytdl-nightly/releases. You can install this in the same ways as described in the manual, but change the URL for the download to match the appropriate one on the nightly release page (yes, it may say "daily"!). This is the way to go if you want a single file executable build, or if other methods don't succeed. See my post below for a script, or use a package like python-is-python3, or make a symbolic link, if your environment is POSIX-like and you don't have a Python called python.
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 (but, eg, Ubuntu so far only has a PPA update; see below for brew). As suggested by @HinTak, you could also ask the packagers of yt-dl in your package or distro repository to update the package from the git master of this repo, though some prefer only release builds.
If you have a Python installation, use pip to install from the git master of this repo: #31530 (comment).
If your yt-dl was installed with a package manager that needed admin, the command to update the module will need the same.
If you installed with brew, brew can now update you to a patched version that doesn't crash, but is not the latest git master. You can also try the --HEAD option to update to the latest master code, similar to the pip-based suggestions.
Or you can try using yt-dlp instead if your environment supports it: https://github.com/yt-dlp/yt-dlp.
Obviously, if you've tried to update in one of these ways and the original issue persists, the update didn't work: you are still running the release version or a development version that doesn't include the fix. Please check exactly how your yt-dl was installed and update accordingly. It may be easiest just to uninstall it and install the appropriate single file nightly build instead.

Minor thing for anyone else trying to upgrade their brew package, you cant provide that arg to upgrade, but you can do this: brew uninstall youtube-dl then brew install --HEAD youtube-dl

That solved my issue

@phazon0 commented on GitHub (Jul 24, 2023): Im on windows and still have this issue > > tldr; (and who can blame you?) > > Updating with -U won't work until there is a [new release](https://github.com/ytdl-org/youtube-dl/issues/31585). However, there is now a nightly build of youtube-dl in our repo here: https://github.com/ytdl-org/ytdl-nightly/releases. You can install this in the same ways as [described in the manual](https://github.com/ytdl-org/youtube-dl#user-content-installation), but change the URL for the download to match the appropriate one on the nightly release page (yes, it may say "daily"!). This is the way to go if you want a single file executable build, or if other methods don't succeed. See [my post below](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1449990989) for a script, or use a package like _python-is-python3_, or make a symbolic link, if your environment is POSIX-like and you don't have a Python called `python`. > > 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 (but, eg, Ubuntu so far only has a [PPA update](https://launchpad.net/~forkotov02/+archive/ubuntu/ppa); see below for _brew_). As suggested by @HinTak, you could also ask the packagers of yt-dl in your package or distro repository to update the package from the git master of this repo, though some prefer only release builds. > > If you have a Python installation, use _pip_ to install from the git master of this repo: [#31530 (comment)](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435477247). > > If your yt-dl was installed with a package manager that needed admin, the command to update the module will need the same. > > If you installed with _brew_, _brew_ can [now update you](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1475065132) to a [patched version that doesn't crash, but is not the latest git master](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1475069872). You can also try the `--HEAD` option to update to the latest master code, similar to the _pip_-based suggestions. > > Or you can try using yt-dlp instead if your environment supports it: https://github.com/yt-dlp/yt-dlp. > > Obviously, if you've tried to update in one of these ways and the original issue persists, the update didn't work: you are still running the release version or a development version that doesn't include the fix. Please check exactly how your yt-dl was installed and update accordingly. It may be easiest just to uninstall it and install the appropriate single file nightly build instead. > > Minor thing for anyone else trying to upgrade their brew package, you cant provide that arg to upgrade, but you can do this: `brew uninstall youtube-dl` then `brew install --HEAD youtube-dl` > > That solved my issue
Author
Owner

@dirkf commented on GitHub (Jul 24, 2023):

Minor thing for anyone else trying to upgrade their brew package, you cant provide [the --HEAD] arg to upgrade, but you can do this:
brew uninstall youtube-dl
then brew install --HEAD youtube-dl

That solved my issue

Good to know, though I was hoping that people using brew would know how to use it, this not being a Homebrew support forum.

@dirkf commented on GitHub (Jul 24, 2023): >Minor thing for anyone else trying to upgrade their brew package, you cant provide [the `--HEAD`] arg to upgrade, but you can do this: `brew uninstall youtube-dl` then `brew install --HEAD youtube-dl` > >That solved my issue Good to know, though I was hoping that people using `brew` would know how to use it, this not being a Homebrew support forum.
Author
Owner

@NelsonScott commented on GitHub (Jul 24, 2023):

Minor thing for anyone else trying to upgrade their brew package, you cant provide [the --HEAD] arg to upgrade, but you can do this:
brew uninstall youtube-dl
then brew install --HEAD youtube-dl
That solved my issue

Good to know, though I was hoping that people using brew would know how to use it, this not being a Homebrew support forum.

Given that most people on mac will be using brew to install it, and that's one of the official methods in the youtube-dl readme, I think it should be clear to people who encounter this. Afterall if people cant install/use it, can't get any of the value from this repo (and its a great tool); I think it's not common knowledge to have to uninstall and then install using '--head' arg - I've never had to before.

@NelsonScott commented on GitHub (Jul 24, 2023): > > Minor thing for anyone else trying to upgrade their brew package, you cant provide [the `--HEAD`] arg to upgrade, but you can do this: > > `brew uninstall youtube-dl` > > then `brew install --HEAD youtube-dl` > > That solved my issue > > Good to know, though I was hoping that people using `brew` would know how to use it, this not being a Homebrew support forum. Given that most people on mac will be using brew to install it, and that's one of the official methods in the youtube-dl readme, I think it should be clear to people who encounter this. Afterall if people cant install/use it, can't get any of the value from this repo (and its a great tool); I think it's not common knowledge to have to uninstall and then install using '--head' arg - I've never had to before.
Author
Owner

@Shakthi-2406 commented on GitHub (Jul 25, 2023):

Do pip install youtube-dl==2020.12.2

@Shakthi-2406 commented on GitHub (Jul 25, 2023): Do pip install youtube-dl==2020.12.2
Author
Owner

@mAr3cKi commented on GitHub (Jul 28, 2023):

Hi,
working solution: copy /usr/lib/python3.11/site-packages/youtube_dl/extractor/youtube.py
cd /usr/lib/python3.11/site-packages/youtube_dl/extractor/youtube.py
open your editor / for example nvim

                 or search_meta('uploadDate')),
            'uploader': video_details['author'],
 --->      #'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
            'uploader_url': owner_profile_url,
            'channel_id': channel_id,

insert here #
save
Done :)

@mAr3cKi commented on GitHub (Jul 28, 2023): Hi, working solution: copy /usr/lib/python3.11/site-packages/youtube_dl/extractor/youtube.py cd /usr/lib/python3.11/site-packages/youtube_dl/extractor/youtube.py open your editor / for example nvim ``` or search_meta('uploadDate')), 'uploader': video_details['author'], ---> #'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None, 'uploader_url': owner_profile_url, 'channel_id': channel_id, ``` insert here # save Done :)
Author
Owner

@infinitejesp commented on GitHub (Jul 28, 2023):

I am too simple to do all these scripts, is there a solution that works
nearly like the original YT-DL?

@infinitejesp commented on GitHub (Jul 28, 2023): I am too simple to do all these scripts, is there a solution that works nearly like the original YT-DL?
Author
Owner

@viebrix commented on GitHub (Jul 29, 2023):

Solution of mAr3cKi (https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1655779199) worked like a charm.
My youtube.py was only in an other folder:
/usr/local/lib/python3.10/dist-packages/youtube_dl/extractor

Other solutions which were posted above, for example nightly built, didn't work - or description was (for myself) not detailed enough to follow in a correct way.
Beside: Error with the nightly built was:
Traceback (most recent call last): File "/home/*******/.local/bin/youtube-dl", line 5, in <module> from youtube_dl import main ModuleNotFoundError: No module named 'youtube_dl'

@viebrix commented on GitHub (Jul 29, 2023): Solution of mAr3cKi (https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1655779199) worked like a charm. My youtube.py was only in an other folder: /usr/local/lib/python3.10/dist-packages/youtube_dl/extractor Other solutions which were posted above, for example nightly built, didn't work - or description was (for myself) not detailed enough to follow in a correct way. Beside: Error with the nightly built was: `Traceback (most recent call last): File "/home/*******/.local/bin/youtube-dl", line 5, in <module> from youtube_dl import main ModuleNotFoundError: No module named 'youtube_dl' `
Author
Owner

@viebrix commented on GitHub (Jul 30, 2023):

@dirkf thanks "sudo python3.10 ..." did the difference, seems to work now. Many Thanks!

@viebrix commented on GitHub (Jul 30, 2023): @dirkf thanks "sudo **python3.10** ..." did the difference, seems to work now. Many Thanks!
Author
Owner

@slrgt commented on GitHub (Aug 3, 2023):

@dirkf considering there hasnt been an updated release in 2 years is it expected that the maintainers have left the project and won't be updating the official release with the fix?

@slrgt commented on GitHub (Aug 3, 2023): @dirkf considering there hasnt been an updated release in 2 years is it expected that the maintainers have left the project and won't be updating the official release with the fix?
Author
Owner

@adrhc commented on GitHub (Aug 3, 2023):

youtube-dl.exe --dump-json http://www.youtube.com/watch?v=RqzGzwTY-6w

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.

youtube-dl --version

2021.12.17

PS: on linux it works

@adrhc commented on GitHub (Aug 3, 2023): `youtube-dl.exe --dump-json http://www.youtube.com/watch?v=RqzGzwTY-6w` > 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. `youtube-dl --version` > 2021.12.17 PS: on linux it works
Author
Owner

@tdr2d commented on GitHub (Aug 15, 2023):

Solution is shown here https://www.youtube.com/watch?v=Ghe058HpmMk , just add the comment on the line that causes the problem in youtube.py

@tdr2d commented on GitHub (Aug 15, 2023): Solution is shown here https://www.youtube.com/watch?v=Ghe058HpmMk , just add the comment on the line that causes the problem in youtube.py
Author
Owner

@marcelo-franceschini commented on GitHub (Sep 5, 2023):

Why isn't this patch in the releases? The last release is dec/2021

@marcelo-franceschini commented on GitHub (Sep 5, 2023): Why isn't this patch in the releases? The last release is dec/2021
Author
Owner

@aymagee92 commented on GitHub (Sep 8, 2023):

I don't understand why all of these comments are being hidden and the original comment is just saying "it's fixed" when the most recent package update still has this issue. Please make it obvious what the fix is rather than marking everything as spam.

The solution is to uninstall youtube-dl and install the yt-dlp package. https://github.com/yt-dlp/yt-dlp

@aymagee92 commented on GitHub (Sep 8, 2023): I don't understand why all of these comments are being hidden and the original comment is just saying "it's fixed" when the most recent package update still has this issue. Please make it obvious what the fix is rather than marking everything as spam. The solution is to uninstall youtube-dl and install the yt-dlp package. https://github.com/yt-dlp/yt-dlp
Author
Owner

@jeremy-ricky commented on GitHub (Sep 29, 2023):

watch this video : https://www.youtube.com/watch?v=Ghe058HpmMk

@jeremy-ricky commented on GitHub (Sep 29, 2023): watch this video : https://www.youtube.com/watch?v=Ghe058HpmMk
Author
Owner

@AyushPaudel commented on GitHub (Oct 3, 2023):

This issue is still persistent with youtube-dl.
Installing yt-dlp using pip solved the problem

@AyushPaudel commented on GitHub (Oct 3, 2023): This issue is still persistent with youtube-dl. Installing [yt-dlp using pip](https://github.com/yt-dlp/yt-dlp/wiki/Installation#with-pip) solved the problem
Author
Owner

@the7erm commented on GitHub (Oct 24, 2023):

I don't know if it's the "right" answer but I edited youtube.py in def _real_extract and this worked for me.

        uploader_id = None
        try:
            uploader_id = self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None
        except Exception as e:
            print("Error getting upload id:%r" % e)

        info = {
            'id': video_id,
            'title': self._live_title(video_title) if is_live else video_title,
            'formats': formats,
            'thumbnails': thumbnails,
            'description': video_description,
            'upload_date': unified_strdate(
                microformat.get('uploadDate')
                or search_meta('uploadDate')),
            'uploader': video_details['author'],
            'uploader_id': uploader_id,
            'uploader_url': owner_profile_url,
            'channel_id': channel_id,
            'channel_url': 'https://www.youtube.com/channel/' + channel_id if channel_id else None,
            'duration': duration,
            'view_count': int_or_none(
                video_details.get('viewCount')
                or microformat.get('viewCount')
                or search_meta('interactionCount')),
            'average_rating': float_or_none(video_details.get('averageRating')),
            'age_limit': 18 if (
                microformat.get('isFamilySafe') is False
                or search_meta('isFamilyFriendly') == 'false'
                or search_meta('og:restrictions:age') == '18+') else 0,
            'webpage_url': webpage_url,
            'categories': [category] if category else None,
            'tags': keywords,
            'is_live': is_live,
        }
@the7erm commented on GitHub (Oct 24, 2023): I don't know if it's the "right" answer but I edited `youtube.py` in `def _real_extract` and this worked for me. ``` uploader_id = None try: uploader_id = self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None except Exception as e: print("Error getting upload id:%r" % e) info = { 'id': video_id, 'title': self._live_title(video_title) if is_live else video_title, 'formats': formats, 'thumbnails': thumbnails, 'description': video_description, 'upload_date': unified_strdate( microformat.get('uploadDate') or search_meta('uploadDate')), 'uploader': video_details['author'], 'uploader_id': uploader_id, 'uploader_url': owner_profile_url, 'channel_id': channel_id, 'channel_url': 'https://www.youtube.com/channel/' + channel_id if channel_id else None, 'duration': duration, 'view_count': int_or_none( video_details.get('viewCount') or microformat.get('viewCount') or search_meta('interactionCount')), 'average_rating': float_or_none(video_details.get('averageRating')), 'age_limit': 18 if ( microformat.get('isFamilySafe') is False or search_meta('isFamilyFriendly') == 'false' or search_meta('og:restrictions:age') == '18+') else 0, 'webpage_url': webpage_url, 'categories': [category] if category else None, 'tags': keywords, 'is_live': is_live, } ```
Author
Owner

@dirkf commented on GitHub (Oct 24, 2023):

@the7erm, do read the issue text before commenting.

@dirkf commented on GitHub (Oct 24, 2023): @the7erm, do read the issue text before commenting.
Author
Owner

@dirkf commented on GitHub (Nov 2, 2023):

FFS read the issue Description instead of looking at clueless videos; also #30839.

@dirkf commented on GitHub (Nov 2, 2023): FFS read the issue Description instead of looking at clueless videos; also #30839.
Author
Owner

@vdegenne commented on GitHub (Nov 2, 2023):

@dirkf You answered after I deleted my question, it was my bad, we can both suppress this useless data.

@vdegenne commented on GitHub (Nov 2, 2023): @dirkf You answered after I deleted my question, it was my bad, we can both suppress this useless data.
Author
Owner

@Mr-Bossman commented on GitHub (Nov 2, 2023):

FFS read the issue Description instead of looking at clueless videos; also #30839.

To be fair it's very confusing saying "This issue is solved" when it has been fix in yt-dlp and not here.

@Mr-Bossman commented on GitHub (Nov 2, 2023): > FFS read the issue Description instead of looking at clueless videos; also #30839. To be fair it's very confusing saying "This issue is solved" when it has been fix in yt-dlp and not here.
Author
Owner

@vdegenne commented on GitHub (Nov 2, 2023):

FFS read the issue Description instead of looking at clueless videos; also #30839.

To be fair it's very confusing saying "This issue is solved" when it has been fix in yt-dlp and not here.

There are nightly builds you can download from, I took the binary from there, it solves the issue in my case.

@vdegenne commented on GitHub (Nov 2, 2023): > > FFS read the issue Description instead of looking at clueless videos; also #30839. > > To be fair it's very confusing saying "This issue is solved" when it has been fix in yt-dlp and not here. There are nightly builds you can download from, I took the binary from there, it solves the issue in my case.
Author
Owner

@php4fan commented on GitHub (Nov 5, 2023):

I installed the latest nightly build (or at least it was the latest available a few days ago) and still get the same error:

 youtube-dl -v "https://www.youtube.com/watch?v=Unn-zX7Y7K4"                                                                                                  ✔ 
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=Unn-zX7Y7K4']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2023.09.25 [00ef748cc] (single file build)
[debug] ** This version was built from the latest master code at https://github.com/ytdl-org/youtube-dl.
[debug] ** For support, visit the main site.
[debug] Python 3.11.5 (CPython x86_64 64bit) - Linux-6.1.55-1-MANJARO-x86_64-with-glibc2.38 - OpenSSL 3.1.3 19 Sep 2023 - glibc 2.38
[debug] exe versions: ffmpeg 6.0, ffprobe 6.0, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] Unn-zX7Y7K4: Downloading webpage
[youtube] Unn-zX7Y7K4: Downloading API JSON
WARNING: unable to extract player URL; 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.
WARNING: [youtube] Unable to decode n-parameter: download likely to be throttled (expected string or bytes-like object, got 'NoneType' Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1679, in _n_descramble
    self._player_cache[player_id] = self._extract_n_function(video_id, player_url)
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1644, in _extract_n_function
    player_id = self._extract_player_info(player_url)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1476, in _extract_player_info
    id_m = re.search(player_re, player_url)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/__init__.py", line 176, in search
    return _compile(pattern, flags).search(string)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: expected string or bytes-like object, got 'NoneType'
)
[youtube] Unn-zX7Y7K4: Downloading API JSON
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://rr2---sn-8vq54voxn25po-cjod.googlevideo.com/videoplayback?expire=1699238418&ei=sv1HZa9i07-Fwg-a4azIAQ&ip=62.57.153.143&id=o-AIHvzXW18vV1klqBSpS53RuwB0FZrLNxoVhP9KhXrwzt&itag=137&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&source=youtube&requiressl=yes&mh=uw&mm=31%2C29&mn=sn-8vq54voxn25po-cjod%2Csn-h5qzened&ms=au%2Crdu&mv=m&mvi=2&pcm2cms=yes&pl=22&pcm2=yes&initcwndbps=1321250&spc=UWF9fyC3IlqLq1s75hDO56ooRihbTcbLgR4tlxu5DQ&vprv=1&svpuc=1&mime=video%2Fmp4&ns=9_YNhHa6qzOXLnoow0w0ppYP&gir=yes&clen=271454456&dur=1049.999&lmt=1692705192856127&mt=1699216380&fvip=3&keepalive=yes&fexp=24007246&beids=24350018&c=WEB&txp=7309224&n=u4ZQxCtN3x5__GgZEG4Ek&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cpcm2%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=ANLwegAwRQIgTkfmelkiObqXtYPYUVZqfps8RmMCBGRTGZqy7GXpffUCIQD79IbSKrTwfMWdj-wqv3rewzQQ7Q5OP2hKjOyhOU7J0A%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl%2Cinitcwndbps&lsig=AM8Gb2swRQIgEzla1CEUYu1rpdkWM9HFPkz9OoqVrj6ptYdf2nEjq0YCIQCb2APCdKf3T25SieDcbhZhygMeVdwS89IBTv45iuQCZg%3D%3D'
[dashsegments] Total fragments: 26
[download] Destination: INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias-Unn-zX7Y7K4.f137.mp4
[download]   0.4% of ~260.00MiB at 65.24KiB/s ETA 01:07:43^C
ERROR: Interrupted by user

@php4fan commented on GitHub (Nov 5, 2023): I installed the latest nightly build (or at least it was the latest available a few days ago) and still get the same error: ```  youtube-dl -v "https://www.youtube.com/watch?v=Unn-zX7Y7K4"  ✔ [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=Unn-zX7Y7K4'] [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 [debug] youtube-dl version 2023.09.25 [00ef748cc] (single file build) [debug] ** This version was built from the latest master code at https://github.com/ytdl-org/youtube-dl. [debug] ** For support, visit the main site. [debug] Python 3.11.5 (CPython x86_64 64bit) - Linux-6.1.55-1-MANJARO-x86_64-with-glibc2.38 - OpenSSL 3.1.3 19 Sep 2023 - glibc 2.38 [debug] exe versions: ffmpeg 6.0, ffprobe 6.0, rtmpdump 2.4 [debug] Proxy map: {} [youtube] Unn-zX7Y7K4: Downloading webpage [youtube] Unn-zX7Y7K4: Downloading API JSON WARNING: unable to extract player URL; 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. WARNING: [youtube] Unable to decode n-parameter: download likely to be throttled (expected string or bytes-like object, got 'NoneType' Traceback (most recent call last): File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1679, in _n_descramble self._player_cache[player_id] = self._extract_n_function(video_id, player_url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1644, in _extract_n_function player_id = self._extract_player_info(player_url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1476, in _extract_player_info id_m = re.search(player_re, player_url) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/re/__init__.py", line 176, in search return _compile(pattern, flags).search(string) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: expected string or bytes-like object, got 'NoneType' ) [youtube] Unn-zX7Y7K4: Downloading API JSON [debug] Default format spec: bestvideo+bestaudio/best [debug] Invoking downloader on 'https://rr2---sn-8vq54voxn25po-cjod.googlevideo.com/videoplayback?expire=1699238418&ei=sv1HZa9i07-Fwg-a4azIAQ&ip=62.57.153.143&id=o-AIHvzXW18vV1klqBSpS53RuwB0FZrLNxoVhP9KhXrwzt&itag=137&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&source=youtube&requiressl=yes&mh=uw&mm=31%2C29&mn=sn-8vq54voxn25po-cjod%2Csn-h5qzened&ms=au%2Crdu&mv=m&mvi=2&pcm2cms=yes&pl=22&pcm2=yes&initcwndbps=1321250&spc=UWF9fyC3IlqLq1s75hDO56ooRihbTcbLgR4tlxu5DQ&vprv=1&svpuc=1&mime=video%2Fmp4&ns=9_YNhHa6qzOXLnoow0w0ppYP&gir=yes&clen=271454456&dur=1049.999&lmt=1692705192856127&mt=1699216380&fvip=3&keepalive=yes&fexp=24007246&beids=24350018&c=WEB&txp=7309224&n=u4ZQxCtN3x5__GgZEG4Ek&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cpcm2%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=ANLwegAwRQIgTkfmelkiObqXtYPYUVZqfps8RmMCBGRTGZqy7GXpffUCIQD79IbSKrTwfMWdj-wqv3rewzQQ7Q5OP2hKjOyhOU7J0A%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl%2Cinitcwndbps&lsig=AM8Gb2swRQIgEzla1CEUYu1rpdkWM9HFPkz9OoqVrj6ptYdf2nEjq0YCIQCb2APCdKf3T25SieDcbhZhygMeVdwS89IBTv45iuQCZg%3D%3D' [dashsegments] Total fragments: 26 [download] Destination: INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias-Unn-zX7Y7K4.f137.mp4 [download] 0.4% of ~260.00MiB at 65.24KiB/s ETA 01:07:43^C ERROR: Interrupted by user ```
Author
Owner

@zaphida commented on GitHub (Nov 5, 2023):

You didn't get it as an error, you got it as a warning which is the
intended behavior.

On Mon, 6 Nov 2023 at 07:42, php4fan @.***> wrote:

I installed the latest nightly build (or at least it was the latest
available a few days ago) and still get the same error:

 youtube-dl -v "https://www.youtube.com/watch?v=Unn-zX7Y7K4"  ✔
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=Unn-zX7Y7K4']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2023.09.25 [00ef748cc] (single file build)
[debug] ** This version was built from the latest master code at https://github.com/ytdl-org/youtube-dl.
[debug] ** For support, visit the main site.
[debug] Python 3.11.5 (CPython x86_64 64bit) - Linux-6.1.55-1-MANJARO-x86_64-with-glibc2.38 - OpenSSL 3.1.3 19 Sep 2023 - glibc 2.38
[debug] exe versions: ffmpeg 6.0, ffprobe 6.0, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] Unn-zX7Y7K4: Downloading webpage
[youtube] Unn-zX7Y7K4: Downloading API JSON
WARNING: unable to extract player URL; 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.
WARNING: [youtube] Unable to decode n-parameter: download likely to be throttled (expected string or bytes-like object, got 'NoneType' Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1679, in _n_descramble
self._player_cache[player_id] = self._extract_n_function(video_id, player_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1644, in _extract_n_function
player_id = self._extract_player_info(player_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1476, in _extract_player_info
id_m = re.search(player_re, player_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/re/init.py", line 176, in search
return _compile(pattern, flags).search(string)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: expected string or bytes-like object, got 'NoneType'
)
[youtube] Unn-zX7Y7K4: Downloading API JSON
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://rr2---sn-8vq54voxn25po-cjod.googlevideo.com/videoplayback?expire=1699238418&ei=sv1HZa9i07-Fwg-a4azIAQ&ip=62.57.153.143&id=o-AIHvzXW18vV1klqBSpS53RuwB0FZrLNxoVhP9KhXrwzt&itag=137&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&source=youtube&requiressl=yes&mh=uw&mm=31%2C29&mn=sn-8vq54voxn25po-cjod%2Csn-h5qzened&ms=au%2Crdu&mv=m&mvi=2&pcm2cms=yes&pl=22&pcm2=yes&initcwndbps=1321250&spc=UWF9fyC3IlqLq1s75hDO56ooRihbTcbLgR4tlxu5DQ&vprv=1&svpuc=1&mime=video%2Fmp4&ns=9_YNhHa6qzOXLnoow0w0ppYP&gir=yes&clen=271454456&dur=1049.999&lmt=1692705192856127&mt=1699216380&fvip=3&keepalive=yes&fexp=24007246&beids=24350018&c=WEB&txp=7309224&n=u4ZQxCtN3x5__GgZEG4Ek&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cpcm2%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=ANLwegAwRQIgTkfmelkiObqXtYPYUVZqfps8RmMCBGRTGZqy7GXpffUCIQD79IbSKrTwfMWdj-wqv3rewzQQ7Q5OP2hKjOyhOU7J0A%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl%2Cinitcwndbps&lsig=AM8Gb2swRQIgEzla1CEUYu1rpdkWM9HFPkz9OoqVrj6ptYdf2nEjq0YCIQCb2APCdKf3T25SieDcbhZhygMeVdwS89IBTv45iuQCZg%3D%3D'
[dashsegments] Total fragments: 26
[download] Destination: INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias-Unn-zX7Y7K4.f137.mp4
[download] 0.4% of ~260.00MiB at 65.24KiB/s ETA 01:07:43^C
ERROR: Interrupted by user


Reply to this email directly, view it on GitHub
https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1793840126,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADCYXGTTIB373LVA3BDBYSDYC722BAVCNFSM6AAAAAAU6HECQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTHA2DAMJSGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

@zaphida commented on GitHub (Nov 5, 2023): You didn't get it as an error, you got it as a warning which is the intended behavior. On Mon, 6 Nov 2023 at 07:42, php4fan ***@***.***> wrote: > I installed the latest nightly build (or at least it was the latest > available a few days ago) and still get the same error: > >  youtube-dl -v "https://www.youtube.com/watch?v=Unn-zX7Y7K4"  ✔ > [debug] System config: [] > [debug] User config: [] > [debug] Custom config: [] > [debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=Unn-zX7Y7K4'] > [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 > [debug] youtube-dl version 2023.09.25 [00ef748cc] (single file build) > [debug] ** This version was built from the latest master code at https://github.com/ytdl-org/youtube-dl. > [debug] ** For support, visit the main site. > [debug] Python 3.11.5 (CPython x86_64 64bit) - Linux-6.1.55-1-MANJARO-x86_64-with-glibc2.38 - OpenSSL 3.1.3 19 Sep 2023 - glibc 2.38 > [debug] exe versions: ffmpeg 6.0, ffprobe 6.0, rtmpdump 2.4 > [debug] Proxy map: {} > [youtube] Unn-zX7Y7K4: Downloading webpage > [youtube] Unn-zX7Y7K4: Downloading API JSON > WARNING: unable to extract player URL; 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. > WARNING: [youtube] Unable to decode n-parameter: download likely to be throttled (expected string or bytes-like object, got 'NoneType' Traceback (most recent call last): > File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1679, in _n_descramble > self._player_cache[player_id] = self._extract_n_function(video_id, player_url) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1644, in _extract_n_function > player_id = self._extract_player_info(player_url) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1476, in _extract_player_info > id_m = re.search(player_re, player_url) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/re/__init__.py", line 176, in search > return _compile(pattern, flags).search(string) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > TypeError: expected string or bytes-like object, got 'NoneType' > ) > [youtube] Unn-zX7Y7K4: Downloading API JSON > [debug] Default format spec: bestvideo+bestaudio/best > [debug] Invoking downloader on 'https://rr2---sn-8vq54voxn25po-cjod.googlevideo.com/videoplayback?expire=1699238418&ei=sv1HZa9i07-Fwg-a4azIAQ&ip=62.57.153.143&id=o-AIHvzXW18vV1klqBSpS53RuwB0FZrLNxoVhP9KhXrwzt&itag=137&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&source=youtube&requiressl=yes&mh=uw&mm=31%2C29&mn=sn-8vq54voxn25po-cjod%2Csn-h5qzened&ms=au%2Crdu&mv=m&mvi=2&pcm2cms=yes&pl=22&pcm2=yes&initcwndbps=1321250&spc=UWF9fyC3IlqLq1s75hDO56ooRihbTcbLgR4tlxu5DQ&vprv=1&svpuc=1&mime=video%2Fmp4&ns=9_YNhHa6qzOXLnoow0w0ppYP&gir=yes&clen=271454456&dur=1049.999&lmt=1692705192856127&mt=1699216380&fvip=3&keepalive=yes&fexp=24007246&beids=24350018&c=WEB&txp=7309224&n=u4ZQxCtN3x5__GgZEG4Ek&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cpcm2%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=ANLwegAwRQIgTkfmelkiObqXtYPYUVZqfps8RmMCBGRTGZqy7GXpffUCIQD79IbSKrTwfMWdj-wqv3rewzQQ7Q5OP2hKjOyhOU7J0A%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl%2Cinitcwndbps&lsig=AM8Gb2swRQIgEzla1CEUYu1rpdkWM9HFPkz9OoqVrj6ptYdf2nEjq0YCIQCb2APCdKf3T25SieDcbhZhygMeVdwS89IBTv45iuQCZg%3D%3D' > [dashsegments] Total fragments: 26 > [download] Destination: INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias-Unn-zX7Y7K4.f137.mp4 > [download] 0.4% of ~260.00MiB at 65.24KiB/s ETA 01:07:43^C > ERROR: Interrupted by user > > > — > Reply to this email directly, view it on GitHub > <https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1793840126>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ADCYXGTTIB373LVA3BDBYSDYC722BAVCNFSM6AAAAAAU6HECQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTHA2DAMJSGY> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> >
Author
Owner

@nicolaasjan commented on GitHub (Nov 6, 2023):

WARNING: [youtube] Unable to decode n-parameter: download likely to be throttled (expected string or bytes-like object, got 'NoneType' Traceback (most recent call last):

See also #32534 and this comment here:

YT is now ignoring the ucbc=1 parameter that the extractor adds and redirecting via consent.youtube.com, for some pages. There is a fix but meanwhile try passing cookies from a browser session where you have already gone through the consent check, using the nightly build.

See also yt-dlp/yt-dlp#7594.
Should be resolved by backporting a fix from yt-dlp, applied to youtube.py:

diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 9c419c0..3bf483c 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -260,16 +260,10 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
         cookies = self._get_cookies('https://www.youtube.com/')
         if cookies.get('__Secure-3PSID'):
             return
-        consent_id = None
-        consent = cookies.get('CONSENT')
-        if consent:
-            if 'YES' in consent.value:
-                return
-            consent_id = self._search_regex(
-                r'PENDING\+(\d+)', consent.value, 'consent', default=None)
-        if not consent_id:
-            consent_id = random.randint(100, 999)
-        self._set_cookie('.youtube.com', 'CONSENT', 'YES+cb.20210328-17-p0.en+FX+%s' % consent_id)
+        socs = cookies.get('SOCS')
+        if socs and not socs.value.startswith('CAA'):  # not consented
+            return
+        self._set_cookie('.youtube.com', 'SOCS', 'CAI', secure=True)  # accept all (required for mixes)
 
     def _real_initialize(self):
         self._initialize_consent()

After applying that, no warning any more and decent download speed 🙂 :

youtube-dl -v --ignore-config -f 137+140 --embed-thumbnail -o '~/Desktop/%(title)s.%(ext)s' https://www.youtube.com/watch?v=Unn-zX7Y7K4
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--ignore-config', '-f', '137+140', '--embed-thumbnail', '-o', '~/Desktop/%(title)s.%(ext)s', 'https://www.youtube.com/watch?v=Unn-zX7Y7K4']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2023.09.24.1
[debug] Lazy loading extractors enabled
[debug] Single file build
[debug] Python 3.8.10 (CPython x86_64 64bit) - Linux-5.4.0-166-generic-x86_64-with-glibc2.29 - OpenSSL 1.1.1f  31 Mar 2020 - glibc 2.31
[debug] exe versions: ffmpeg N-112634-gf2687a3b69-20231101, ffprobe N-112634-gf2687a3b69-20231101, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] Unn-zX7Y7K4: Downloading webpage
[debug] [youtube] Decrypted nsig qiO48hoTaYZnfK => 7T7aymItTZ3P2w
[debug] [youtube] Decrypted nsig HyjVI5YBSQGHxe => J_5ZdWxySqXXgA
[youtube] Unn-zX7Y7K4: Downloading thumbnail ...
[youtube] Unn-zX7Y7K4: Writing thumbnail to: /home/user/Desktop/INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.jpg
[debug] Invoking downloader on 'https://rr1---sn-5hneknee.googlevideo.com/videoplayback?expire=1699271747&ei=439IZbqPAcOZx_APzKOvwAY&ip=<REDACTED>&id=o-AIrsBQ78eR3Je-s1nUZlinMC0K7FEuFGz9fZos-_ElvS&itag=137&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&source=youtube&requiressl=yes&mh=uw&mm=31%2C29&mn=sn-5hneknee%2Csn-5hne6n6l&ms=au%2Crdu&mv=m&mvi=1&pl=14&initcwndbps=2407500&spc=UWF9f9MkU2m4s1CsiHus78Lhh1TObQyRHL5PHMUSYA&vprv=1&svpuc=1&mime=video%2Fmp4&ns=FBnmfB9es755FOrVCztfhX8P&gir=yes&clen=271454456&dur=1049.999&lmt=1692705192856127&mt=1699249734&fvip=1&keepalive=yes&fexp=24007246&beids=24350018&c=WEB&txp=7309224&n=7T7aymItTZ3P2w&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=ANLwegAwRAIgEYxzML48rAge5lz_gC1mPm_vAYtg7ALNxRM9mNZbz1ECIFCykcxDPnG7BtNXrYVad42tUfNVrnClVSJHddBAAjik&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AM8Gb2swRQIhAK_6I3h0OcbjrkI-bswMceV98EOh3hQi3Ia9zW0uxk9QAiB4IT3ZcrrL2xW8AhZ1hbS8g0Giuv6hzPVe7A2fJrHAJA%3D%3D'
[dashsegments] Total fragments: 26
[download] Destination: /home/user/Desktop/INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.f137.mp4
[download] 100% of 258.88MiB in 00:16
[debug] Invoking downloader on 'https://rr1---sn-5hneknee.googlevideo.com/videoplayback?expire=1699271747&ei=439IZbqPAcOZx_APzKOvwAY&ip=<REDACTED>&id=o-AIrsBQ78eR3Je-s1nUZlinMC0K7FEuFGz9fZos-_ElvS&itag=140&source=youtube&requiressl=yes&mh=uw&mm=31%2C29&mn=sn-5hneknee%2Csn-5hne6n6l&ms=au%2Crdu&mv=m&mvi=1&pl=14&initcwndbps=2407500&spc=UWF9f9MkU2m4s1CsiHus78Lhh1TObQyRHL5PHMUSYA&vprv=1&svpuc=1&mime=audio%2Fmp4&ns=FBnmfB9es755FOrVCztfhX8P&gir=yes&clen=16994692&dur=1050.052&lmt=1692705148866184&mt=1699249734&fvip=1&keepalive=yes&fexp=24007246&beids=24350018&c=WEB&txp=7308224&n=7T7aymItTZ3P2w&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=ANLwegAwRgIhAJ8wOceBrfbU52gRSzGbBExg-TGLrtaXn0yV1rSo67RAAiEAvkn_20JeGXReuAAcXqUgCe8Zwo8q6ozQFe6tB2w6Zm0%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AM8Gb2swRQIhAK_6I3h0OcbjrkI-bswMceV98EOh3hQi3Ia9zW0uxk9QAiB4IT3ZcrrL2xW8AhZ1hbS8g0Giuv6hzPVe7A2fJrHAJA%3D%3D'
[dashsegments] Total fragments: 2
[download] Destination: /home/user/Desktop/INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.f140.m4a
[download] 100% of 16.21MiB in 00:01
[ffmpeg] Merging formats into "/home/user/Desktop/INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/home/user/Desktop/INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.f137.mp4' -i 'file:/home/user/Desktop/INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.f140.m4a' -c copy -map 0:v:0 -map 1:a:0 'file:/home/user/Desktop/INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.temp.mp4'
Deleting original file /home/user/Desktop/INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.f137.mp4 (pass -k to keep)
Deleting original file /home/user/Desktop/INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.f140.m4a (pass -k to keep)
[ffmpeg] Adding thumbnail to "/home/user/Desktop/INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/home/user/Desktop/INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.mp4' -i 'file:/home/user/Desktop/INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.jpg' -c copy -map 0 -map 1 -disposition:v:1 attached_pic 'file:/home/user/Desktop/INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.temp.mp4'


@nicolaasjan commented on GitHub (Nov 6, 2023): > WARNING: [youtube] Unable to decode n-parameter: download likely to be throttled (expected string or bytes-like object, got 'NoneType' Traceback (most recent call last): See also #32534 and this comment [here](https://github.com/ytdl-org/youtube-dl/issues/32499#issuecomment-1674461332): > YT is now ignoring the ucbc=1 parameter that the extractor adds and redirecting via consent.youtube.com, for some pages. There is a fix but meanwhile try passing cookies from a browser session where you have already gone through the consent check, using the nightly build. See also yt-dlp/yt-dlp#7594. Should be resolved by backporting [a fix](https://github.com/yt-dlp/yt-dlp/commit/378ae9f9fb8e8c86e6ac89c4c5b815b48ce93620) from yt-dlp, applied to `youtube.py`: ```diff diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 9c419c0..3bf483c 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -260,16 +260,10 @@ class YoutubeBaseInfoExtractor(InfoExtractor): cookies = self._get_cookies('https://www.youtube.com/') if cookies.get('__Secure-3PSID'): return - consent_id = None - consent = cookies.get('CONSENT') - if consent: - if 'YES' in consent.value: - return - consent_id = self._search_regex( - r'PENDING\+(\d+)', consent.value, 'consent', default=None) - if not consent_id: - consent_id = random.randint(100, 999) - self._set_cookie('.youtube.com', 'CONSENT', 'YES+cb.20210328-17-p0.en+FX+%s' % consent_id) + socs = cookies.get('SOCS') + if socs and not socs.value.startswith('CAA'): # not consented + return + self._set_cookie('.youtube.com', 'SOCS', 'CAI', secure=True) # accept all (required for mixes) def _real_initialize(self): self._initialize_consent() ``` After applying that, no warning any more **and** decent download speed 🙂 : ```shell youtube-dl -v --ignore-config -f 137+140 --embed-thumbnail -o '~/Desktop/%(title)s.%(ext)s' https://www.youtube.com/watch?v=Unn-zX7Y7K4 [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-v', '--ignore-config', '-f', '137+140', '--embed-thumbnail', '-o', '~/Desktop/%(title)s.%(ext)s', 'https://www.youtube.com/watch?v=Unn-zX7Y7K4'] [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 [debug] youtube-dl version 2023.09.24.1 [debug] Lazy loading extractors enabled [debug] Single file build [debug] Python 3.8.10 (CPython x86_64 64bit) - Linux-5.4.0-166-generic-x86_64-with-glibc2.29 - OpenSSL 1.1.1f 31 Mar 2020 - glibc 2.31 [debug] exe versions: ffmpeg N-112634-gf2687a3b69-20231101, ffprobe N-112634-gf2687a3b69-20231101, phantomjs 2.1.1, rtmpdump 2.4 [debug] Proxy map: {} [youtube] Unn-zX7Y7K4: Downloading webpage [debug] [youtube] Decrypted nsig qiO48hoTaYZnfK => 7T7aymItTZ3P2w [debug] [youtube] Decrypted nsig HyjVI5YBSQGHxe => J_5ZdWxySqXXgA [youtube] Unn-zX7Y7K4: Downloading thumbnail ... [youtube] Unn-zX7Y7K4: Writing thumbnail to: /home/user/Desktop/INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.jpg [debug] Invoking downloader on 'https://rr1---sn-5hneknee.googlevideo.com/videoplayback?expire=1699271747&ei=439IZbqPAcOZx_APzKOvwAY&ip=<REDACTED>&id=o-AIrsBQ78eR3Je-s1nUZlinMC0K7FEuFGz9fZos-_ElvS&itag=137&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&source=youtube&requiressl=yes&mh=uw&mm=31%2C29&mn=sn-5hneknee%2Csn-5hne6n6l&ms=au%2Crdu&mv=m&mvi=1&pl=14&initcwndbps=2407500&spc=UWF9f9MkU2m4s1CsiHus78Lhh1TObQyRHL5PHMUSYA&vprv=1&svpuc=1&mime=video%2Fmp4&ns=FBnmfB9es755FOrVCztfhX8P&gir=yes&clen=271454456&dur=1049.999&lmt=1692705192856127&mt=1699249734&fvip=1&keepalive=yes&fexp=24007246&beids=24350018&c=WEB&txp=7309224&n=7T7aymItTZ3P2w&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=ANLwegAwRAIgEYxzML48rAge5lz_gC1mPm_vAYtg7ALNxRM9mNZbz1ECIFCykcxDPnG7BtNXrYVad42tUfNVrnClVSJHddBAAjik&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AM8Gb2swRQIhAK_6I3h0OcbjrkI-bswMceV98EOh3hQi3Ia9zW0uxk9QAiB4IT3ZcrrL2xW8AhZ1hbS8g0Giuv6hzPVe7A2fJrHAJA%3D%3D' [dashsegments] Total fragments: 26 [download] Destination: /home/user/Desktop/INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.f137.mp4 [download] 100% of 258.88MiB in 00:16 [debug] Invoking downloader on 'https://rr1---sn-5hneknee.googlevideo.com/videoplayback?expire=1699271747&ei=439IZbqPAcOZx_APzKOvwAY&ip=<REDACTED>&id=o-AIrsBQ78eR3Je-s1nUZlinMC0K7FEuFGz9fZos-_ElvS&itag=140&source=youtube&requiressl=yes&mh=uw&mm=31%2C29&mn=sn-5hneknee%2Csn-5hne6n6l&ms=au%2Crdu&mv=m&mvi=1&pl=14&initcwndbps=2407500&spc=UWF9f9MkU2m4s1CsiHus78Lhh1TObQyRHL5PHMUSYA&vprv=1&svpuc=1&mime=audio%2Fmp4&ns=FBnmfB9es755FOrVCztfhX8P&gir=yes&clen=16994692&dur=1050.052&lmt=1692705148866184&mt=1699249734&fvip=1&keepalive=yes&fexp=24007246&beids=24350018&c=WEB&txp=7308224&n=7T7aymItTZ3P2w&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=ANLwegAwRgIhAJ8wOceBrfbU52gRSzGbBExg-TGLrtaXn0yV1rSo67RAAiEAvkn_20JeGXReuAAcXqUgCe8Zwo8q6ozQFe6tB2w6Zm0%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AM8Gb2swRQIhAK_6I3h0OcbjrkI-bswMceV98EOh3hQi3Ia9zW0uxk9QAiB4IT3ZcrrL2xW8AhZ1hbS8g0Giuv6hzPVe7A2fJrHAJA%3D%3D' [dashsegments] Total fragments: 2 [download] Destination: /home/user/Desktop/INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.f140.m4a [download] 100% of 16.21MiB in 00:01 [ffmpeg] Merging formats into "/home/user/Desktop/INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.mp4" [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/home/user/Desktop/INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.f137.mp4' -i 'file:/home/user/Desktop/INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.f140.m4a' -c copy -map 0:v:0 -map 1:a:0 'file:/home/user/Desktop/INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.temp.mp4' Deleting original file /home/user/Desktop/INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.f137.mp4 (pass -k to keep) Deleting original file /home/user/Desktop/INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.f140.m4a (pass -k to keep) [ffmpeg] Adding thumbnail to "/home/user/Desktop/INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.mp4" [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/home/user/Desktop/INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.mp4' -i 'file:/home/user/Desktop/INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.jpg' -c copy -map 0 -map 1 -disposition:v:1 attached_pic 'file:/home/user/Desktop/INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.temp.mp4' ```
Author
Owner

@vdegenne commented on GitHub (Nov 6, 2023):

WARNING: [youtube] Unable to decode n-parameter: download likely to be throttled (expected string or bytes-like object, got 'NoneType' Traceback (most recent call last):

See also #32534 and this comment here:

YT is now ignoring the ucbc=1 parameter that the extractor adds and redirecting via consent.youtube.com, for some pages. There is a fix but meanwhile try passing cookies from a browser session where you have already gone through the consent check, using the nightly build.

See also yt-dlp/yt-dlp#7594. Should be resolved by backporting a fix from yt-dlp, applied to youtube.py:

diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 9c419c0..3bf483c 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -260,16 +260,10 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
         cookies = self._get_cookies('https://www.youtube.com/')
         if cookies.get('__Secure-3PSID'):
             return
-        consent_id = None
-        consent = cookies.get('CONSENT')
-        if consent:
-            if 'YES' in consent.value:
-                return
-            consent_id = self._search_regex(
-                r'PENDING\+(\d+)', consent.value, 'consent', default=None)
-        if not consent_id:
-            consent_id = random.randint(100, 999)
-        self._set_cookie('.youtube.com', 'CONSENT', 'YES+cb.20210328-17-p0.en+FX+%s' % consent_id)
+        socs = cookies.get('SOCS')
+        if socs and not socs.value.startswith('CAA'):  # not consented
+            return
+        self._set_cookie('.youtube.com', 'SOCS', 'CAI', secure=True)  # accept all (required for mixes)
 
     def _real_initialize(self):
         self._initialize_consent()

After applying that, no warning any more and decent download speed 🙂 :

youtube-dl -v --ignore-config -f 137+140 --embed-thumbnail -o '~/Desktop/%(title)s.%(ext)s' https://www.youtube.com/watch?v=Unn-zX7Y7K4
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--ignore-config', '-f', '137+140', '--embed-thumbnail', '-o', '~/Desktop/%(title)s.%(ext)s', 'https://www.youtube.com/watch?v=Unn-zX7Y7K4']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2023.09.24.1
[debug] Lazy loading extractors enabled
[debug] Single file build
[debug] Python 3.8.10 (CPython x86_64 64bit) - Linux-5.4.0-166-generic-x86_64-with-glibc2.29 - OpenSSL 1.1.1f  31 Mar 2020 - glibc 2.31
[debug] exe versions: ffmpeg N-112634-gf2687a3b69-20231101, ffprobe N-112634-gf2687a3b69-20231101, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] Unn-zX7Y7K4: Downloading webpage
[debug] [youtube] Decrypted nsig qiO48hoTaYZnfK => 7T7aymItTZ3P2w
[debug] [youtube] Decrypted nsig HyjVI5YBSQGHxe => J_5ZdWxySqXXgA
[youtube] Unn-zX7Y7K4: Downloading thumbnail ...
[youtube] Unn-zX7Y7K4: Writing thumbnail to: /home/user/Desktop/INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.jpg
[debug] Invoking downloader on 'https://rr1---sn-5hneknee.googlevideo.com/videoplayback?expire=1699271747&ei=439IZbqPAcOZx_APzKOvwAY&ip=<REDACTED>&id=o-AIrsBQ78eR3Je-s1nUZlinMC0K7FEuFGz9fZos-_ElvS&itag=137&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&source=youtube&requiressl=yes&mh=uw&mm=31%2C29&mn=sn-5hneknee%2Csn-5hne6n6l&ms=au%2Crdu&mv=m&mvi=1&pl=14&initcwndbps=2407500&spc=UWF9f9MkU2m4s1CsiHus78Lhh1TObQyRHL5PHMUSYA&vprv=1&svpuc=1&mime=video%2Fmp4&ns=FBnmfB9es755FOrVCztfhX8P&gir=yes&clen=271454456&dur=1049.999&lmt=1692705192856127&mt=1699249734&fvip=1&keepalive=yes&fexp=24007246&beids=24350018&c=WEB&txp=7309224&n=7T7aymItTZ3P2w&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=ANLwegAwRAIgEYxzML48rAge5lz_gC1mPm_vAYtg7ALNxRM9mNZbz1ECIFCykcxDPnG7BtNXrYVad42tUfNVrnClVSJHddBAAjik&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AM8Gb2swRQIhAK_6I3h0OcbjrkI-bswMceV98EOh3hQi3Ia9zW0uxk9QAiB4IT3ZcrrL2xW8AhZ1hbS8g0Giuv6hzPVe7A2fJrHAJA%3D%3D'
[dashsegments] Total fragments: 26
[download] Destination: /home/user/Desktop/INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.f137.mp4
[download] 100% of 258.88MiB in 00:16
[debug] Invoking downloader on 'https://rr1---sn-5hneknee.googlevideo.com/videoplayback?expire=1699271747&ei=439IZbqPAcOZx_APzKOvwAY&ip=<REDACTED>&id=o-AIrsBQ78eR3Je-s1nUZlinMC0K7FEuFGz9fZos-_ElvS&itag=140&source=youtube&requiressl=yes&mh=uw&mm=31%2C29&mn=sn-5hneknee%2Csn-5hne6n6l&ms=au%2Crdu&mv=m&mvi=1&pl=14&initcwndbps=2407500&spc=UWF9f9MkU2m4s1CsiHus78Lhh1TObQyRHL5PHMUSYA&vprv=1&svpuc=1&mime=audio%2Fmp4&ns=FBnmfB9es755FOrVCztfhX8P&gir=yes&clen=16994692&dur=1050.052&lmt=1692705148866184&mt=1699249734&fvip=1&keepalive=yes&fexp=24007246&beids=24350018&c=WEB&txp=7308224&n=7T7aymItTZ3P2w&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=ANLwegAwRgIhAJ8wOceBrfbU52gRSzGbBExg-TGLrtaXn0yV1rSo67RAAiEAvkn_20JeGXReuAAcXqUgCe8Zwo8q6ozQFe6tB2w6Zm0%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AM8Gb2swRQIhAK_6I3h0OcbjrkI-bswMceV98EOh3hQi3Ia9zW0uxk9QAiB4IT3ZcrrL2xW8AhZ1hbS8g0Giuv6hzPVe7A2fJrHAJA%3D%3D'
[dashsegments] Total fragments: 2
[download] Destination: /home/user/Desktop/INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.f140.m4a
[download] 100% of 16.21MiB in 00:01
[ffmpeg] Merging formats into "/home/user/Desktop/INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/home/user/Desktop/INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.f137.mp4' -i 'file:/home/user/Desktop/INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.f140.m4a' -c copy -map 0:v:0 -map 1:a:0 'file:/home/user/Desktop/INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.temp.mp4'
Deleting original file /home/user/Desktop/INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.f137.mp4 (pass -k to keep)
Deleting original file /home/user/Desktop/INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.f140.m4a (pass -k to keep)
[ffmpeg] Adding thumbnail to "/home/user/Desktop/INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/home/user/Desktop/INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.mp4' -i 'file:/home/user/Desktop/INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.jpg' -c copy -map 0 -map 1 -disposition:v:1 attached_pic 'file:/home/user/Desktop/INVESTIDURA  - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.temp.mp4'

@nicolaasjan
or you could just use --no-warnings giggles

@vdegenne commented on GitHub (Nov 6, 2023): > > WARNING: [youtube] Unable to decode n-parameter: download likely to be throttled (expected string or bytes-like object, got 'NoneType' Traceback (most recent call last): > > See also #32534 and this comment [here](https://github.com/ytdl-org/youtube-dl/issues/32499#issuecomment-1674461332): > > > YT is now ignoring the ucbc=1 parameter that the extractor adds and redirecting via consent.youtube.com, for some pages. There is a fix but meanwhile try passing cookies from a browser session where you have already gone through the consent check, using the nightly build. > > See also [yt-dlp/yt-dlp#7594](https://github.com/yt-dlp/yt-dlp/issues/7594). Should be resolved by backporting [a fix](https://github.com/yt-dlp/yt-dlp/commit/378ae9f9fb8e8c86e6ac89c4c5b815b48ce93620) from yt-dlp, applied to `youtube.py`: > > ```diff > diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py > index 9c419c0..3bf483c 100644 > --- a/youtube_dl/extractor/youtube.py > +++ b/youtube_dl/extractor/youtube.py > @@ -260,16 +260,10 @@ class YoutubeBaseInfoExtractor(InfoExtractor): > cookies = self._get_cookies('https://www.youtube.com/') > if cookies.get('__Secure-3PSID'): > return > - consent_id = None > - consent = cookies.get('CONSENT') > - if consent: > - if 'YES' in consent.value: > - return > - consent_id = self._search_regex( > - r'PENDING\+(\d+)', consent.value, 'consent', default=None) > - if not consent_id: > - consent_id = random.randint(100, 999) > - self._set_cookie('.youtube.com', 'CONSENT', 'YES+cb.20210328-17-p0.en+FX+%s' % consent_id) > + socs = cookies.get('SOCS') > + if socs and not socs.value.startswith('CAA'): # not consented > + return > + self._set_cookie('.youtube.com', 'SOCS', 'CAI', secure=True) # accept all (required for mixes) > > def _real_initialize(self): > self._initialize_consent() > ``` > > After applying that, no warning any more **and** decent download speed 🙂 : > > ```shell > youtube-dl -v --ignore-config -f 137+140 --embed-thumbnail -o '~/Desktop/%(title)s.%(ext)s' https://www.youtube.com/watch?v=Unn-zX7Y7K4 > [debug] System config: [] > [debug] User config: [] > [debug] Custom config: [] > [debug] Command-line args: ['-v', '--ignore-config', '-f', '137+140', '--embed-thumbnail', '-o', '~/Desktop/%(title)s.%(ext)s', 'https://www.youtube.com/watch?v=Unn-zX7Y7K4'] > [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 > [debug] youtube-dl version 2023.09.24.1 > [debug] Lazy loading extractors enabled > [debug] Single file build > [debug] Python 3.8.10 (CPython x86_64 64bit) - Linux-5.4.0-166-generic-x86_64-with-glibc2.29 - OpenSSL 1.1.1f 31 Mar 2020 - glibc 2.31 > [debug] exe versions: ffmpeg N-112634-gf2687a3b69-20231101, ffprobe N-112634-gf2687a3b69-20231101, phantomjs 2.1.1, rtmpdump 2.4 > [debug] Proxy map: {} > [youtube] Unn-zX7Y7K4: Downloading webpage > [debug] [youtube] Decrypted nsig qiO48hoTaYZnfK => 7T7aymItTZ3P2w > [debug] [youtube] Decrypted nsig HyjVI5YBSQGHxe => J_5ZdWxySqXXgA > [youtube] Unn-zX7Y7K4: Downloading thumbnail ... > [youtube] Unn-zX7Y7K4: Writing thumbnail to: /home/user/Desktop/INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.jpg > [debug] Invoking downloader on 'https://rr1---sn-5hneknee.googlevideo.com/videoplayback?expire=1699271747&ei=439IZbqPAcOZx_APzKOvwAY&ip=<REDACTED>&id=o-AIrsBQ78eR3Je-s1nUZlinMC0K7FEuFGz9fZos-_ElvS&itag=137&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&source=youtube&requiressl=yes&mh=uw&mm=31%2C29&mn=sn-5hneknee%2Csn-5hne6n6l&ms=au%2Crdu&mv=m&mvi=1&pl=14&initcwndbps=2407500&spc=UWF9f9MkU2m4s1CsiHus78Lhh1TObQyRHL5PHMUSYA&vprv=1&svpuc=1&mime=video%2Fmp4&ns=FBnmfB9es755FOrVCztfhX8P&gir=yes&clen=271454456&dur=1049.999&lmt=1692705192856127&mt=1699249734&fvip=1&keepalive=yes&fexp=24007246&beids=24350018&c=WEB&txp=7309224&n=7T7aymItTZ3P2w&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=ANLwegAwRAIgEYxzML48rAge5lz_gC1mPm_vAYtg7ALNxRM9mNZbz1ECIFCykcxDPnG7BtNXrYVad42tUfNVrnClVSJHddBAAjik&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AM8Gb2swRQIhAK_6I3h0OcbjrkI-bswMceV98EOh3hQi3Ia9zW0uxk9QAiB4IT3ZcrrL2xW8AhZ1hbS8g0Giuv6hzPVe7A2fJrHAJA%3D%3D' > [dashsegments] Total fragments: 26 > [download] Destination: /home/user/Desktop/INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.f137.mp4 > [download] 100% of 258.88MiB in 00:16 > [debug] Invoking downloader on 'https://rr1---sn-5hneknee.googlevideo.com/videoplayback?expire=1699271747&ei=439IZbqPAcOZx_APzKOvwAY&ip=<REDACTED>&id=o-AIrsBQ78eR3Je-s1nUZlinMC0K7FEuFGz9fZos-_ElvS&itag=140&source=youtube&requiressl=yes&mh=uw&mm=31%2C29&mn=sn-5hneknee%2Csn-5hne6n6l&ms=au%2Crdu&mv=m&mvi=1&pl=14&initcwndbps=2407500&spc=UWF9f9MkU2m4s1CsiHus78Lhh1TObQyRHL5PHMUSYA&vprv=1&svpuc=1&mime=audio%2Fmp4&ns=FBnmfB9es755FOrVCztfhX8P&gir=yes&clen=16994692&dur=1050.052&lmt=1692705148866184&mt=1699249734&fvip=1&keepalive=yes&fexp=24007246&beids=24350018&c=WEB&txp=7308224&n=7T7aymItTZ3P2w&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=ANLwegAwRgIhAJ8wOceBrfbU52gRSzGbBExg-TGLrtaXn0yV1rSo67RAAiEAvkn_20JeGXReuAAcXqUgCe8Zwo8q6ozQFe6tB2w6Zm0%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AM8Gb2swRQIhAK_6I3h0OcbjrkI-bswMceV98EOh3hQi3Ia9zW0uxk9QAiB4IT3ZcrrL2xW8AhZ1hbS8g0Giuv6hzPVe7A2fJrHAJA%3D%3D' > [dashsegments] Total fragments: 2 > [download] Destination: /home/user/Desktop/INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.f140.m4a > [download] 100% of 16.21MiB in 00:01 > [ffmpeg] Merging formats into "/home/user/Desktop/INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.mp4" > [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/home/user/Desktop/INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.f137.mp4' -i 'file:/home/user/Desktop/INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.f140.m4a' -c copy -map 0:v:0 -map 1:a:0 'file:/home/user/Desktop/INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.temp.mp4' > Deleting original file /home/user/Desktop/INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.f137.mp4 (pass -k to keep) > Deleting original file /home/user/Desktop/INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.f140.m4a (pass -k to keep) > [ffmpeg] Adding thumbnail to "/home/user/Desktop/INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.mp4" > [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/home/user/Desktop/INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.mp4' -i 'file:/home/user/Desktop/INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.jpg' -c copy -map 0 -map 1 -disposition:v:1 attached_pic 'file:/home/user/Desktop/INVESTIDURA - SÁNCHEZ dice al REY que es la ÚNICA ALTERNATIVA de GOBIERNO POSIBLE _ RTVE Noticias.temp.mp4' > ``` @nicolaasjan or you could just use `--no-warnings` *giggles*
Author
Owner

@nicolaasjan commented on GitHub (Nov 6, 2023):

or you could just use --no-warnings giggles

Yes, but that still leaves you with the slow download speed.

[download] 0.4% of ~260.00MiB at 65.24KiB/s ETA 01:07:43^C

@nicolaasjan commented on GitHub (Nov 6, 2023): > or you could just use `--no-warnings` _giggles_ Yes, but that still leaves you with the slow download speed. > `[download] 0.4% of ~260.00MiB at 65.24KiB/s ETA 01:07:43^C`
Author
Owner

@dirkf commented on GitHub (Nov 6, 2023):

@php4fan, see the difference:
#32534, #32499: WARNING: unable to extract player URL
This issue: WARNING: unable to uploader id

@dirkf commented on GitHub (Nov 6, 2023): @php4fan, see the difference: #32534, #32499: `WARNING: unable to extract player URL` This issue: `WARNING: unable to uploader id`
Author
Owner

@fazliimam commented on GitHub (Nov 11, 2023):

Anyone got a solution for this?

@fazliimam commented on GitHub (Nov 11, 2023): Anyone got a solution for this?
Author
Owner

@php4fan commented on GitHub (Nov 12, 2023):

@fazlicodes the solution is to use https://github.com/yt-dlp/yt-dlp instead of youtube-dl.

@php4fan commented on GitHub (Nov 12, 2023): @fazlicodes the solution is to use https://github.com/yt-dlp/yt-dlp instead of youtube-dl.
Author
Owner

@idoodler commented on GitHub (Nov 13, 2023):

@fazlicodes the solution is to use https://github.com/yt-dlp/yt-dlp instead of youtube-dl.

Works like a charm, thx

@idoodler commented on GitHub (Nov 13, 2023): > @fazlicodes the solution is to use https://github.com/yt-dlp/yt-dlp instead of youtube-dl. Works like a charm, thx
Author
Owner

@n-sweep commented on GitHub (Nov 17, 2023):

@fazlicodes the solution is to use https://github.com/yt-dlp/yt-dlp instead of youtube-dl.

@php4fan thank you!

@n-sweep commented on GitHub (Nov 17, 2023): > @fazlicodes the solution is to use https://github.com/yt-dlp/yt-dlp instead of youtube-dl. @php4fan thank you!
Author
Owner

@relunctance commented on GitHub (Dec 4, 2023):

you can try :

https://github.com/yt-dlp/yt-dlp

@relunctance commented on GitHub (Dec 4, 2023): you can try : https://github.com/yt-dlp/yt-dlp
Author
Owner

@badjano commented on GitHub (Dec 18, 2023):

How is this closed? every video I try gives me this error and I tried downloading lates version a few times from different sources and it seems it is from 2021.

Some answers might help

@badjano commented on GitHub (Dec 18, 2023): How is this closed? every video I try gives me this error and I tried downloading lates version a few times from different sources and it seems it is from 2021. Some answers might help
Author
Owner

@dirkf commented on GitHub (Dec 18, 2023):

It's not closed. The answers you want are in the Description which you apparently couldn't be bothered to read.

@dirkf commented on GitHub (Dec 18, 2023): It's not closed. The answers you want are in the Description which you apparently couldn't be bothered to read.
Author
Owner

@Elmehdioub commented on GitHub (Dec 21, 2023):

I Have same issue and it's very annoying to have.

[youtube] 1fwJ8H5wWCU: 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.

@Elmehdioub commented on GitHub (Dec 21, 2023): I Have same issue and it's very annoying to have. [youtube] 1fwJ8H5wWCU: 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.
Author
Owner

@vodiylik commented on GitHub (Jan 13, 2024):

I have same issue

[youtube] tatNhs3Da8I: 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.
@vodiylik commented on GitHub (Jan 13, 2024): I have same issue ``` [youtube] tatNhs3Da8I: 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. ```
Author
Owner

@jayaBalaR commented on GitHub (Jan 30, 2024):

I am facing the same issue. Could you please help with a fix for the same. we want it for a POC for our university project

@jayaBalaR commented on GitHub (Jan 30, 2024): I am facing the same issue. Could you please help with a fix for the same. we want it for a POC for our university project
Author
Owner

@jayaBalaR commented on GitHub (Jan 30, 2024):

pasting the screen shot here
image

@jayaBalaR commented on GitHub (Jan 30, 2024): pasting the screen shot here ![image](https://github.com/ytdl-org/youtube-dl/assets/21074002/fc16cd6c-74d2-4dd1-9a8b-e69354da0e7a)
Author
Owner

@dirkf commented on GitHub (Jan 30, 2024):

@jayaBalaR: do read the issue text again. The Description explains how to solve your problem. So does #30839.

@dirkf commented on GitHub (Jan 30, 2024): @jayaBalaR: do read the issue text again. The [Description](https://github.com/ytdl-org/youtube-dl/issues/31530#Description) explains how to solve your problem. So does #30839.
Author
Owner

@snex commented on GitHub (Feb 5, 2024):

This issue is a year old. What possible reason can the devs have for not creating a release to fix an issue that makes the very idea of this app unusable? You say there's a fix in the source. So push it out already. Stop telling users to do custom nonsense.

@snex commented on GitHub (Feb 5, 2024): This issue is a year old. What possible reason can the devs have for not creating a release to fix an issue that makes the very idea of this app unusable? You say there's a fix in the source. So push it out already. Stop telling users to do custom nonsense.
Author
Owner

@paulrougieux commented on GitHub (Feb 5, 2024):

@snex difficult to understand, the main developer @dirkf 's most extensive justification appears to be here https://github.com/ytdl-org/youtube-dl/issues/31585

@paulrougieux commented on GitHub (Feb 5, 2024): @snex difficult to understand, the main developer @dirkf 's most extensive justification appears to be here https://github.com/ytdl-org/youtube-dl/issues/31585
Author
Owner

@dirkf commented on GitHub (Feb 5, 2024):

@snex, @paulrougieux: see "nightly build" in the Description. A final resolution of #31585 could be to port a similar workflow to the main repo.
And @jgspratt too.

@dirkf commented on GitHub (Feb 5, 2024): @snex, @paulrougieux: see "nightly build" in the [Description](https://github.com/ytdl-org/youtube-dl/issues/31530#Description). A final resolution of #31585 could be to port a similar workflow to the main repo. And @jgspratt too.
Author
Owner

@jgspratt commented on GitHub (Feb 6, 2024):

"In space, no one can hear you scream."

Move on, folks. Take a hint.

@jgspratt commented on GitHub (Feb 6, 2024): "In space, no one can hear you scream." Move on, folks. Take a hint.
Author
Owner

@calvinusesyourcode commented on GitHub (Jul 19, 2024):

^

@calvinusesyourcode commented on GitHub (Jul 19, 2024): ^
Author
Owner

@iamisti commented on GitHub (Feb 9, 2025):

Solution that worked for me: pip install --upgrade --force-reinstall "git+https://github.com/ytdl-org/youtube-dl.git"

@iamisti commented on GitHub (Feb 9, 2025): Solution that worked for me: `pip install --upgrade --force-reinstall "git+https://github.com/ytdl-org/youtube-dl.git"`
Author
Owner

@dazraf commented on GitHub (Feb 9, 2025):

Hi, I'm seeing the same bug with this invocation using 2021.12.17.

youtube-dl -F "https://www.youtube.com/watch?v=5neRAsS0nrY" --verbose                                                                                                    [16:12:45]
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-F', 'https://www.youtube.com/watch?v=5neRAsS0nrY', '--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.13.1 (CPython) - Linux-6.12.11-200.fc41.x86_64-x86_64-with-glibc2.40
[debug] exe versions: ffmpeg 7.0.2, ffprobe 7.0.2
[debug] Proxy map: {}
[youtube] 5neRAsS0nrY: 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/fuzz/tmp/youtube/./youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/home/fuzz/tmp/youtube/./youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/home/fuzz/tmp/youtube/./youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/home/fuzz/tmp/youtube/./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/fuzz/tmp/youtube/./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.
@dazraf commented on GitHub (Feb 9, 2025): Hi, I'm seeing the same bug with this invocation using 2021.12.17. ```bash youtube-dl -F "https://www.youtube.com/watch?v=5neRAsS0nrY" --verbose [16:12:45] [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-F', 'https://www.youtube.com/watch?v=5neRAsS0nrY', '--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.13.1 (CPython) - Linux-6.12.11-200.fc41.x86_64-x86_64-with-glibc2.40 [debug] exe versions: ffmpeg 7.0.2, ffprobe 7.0.2 [debug] Proxy map: {} [youtube] 5neRAsS0nrY: 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/fuzz/tmp/youtube/./youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/home/fuzz/tmp/youtube/./youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/home/fuzz/tmp/youtube/./youtube-dl/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/home/fuzz/tmp/youtube/./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/fuzz/tmp/youtube/./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. ```
Author
Owner

@nicolaasjan commented on GitHub (Feb 9, 2025):

Hi, I'm seeing the same bug with this invocation using 2021.12.17.

Did you actually read the Description at the top?

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. There is now a nightly build from the latest code here: this is the recommended solution.

So, use the Nightly version. 🙂

@nicolaasjan commented on GitHub (Feb 9, 2025): > Hi, I'm seeing the same bug with this invocation using 2021.12.17. Did you actually read the [Description](https://github.com/ytdl-org/youtube-dl/issues/31530#Description) at the top? > **See [below](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435975611) 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](https://github.com/ytdl-org/youtube-dl/issues/31585). There is now a **nightly build** from the latest code [here](https://github.com/ytdl-org/ytdl-nightly/releases): this is the **recommended solution**. > So, use the Nightly version. 🙂
Author
Owner

@lgmventura commented on GitHub (Mar 11, 2025):

The recommended solution doesn't work. Downloading youtube-dl and running it with a youtube link results in: /usr/bin/env: ‘python’: No such file or directory

@lgmventura commented on GitHub (Mar 11, 2025): The recommended solution doesn't work. Downloading youtube-dl and running it with a youtube link results in: `/usr/bin/env: ‘python’: No such file or directory`
Author
Owner

@itagagaki commented on GitHub (Mar 11, 2025):

The recommended solution doesn't work. Downloading youtube-dl and running it with a youtube link results in: /usr/bin/env: ‘python’: No such file or directory

It sounds like python just isn't installed properly, but what do you mean by “the recommended solution” anyway?

@itagagaki commented on GitHub (Mar 11, 2025): > The recommended solution doesn't work. Downloading youtube-dl and running it with a youtube link results in: `/usr/bin/env: ‘python’: No such file or directory` It sounds like python just isn't installed properly, but what do you mean by “the recommended solution” anyway?
Author
Owner

@lgmventura commented on GitHub (Mar 11, 2025):

The recommended solution doesn't work. Downloading youtube-dl and running it with a youtube link results in: /usr/bin/env: ‘python’: No such file or directory

It sounds like python just isn't installed properly, but what do you mean by “the recommended solution” anyway?

I meant the recommended solution given in the comment by @Shituation : https://github.com/ytdl-org/youtube-dl/issues/31530#issue-1587746229. Python 3 already comes installed on Ubuntu 24.04.

@lgmventura commented on GitHub (Mar 11, 2025): > > The recommended solution doesn't work. Downloading youtube-dl and running it with a youtube link results in: `/usr/bin/env: ‘python’: No such file or directory` > > It sounds like python just isn't installed properly, but what do you mean by “the recommended solution” anyway? I meant the recommended solution given in the comment by @Shituation : https://github.com/ytdl-org/youtube-dl/issues/31530#issue-1587746229. Python 3 already comes installed on Ubuntu 24.04.
Author
Owner

@dirkf commented on GitHub (Mar 11, 2025):

@lgmventura wrote:

The recommended solution doesn't work. Downloading youtube-dl and running it with a youtube link results in: /usr/bin/env: ‘python’: No such file or directory

The POSIX-ish single file version of the program expects a python to be on the PATH.

If your Python is called python3, and your Ubuntu version no longer has a python-is-python3 package, there are these options for running this version of the program:

  • manually create an alias named python on the executable PATH in the same way that the package did: recommended since it survives updating the program
  • insert 3 afterpython in the first first line of the executable (a zipimport bundle with a text (shebang) line followed by the zip-compressed program files) using a hex editor or even sed
  • invoke the program as python3 path/to/youtube-dl ....

Or install with pip, using, say, python3 -m pip ... from the .tar.gz archive in the nightly release assets.

These options are explained up-thread (and elsewhere) but GH makes it difficult to find.

The Windows single-file build contains enough of Python 3.4 to run itself, so is not affected by this problem.

@dirkf commented on GitHub (Mar 11, 2025): [@lgmventura wrote](https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-2715094996): >The recommended solution doesn't work. Downloading youtube-dl and running it with a youtube link results in: /usr/bin/env: ‘python’: No such file or directory The POSIX-ish single file version of the program expects a `python` to be on the `PATH`. If your Python is called `python3`, and your Ubuntu version no longer has a `python-is-python3` package, there are these options for running this version of the program: * manually create an alias named `python` on the executable `PATH` in the same way that the package did: recommended since it survives updating the program * insert `3` after`python` in the first first line of the executable (a zipimport bundle with a text (shebang) line followed by the zip-compressed program files) using a hex editor or even _sed_ * invoke the program as `python3 path/to/youtube-dl ...`. Or install with _pip_, using, say, `python3 -m pip ...` from the .tar.gz archive in the nightly release assets. These options are explained up-thread (and elsewhere) but GH makes it difficult to find. The Windows single-file build contains enough of Python 3.4 to run itself, so is not affected by this problem.
Author
Owner

@r1shabharora commented on GitHub (Mar 25, 2025):

It seems like the issue is still not fixed. Please see below error.

Image
@r1shabharora commented on GitHub (Mar 25, 2025): It seems like the issue is still not fixed. Please see below error. <img width="1402" alt="Image" src="https://github.com/user-attachments/assets/f469ce65-1cfb-4b8c-819c-96fb04a89d44" />
Author
Owner

@verhovensky commented on GitHub (Jun 28, 2025):

~ $ python3 ./youtube-dl 'https://www.youtube.com/watch?v=dEZKySL3M9c' --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.youtube.com/watch?v=dEZKySL3M9c', '--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.11.2 (CPython) - Linux-6.14.10-zabbly+-x86_64-with-glibc2.36
[debug] exe versions: ffmpeg 5.1.6-0, ffprobe 5.1.6-0
[debug] Proxy map: {}
[youtube] dEZKySL3M9c: Downloading webpage
[youtube] dEZKySL3M9c: Downloading API JSON
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/bulat/./youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bulat/./youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
^^^^^^^^^^^^^^^
File "/home/bulat/./youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bulat/./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/bulat/./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.
@verhovensky commented on GitHub (Jun 28, 2025): ``` ~ $ python3 ./youtube-dl 'https://www.youtube.com/watch?v=dEZKySL3M9c' --verbose [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['https://www.youtube.com/watch?v=dEZKySL3M9c', '--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.11.2 (CPython) - Linux-6.14.10-zabbly+-x86_64-with-glibc2.36 [debug] exe versions: ffmpeg 5.1.6-0, ffprobe 5.1.6-0 [debug] Proxy map: {} [youtube] dEZKySL3M9c: Downloading webpage [youtube] dEZKySL3M9c: Downloading API JSON 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/bulat/./youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/bulat/./youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) ^^^^^^^^^^^^^^^ File "/home/bulat/./youtube-dl/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/bulat/./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/bulat/./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. ```
Author
Owner

@nicolaasjan commented on GitHub (Jun 28, 2025):

@verhovensky
If you had read the description at the top of this post, you would have seen the recommendation to use the Nightly version.
But even with that one there is another issue now.

TL;DR;
Add a user agent to your command:
--user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0"

./youtube-dl  --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0" --verbose https://www.youtube.com/watch?v=dEZKySL3M9c
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--user-agent', 'Mozilla/5.0 (X11; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0', '--verbose', 'https://www.youtube.com/watch?v=dEZKySL3M9c']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2025.05.05 [a084c80f7] (single file build)
[debug] ** This version was built from the latest master code at https://github.com/ytdl-org/youtube-dl.
[debug] ** For support, visit the main site.
[debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-5.15.0-142-generic-x86_64-with-glibc2.35 - OpenSSL 3.0.2 15 Mar 2022 - glibc 2.35
[debug] exe versions: ffmpeg N-120041-g64fce7202c-20250626, ffprobe N-120041-g64fce7202c-20250626, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] dEZKySL3M9c: Downloading webpage
[youtube] dEZKySL3M9c: Downloading TVHTML5 API JSON
[youtube] dEZKySL3M9c: Downloading player a10d7fcc-main
[debug] Saving youtube-nsig.a10d7fcc-main to cache
[debug] [youtube] Decrypted nsig yw07pwU_EhCqnUseYyFEc => t7OCG89aMr6NJQ
[debug] [youtube] Decrypted nsig Tj0HS7iy7wHb9jqlaWo1O => LZFneLYzhfCLXQ
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://rr3---sn-5hne6nsk.googlevideo.com/videoplayback?expire=1751141140&ei=tPZfaN_nMsuPzPsP-IS74Aw&ip=<REDACTED>&id=o-AGEoEUqddIlJBFqMZGIbTwEq7KGLM9ZLKxuI08VX15pG&itag=299&aitags=134%2C136%2C160%2C243%2C298%2C299%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1751119540%2C&mh=x-&mm=31%2C26&mn=sn-5hne6nsk%2Csn-4g5lzner&ms=au%2Conr&mv=m&mvi=3&pl=16&rms=au%2Cau&initcwndbps=3595000&bui=AY1jyLNQQN3gb6-agCkApuzGIPc6YaJlmsnVMqO9Bp9YE1vz0YeEesbfvSc1gwBcD1YPPzspSEG_PdgG&vprv=1&svpuc=1&mime=video%2Fmp4&ns=3dD_YdYLkSRcLviongUJzXoQ&rqh=1&gir=yes&clen=36278557&dur=995.749&lmt=1740041679787007&mt=1751119050&fvip=1&keepalive=yes&lmw=1&c=TVHTML5&sefc=1&txp=5432534&n=LZFneLYzhfCLXQ&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRAIgTQTc2RSbKZH2V4AjVGk-CyTT1wmHD0-DdIhmhRZjHM4CIBD0K1fQWElS6DvkJspuBuFWZNZ5qL3-2UBneRH4Nz1V&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=APaTxxMwRAIgV4TDvTctOsfESyLjx2ye9qXfi5VFYUXIYo1YY_RhihUCIHfyvGioIYP4ZspBQkeJK2TYUV2xyWGTDzl_MMowYTsV'
[dashsegments] Total fragments: 4
[download] Destination: Async for loops in Python-dEZKySL3M9c.f299.mp4
[download] 100% of 34.60MiB in 00:01
[debug] Invoking downloader on 'https://rr3---sn-5hne6nsk.googlevideo.com/videoplayback?expire=1751141140&ei=tPZfaN_nMsuPzPsP-IS74Aw&ip=<REDACTED>&id=o-AGEoEUqddIlJBFqMZGIbTwEq7KGLM9ZLKxuI08VX15pG&itag=140&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1751119540%2C&mh=x-&mm=31%2C26&mn=sn-5hne6nsk%2Csn-4g5lzner&ms=au%2Conr&mv=m&mvi=3&pl=16&rms=au%2Cau&initcwndbps=3595000&bui=AY1jyLNQQN3gb6-agCkApuzGIPc6YaJlmsnVMqO9Bp9YE1vz0YeEesbfvSc1gwBcD1YPPzspSEG_PdgG&vprv=1&svpuc=1&mime=audio%2Fmp4&ns=3dD_YdYLkSRcLviongUJzXoQ&rqh=1&gir=yes&clen=16116874&dur=995.810&lmt=1740032440145561&mt=1751119050&fvip=1&keepalive=yes&lmw=1&c=TVHTML5&sefc=1&txp=5432534&n=LZFneLYzhfCLXQ&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIhAL0wTQ2v0ECzDWxOSnYIwrqN-h5RCO-tBLinYWuMv60BAiBYkviqQundoHs3dMghoRWJLs9yonms_v9WXD6OQWt3-A%3D%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=APaTxxMwRAIgV4TDvTctOsfESyLjx2ye9qXfi5VFYUXIYo1YY_RhihUCIHfyvGioIYP4ZspBQkeJK2TYUV2xyWGTDzl_MMowYTsV'
[dashsegments] Total fragments: 2
[download] Destination: Async for loops in Python-dEZKySL3M9c.m4a.f140.m4a
[download] 100% of 15.37MiB in 00:01
[ffmpeg] Merging formats into "Async for loops in Python-dEZKySL3M9c.mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:Async for loops in Python-dEZKySL3M9c.f299.mp4' -i 'file:Async for loops in Python-dEZKySL3M9c.m4a.f140.m4a' -c copy -map 0:v:0 -map 1:a:0 'file:Async for loops in Python-dEZKySL3M9c.temp.mp4'
Deleting original file Async for loops in Python-dEZKySL3M9c.f299.mp4 (pass -k to keep)
Deleting original file Async for loops in Python-dEZKySL3M9c.m4a.f140.m4a (pass -k to keep)

@nicolaasjan commented on GitHub (Jun 28, 2025): @verhovensky If you had read the [description](https://github.com/ytdl-org/youtube-dl/issues/31530#Description) at the top of this post, you would have seen the recommendation to use the [Nightly version](https://github.com/ytdl-org/ytdl-nightly/releases). But even with that one there is [another issue](https://github.com/ytdl-org/youtube-dl/issues/33142) now. TL;DR; Add a user agent to your command: `--user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0"` ```bash ./youtube-dl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0" --verbose https://www.youtube.com/watch?v=dEZKySL3M9c [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--user-agent', 'Mozilla/5.0 (X11; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0', '--verbose', 'https://www.youtube.com/watch?v=dEZKySL3M9c'] [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 [debug] youtube-dl version 2025.05.05 [a084c80f7] (single file build) [debug] ** This version was built from the latest master code at https://github.com/ytdl-org/youtube-dl. [debug] ** For support, visit the main site. [debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-5.15.0-142-generic-x86_64-with-glibc2.35 - OpenSSL 3.0.2 15 Mar 2022 - glibc 2.35 [debug] exe versions: ffmpeg N-120041-g64fce7202c-20250626, ffprobe N-120041-g64fce7202c-20250626, rtmpdump 2.4 [debug] Proxy map: {} [youtube] dEZKySL3M9c: Downloading webpage [youtube] dEZKySL3M9c: Downloading TVHTML5 API JSON [youtube] dEZKySL3M9c: Downloading player a10d7fcc-main [debug] Saving youtube-nsig.a10d7fcc-main to cache [debug] [youtube] Decrypted nsig yw07pwU_EhCqnUseYyFEc => t7OCG89aMr6NJQ [debug] [youtube] Decrypted nsig Tj0HS7iy7wHb9jqlaWo1O => LZFneLYzhfCLXQ [debug] Default format spec: bestvideo+bestaudio/best [debug] Invoking downloader on 'https://rr3---sn-5hne6nsk.googlevideo.com/videoplayback?expire=1751141140&ei=tPZfaN_nMsuPzPsP-IS74Aw&ip=<REDACTED>&id=o-AGEoEUqddIlJBFqMZGIbTwEq7KGLM9ZLKxuI08VX15pG&itag=299&aitags=134%2C136%2C160%2C243%2C298%2C299%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1751119540%2C&mh=x-&mm=31%2C26&mn=sn-5hne6nsk%2Csn-4g5lzner&ms=au%2Conr&mv=m&mvi=3&pl=16&rms=au%2Cau&initcwndbps=3595000&bui=AY1jyLNQQN3gb6-agCkApuzGIPc6YaJlmsnVMqO9Bp9YE1vz0YeEesbfvSc1gwBcD1YPPzspSEG_PdgG&vprv=1&svpuc=1&mime=video%2Fmp4&ns=3dD_YdYLkSRcLviongUJzXoQ&rqh=1&gir=yes&clen=36278557&dur=995.749&lmt=1740041679787007&mt=1751119050&fvip=1&keepalive=yes&lmw=1&c=TVHTML5&sefc=1&txp=5432534&n=LZFneLYzhfCLXQ&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRAIgTQTc2RSbKZH2V4AjVGk-CyTT1wmHD0-DdIhmhRZjHM4CIBD0K1fQWElS6DvkJspuBuFWZNZ5qL3-2UBneRH4Nz1V&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=APaTxxMwRAIgV4TDvTctOsfESyLjx2ye9qXfi5VFYUXIYo1YY_RhihUCIHfyvGioIYP4ZspBQkeJK2TYUV2xyWGTDzl_MMowYTsV' [dashsegments] Total fragments: 4 [download] Destination: Async for loops in Python-dEZKySL3M9c.f299.mp4 [download] 100% of 34.60MiB in 00:01 [debug] Invoking downloader on 'https://rr3---sn-5hne6nsk.googlevideo.com/videoplayback?expire=1751141140&ei=tPZfaN_nMsuPzPsP-IS74Aw&ip=<REDACTED>&id=o-AGEoEUqddIlJBFqMZGIbTwEq7KGLM9ZLKxuI08VX15pG&itag=140&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1751119540%2C&mh=x-&mm=31%2C26&mn=sn-5hne6nsk%2Csn-4g5lzner&ms=au%2Conr&mv=m&mvi=3&pl=16&rms=au%2Cau&initcwndbps=3595000&bui=AY1jyLNQQN3gb6-agCkApuzGIPc6YaJlmsnVMqO9Bp9YE1vz0YeEesbfvSc1gwBcD1YPPzspSEG_PdgG&vprv=1&svpuc=1&mime=audio%2Fmp4&ns=3dD_YdYLkSRcLviongUJzXoQ&rqh=1&gir=yes&clen=16116874&dur=995.810&lmt=1740032440145561&mt=1751119050&fvip=1&keepalive=yes&lmw=1&c=TVHTML5&sefc=1&txp=5432534&n=LZFneLYzhfCLXQ&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIhAL0wTQ2v0ECzDWxOSnYIwrqN-h5RCO-tBLinYWuMv60BAiBYkviqQundoHs3dMghoRWJLs9yonms_v9WXD6OQWt3-A%3D%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=APaTxxMwRAIgV4TDvTctOsfESyLjx2ye9qXfi5VFYUXIYo1YY_RhihUCIHfyvGioIYP4ZspBQkeJK2TYUV2xyWGTDzl_MMowYTsV' [dashsegments] Total fragments: 2 [download] Destination: Async for loops in Python-dEZKySL3M9c.m4a.f140.m4a [download] 100% of 15.37MiB in 00:01 [ffmpeg] Merging formats into "Async for loops in Python-dEZKySL3M9c.mp4" [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:Async for loops in Python-dEZKySL3M9c.f299.mp4' -i 'file:Async for loops in Python-dEZKySL3M9c.m4a.f140.m4a' -c copy -map 0:v:0 -map 1:a:0 'file:Async for loops in Python-dEZKySL3M9c.temp.mp4' Deleting original file Async for loops in Python-dEZKySL3M9c.f299.mp4 (pass -k to keep) Deleting original file Async for loops in Python-dEZKySL3M9c.m4a.f140.m4a (pass -k to keep) ```
Author
Owner

@HumanBot000 commented on GitHub (Jul 15, 2025):

@verhovensky If you had read the description at the top of this post, you would have seen the recommendation to use the Nightly version. But even with that one there is another issue now.

TL;DR; Add a user agent to your command: --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0"

./youtube-dl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0" --verbose https://www.youtube.com/watch?v=dEZKySL3M9c
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--user-agent', 'Mozilla/5.0 (X11; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0', '--verbose', 'https://www.youtube.com/watch?v=dEZKySL3M9c']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2025.05.05 [a084c80f7] (single file build)
[debug] ** This version was built from the latest master code at https://github.com/ytdl-org/youtube-dl.
[debug] ** For support, visit the main site.
[debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-5.15.0-142-generic-x86_64-with-glibc2.35 - OpenSSL 3.0.2 15 Mar 2022 - glibc 2.35
[debug] exe versions: ffmpeg N-120041-g64fce7202c-20250626, ffprobe N-120041-g64fce7202c-20250626, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] dEZKySL3M9c: Downloading webpage
[youtube] dEZKySL3M9c: Downloading TVHTML5 API JSON
[youtube] dEZKySL3M9c: Downloading player a10d7fcc-main
[debug] Saving youtube-nsig.a10d7fcc-main to cache
[debug] [youtube] Decrypted nsig yw07pwU_EhCqnUseYyFEc => t7OCG89aMr6NJQ
[debug] [youtube] Decrypted nsig Tj0HS7iy7wHb9jqlaWo1O => LZFneLYzhfCLXQ
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://rr3---sn-5hne6nsk.googlevideo.com/videoplayback?expire=1751141140&ei=tPZfaN_nMsuPzPsP-IS74Aw&ip=&id=o-AGEoEUqddIlJBFqMZGIbTwEq7KGLM9ZLKxuI08VX15pG&itag=299&aitags=134%2C136%2C160%2C243%2C298%2C299%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1751119540%2C&mh=x-&mm=31%2C26&mn=sn-5hne6nsk%2Csn-4g5lzner&ms=au%2Conr&mv=m&mvi=3&pl=16&rms=au%2Cau&initcwndbps=3595000&bui=AY1jyLNQQN3gb6-agCkApuzGIPc6YaJlmsnVMqO9Bp9YE1vz0YeEesbfvSc1gwBcD1YPPzspSEG_PdgG&vprv=1&svpuc=1&mime=video%2Fmp4&ns=3dD_YdYLkSRcLviongUJzXoQ&rqh=1&gir=yes&clen=36278557&dur=995.749&lmt=1740041679787007&mt=1751119050&fvip=1&keepalive=yes&lmw=1&c=TVHTML5&sefc=1&txp=5432534&n=LZFneLYzhfCLXQ&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRAIgTQTc2RSbKZH2V4AjVGk-CyTT1wmHD0-DdIhmhRZjHM4CIBD0K1fQWElS6DvkJspuBuFWZNZ5qL3-2UBneRH4Nz1V&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=APaTxxMwRAIgV4TDvTctOsfESyLjx2ye9qXfi5VFYUXIYo1YY_RhihUCIHfyvGioIYP4ZspBQkeJK2TYUV2xyWGTDzl_MMowYTsV'
[dashsegments] Total fragments: 4
[download] Destination: Async for loops in Python-dEZKySL3M9c.f299.mp4
[download] 100% of 34.60MiB in 00:01
[debug] Invoking downloader on 'https://rr3---sn-5hne6nsk.googlevideo.com/videoplayback?expire=1751141140&ei=tPZfaN_nMsuPzPsP-IS74Aw&ip=&id=o-AGEoEUqddIlJBFqMZGIbTwEq7KGLM9ZLKxuI08VX15pG&itag=140&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1751119540%2C&mh=x-&mm=31%2C26&mn=sn-5hne6nsk%2Csn-4g5lzner&ms=au%2Conr&mv=m&mvi=3&pl=16&rms=au%2Cau&initcwndbps=3595000&bui=AY1jyLNQQN3gb6-agCkApuzGIPc6YaJlmsnVMqO9Bp9YE1vz0YeEesbfvSc1gwBcD1YPPzspSEG_PdgG&vprv=1&svpuc=1&mime=audio%2Fmp4&ns=3dD_YdYLkSRcLviongUJzXoQ&rqh=1&gir=yes&clen=16116874&dur=995.810&lmt=1740032440145561&mt=1751119050&fvip=1&keepalive=yes&lmw=1&c=TVHTML5&sefc=1&txp=5432534&n=LZFneLYzhfCLXQ&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIhAL0wTQ2v0ECzDWxOSnYIwrqN-h5RCO-tBLinYWuMv60BAiBYkviqQundoHs3dMghoRWJLs9yonms_v9WXD6OQWt3-A%3D%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=APaTxxMwRAIgV4TDvTctOsfESyLjx2ye9qXfi5VFYUXIYo1YY_RhihUCIHfyvGioIYP4ZspBQkeJK2TYUV2xyWGTDzl_MMowYTsV'
[dashsegments] Total fragments: 2
[download] Destination: Async for loops in Python-dEZKySL3M9c.m4a.f140.m4a
[download] 100% of 15.37MiB in 00:01
[ffmpeg] Merging formats into "Async for loops in Python-dEZKySL3M9c.mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:Async for loops in Python-dEZKySL3M9c.f299.mp4' -i 'file:Async for loops in Python-dEZKySL3M9c.m4a.f140.m4a' -c copy -map 0✌️0 -map 1🅰️0 'file:Async for loops in Python-dEZKySL3M9c.temp.mp4'
Deleting original file Async for loops in Python-dEZKySL3M9c.f299.mp4 (pass -k to keep)
Deleting original file Async for loops in Python-dEZKySL3M9c.m4a.f140.m4a (pass -k to keep)

Doesn't work anymore

@HumanBot000 commented on GitHub (Jul 15, 2025): > [@verhovensky](https://github.com/verhovensky) If you had read the [description](https://github.com/ytdl-org/youtube-dl/issues/31530#Description) at the top of this post, you would have seen the recommendation to use the [Nightly version](https://github.com/ytdl-org/ytdl-nightly/releases). But even with that one there is [another issue](https://github.com/ytdl-org/youtube-dl/issues/33142) now. > > TL;DR; Add a user agent to your command: `--user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0"` > > ./youtube-dl --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0" --verbose https://www.youtube.com/watch?v=dEZKySL3M9c > [debug] System config: [] > [debug] User config: [] > [debug] Custom config: [] > [debug] Command-line args: ['--user-agent', 'Mozilla/5.0 (X11; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0', '--verbose', 'https://www.youtube.com/watch?v=dEZKySL3M9c'] > [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 > [debug] youtube-dl version 2025.05.05 [a084c80f7] (single file build) > [debug] ** This version was built from the latest master code at https://github.com/ytdl-org/youtube-dl. > [debug] ** For support, visit the main site. > [debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-5.15.0-142-generic-x86_64-with-glibc2.35 - OpenSSL 3.0.2 15 Mar 2022 - glibc 2.35 > [debug] exe versions: ffmpeg N-120041-g64fce7202c-20250626, ffprobe N-120041-g64fce7202c-20250626, rtmpdump 2.4 > [debug] Proxy map: {} > [youtube] dEZKySL3M9c: Downloading webpage > [youtube] dEZKySL3M9c: Downloading TVHTML5 API JSON > [youtube] dEZKySL3M9c: Downloading player a10d7fcc-main > [debug] Saving youtube-nsig.a10d7fcc-main to cache > [debug] [youtube] Decrypted nsig yw07pwU_EhCqnUseYyFEc => t7OCG89aMr6NJQ > [debug] [youtube] Decrypted nsig Tj0HS7iy7wHb9jqlaWo1O => LZFneLYzhfCLXQ > [debug] Default format spec: bestvideo+bestaudio/best > [debug] Invoking downloader on 'https://rr3---sn-5hne6nsk.googlevideo.com/videoplayback?expire=1751141140&ei=tPZfaN_nMsuPzPsP-IS74Aw&ip=<REDACTED>&id=o-AGEoEUqddIlJBFqMZGIbTwEq7KGLM9ZLKxuI08VX15pG&itag=299&aitags=134%2C136%2C160%2C243%2C298%2C299%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1751119540%2C&mh=x-&mm=31%2C26&mn=sn-5hne6nsk%2Csn-4g5lzner&ms=au%2Conr&mv=m&mvi=3&pl=16&rms=au%2Cau&initcwndbps=3595000&bui=AY1jyLNQQN3gb6-agCkApuzGIPc6YaJlmsnVMqO9Bp9YE1vz0YeEesbfvSc1gwBcD1YPPzspSEG_PdgG&vprv=1&svpuc=1&mime=video%2Fmp4&ns=3dD_YdYLkSRcLviongUJzXoQ&rqh=1&gir=yes&clen=36278557&dur=995.749&lmt=1740041679787007&mt=1751119050&fvip=1&keepalive=yes&lmw=1&c=TVHTML5&sefc=1&txp=5432534&n=LZFneLYzhfCLXQ&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRAIgTQTc2RSbKZH2V4AjVGk-CyTT1wmHD0-DdIhmhRZjHM4CIBD0K1fQWElS6DvkJspuBuFWZNZ5qL3-2UBneRH4Nz1V&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=APaTxxMwRAIgV4TDvTctOsfESyLjx2ye9qXfi5VFYUXIYo1YY_RhihUCIHfyvGioIYP4ZspBQkeJK2TYUV2xyWGTDzl_MMowYTsV' > [dashsegments] Total fragments: 4 > [download] Destination: Async for loops in Python-dEZKySL3M9c.f299.mp4 > [download] 100% of 34.60MiB in 00:01 > [debug] Invoking downloader on 'https://rr3---sn-5hne6nsk.googlevideo.com/videoplayback?expire=1751141140&ei=tPZfaN_nMsuPzPsP-IS74Aw&ip=<REDACTED>&id=o-AGEoEUqddIlJBFqMZGIbTwEq7KGLM9ZLKxuI08VX15pG&itag=140&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1751119540%2C&mh=x-&mm=31%2C26&mn=sn-5hne6nsk%2Csn-4g5lzner&ms=au%2Conr&mv=m&mvi=3&pl=16&rms=au%2Cau&initcwndbps=3595000&bui=AY1jyLNQQN3gb6-agCkApuzGIPc6YaJlmsnVMqO9Bp9YE1vz0YeEesbfvSc1gwBcD1YPPzspSEG_PdgG&vprv=1&svpuc=1&mime=audio%2Fmp4&ns=3dD_YdYLkSRcLviongUJzXoQ&rqh=1&gir=yes&clen=16116874&dur=995.810&lmt=1740032440145561&mt=1751119050&fvip=1&keepalive=yes&lmw=1&c=TVHTML5&sefc=1&txp=5432534&n=LZFneLYzhfCLXQ&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIhAL0wTQ2v0ECzDWxOSnYIwrqN-h5RCO-tBLinYWuMv60BAiBYkviqQundoHs3dMghoRWJLs9yonms_v9WXD6OQWt3-A%3D%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=APaTxxMwRAIgV4TDvTctOsfESyLjx2ye9qXfi5VFYUXIYo1YY_RhihUCIHfyvGioIYP4ZspBQkeJK2TYUV2xyWGTDzl_MMowYTsV' > [dashsegments] Total fragments: 2 > [download] Destination: Async for loops in Python-dEZKySL3M9c.m4a.f140.m4a > [download] 100% of 15.37MiB in 00:01 > [ffmpeg] Merging formats into "Async for loops in Python-dEZKySL3M9c.mp4" > [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:Async for loops in Python-dEZKySL3M9c.f299.mp4' -i 'file:Async for loops in Python-dEZKySL3M9c.m4a.f140.m4a' -c copy -map 0:v:0 -map 1:a:0 'file:Async for loops in Python-dEZKySL3M9c.temp.mp4' > Deleting original file Async for loops in Python-dEZKySL3M9c.f299.mp4 (pass -k to keep) > Deleting original file Async for loops in Python-dEZKySL3M9c.m4a.f140.m4a (pass -k to keep) Doesn't work anymore
Author
Owner

@Vangelis66 commented on GitHub (Jul 15, 2025):

Doesn't work anymore

@HumanBot000, in what way is it NOT working for you? Where is the verbose log of your failure(s) ?
FWIW, it's still working OK here by using the UA shared above by @nicolaasjan:

youtube-dl -vf 18 "dEZKySL3M9c" --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0" => 

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-vf', '18', 'dEZKySL3M9c', '--user-agent', 'Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0']
[debug] Encodings: locale cp1253, fs mbcs, out cp737, pref cp1253
[debug] youtube-dl version 2025.05.05 [a084c80f7] (single file build)
[debug] ** This version was built from the latest master code at https://github.com/ytdl-org/youtube-dl.
[debug] ** For support, visit the main site.
[debug] Python 3.4.4 (CPython x86 32bit) - Windows-Vista-6.0.6003-SP2 - OpenSSL 1.0.2d 9 Jul 2015
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] dEZKySL3M9c: Downloading webpage
[youtube] dEZKySL3M9c: Downloading TVHTML5 API JSON
[debug] Loading youtube-nsig.69b31e11-main from cache
[debug] [youtube] Decrypted nsig hyyBxrnOF5ZTyk9h5 => OColx8yzK8vbBA
[debug] [youtube] Decrypted nsig TuZPTYleWaSlTygGU => B1QVPfXtFO6ysQ
[debug] Invoking downloader on 'https://rr3---sn-4vguioxu-n3bl.googlevideo.com/videoplayback?dur=995.810&xpc=EgVo2aDSNQ%3D%3D&vprv=1&mvi=3&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&sefc=1&mime=video%2Fmp4&ei=8d52aJO1NvXap-oP25TrgAk&ip=[redacted]&mm=31%2C29&n=OColx8yzK8vbBA&mv=m&pl=18&ratebypass=yes&rms=au%2Cau&svpuc=1&fvip=2&txp=8208224&ms=au%2Crdu&requiressl=yes&mt=1752620256&sig=AJfQdSswRAIgOGRWr15E3Z0RvbAGfGRtSLv6x3-48l68Trs63ltD6swCIHnhVk6EctU2xR77ZLOq6mhYgqIK1SEUoGPP_YfsuXRl&source=youtube&mh=x-&fexp=51544120&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Ccnr%2Cratebypass%2Cdur%2Clmt&rqh=1&c=TVHTML5&met=1752620785%2C&mn=sn-4vguioxu-n3bl%2Csn-nv47znee&lsig=APaTxxMwRAIgWQvayjGc33ah62p-FlDiYNlHKWCFQEhYIajCLOhDfzsCIApQF32XyfjYHFcHuYV76Clkeq4U_QyuaEH9y-OaZ0_0&lmw=1&expire=1752642385&lmt=1750725344008818&itag=18&bui=AY1jyLPQ5w4_KJiTSRH1xWbbyzyQYU3iQNVfiJzakZPSHyeAEPxNXfLyPPHCEwo57_o71_tElSBOqGac&ns=iuEWUw4dxsVSBgtyRb2Uv3IQ&cnr=14&id=o-AIZFw6ATXRvFNsWFm_ktfu1Mz5O95aQ-p2gUjV4Xf46k&initcwndbps=1033750'
[download] Destination: Async for loops in Python-dEZKySL3M9c.mp4
[download] 100% of 19.21MiB in 00:24

If it isn't obvious to you already from the log, I'm using the Windows 32-bit youtube-dl.exe binary, as offered on:

https://github.com/ytdl-org/ytdl-nightly/releases/tag/2025.05.05

(... and I'm just guessing here 😜 , but this issue probably isn't the right one to have reported your alleged failure(s) )

@Vangelis66 commented on GitHub (Jul 15, 2025): > Doesn't work anymore @HumanBot000, in what way is it NOT working for you? Where is the verbose log of your failure(s) ? FWIW, it's **still working OK here** by using the UA shared above by @nicolaasjan: ```console youtube-dl -vf 18 "dEZKySL3M9c" --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0" => [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-vf', '18', 'dEZKySL3M9c', '--user-agent', 'Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0'] [debug] Encodings: locale cp1253, fs mbcs, out cp737, pref cp1253 [debug] youtube-dl version 2025.05.05 [a084c80f7] (single file build) [debug] ** This version was built from the latest master code at https://github.com/ytdl-org/youtube-dl. [debug] ** For support, visit the main site. [debug] Python 3.4.4 (CPython x86 32bit) - Windows-Vista-6.0.6003-SP2 - OpenSSL 1.0.2d 9 Jul 2015 [debug] exe versions: none [debug] Proxy map: {} [youtube] dEZKySL3M9c: Downloading webpage [youtube] dEZKySL3M9c: Downloading TVHTML5 API JSON [debug] Loading youtube-nsig.69b31e11-main from cache [debug] [youtube] Decrypted nsig hyyBxrnOF5ZTyk9h5 => OColx8yzK8vbBA [debug] [youtube] Decrypted nsig TuZPTYleWaSlTygGU => B1QVPfXtFO6ysQ [debug] Invoking downloader on 'https://rr3---sn-4vguioxu-n3bl.googlevideo.com/videoplayback?dur=995.810&xpc=EgVo2aDSNQ%3D%3D&vprv=1&mvi=3&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&sefc=1&mime=video%2Fmp4&ei=8d52aJO1NvXap-oP25TrgAk&ip=[redacted]&mm=31%2C29&n=OColx8yzK8vbBA&mv=m&pl=18&ratebypass=yes&rms=au%2Cau&svpuc=1&fvip=2&txp=8208224&ms=au%2Crdu&requiressl=yes&mt=1752620256&sig=AJfQdSswRAIgOGRWr15E3Z0RvbAGfGRtSLv6x3-48l68Trs63ltD6swCIHnhVk6EctU2xR77ZLOq6mhYgqIK1SEUoGPP_YfsuXRl&source=youtube&mh=x-&fexp=51544120&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Ccnr%2Cratebypass%2Cdur%2Clmt&rqh=1&c=TVHTML5&met=1752620785%2C&mn=sn-4vguioxu-n3bl%2Csn-nv47znee&lsig=APaTxxMwRAIgWQvayjGc33ah62p-FlDiYNlHKWCFQEhYIajCLOhDfzsCIApQF32XyfjYHFcHuYV76Clkeq4U_QyuaEH9y-OaZ0_0&lmw=1&expire=1752642385&lmt=1750725344008818&itag=18&bui=AY1jyLPQ5w4_KJiTSRH1xWbbyzyQYU3iQNVfiJzakZPSHyeAEPxNXfLyPPHCEwo57_o71_tElSBOqGac&ns=iuEWUw4dxsVSBgtyRb2Uv3IQ&cnr=14&id=o-AIZFw6ATXRvFNsWFm_ktfu1Mz5O95aQ-p2gUjV4Xf46k&initcwndbps=1033750' [download] Destination: Async for loops in Python-dEZKySL3M9c.mp4 [download] 100% of 19.21MiB in 00:24 ``` If it isn't obvious to you already from the log, I'm using the **Windows 32-bit** `youtube-dl.exe` binary, as offered on: https://github.com/ytdl-org/ytdl-nightly/releases/tag/2025.05.05 (... and I'm just guessing here 😜 , but this issue probably isn't the right one to have reported your alleged failure(s) )
Author
Owner

@dirkf commented on GitHub (Jul 16, 2025):

...this issue probably isn't the right one to have reported your alleged failure(s)

How true.

@dirkf commented on GitHub (Jul 16, 2025): >...this issue probably isn't the right one to have reported your alleged failure(s) How true.
Author
Owner

@AyvazovAleksandr commented on GitHub (Nov 28, 2025):

This issue was never resolved, the current code was used!

@AyvazovAleksandr commented on GitHub (Nov 28, 2025): This issue was never resolved, the current code was used!
Author
Owner
@dirkf commented on GitHub (Nov 29, 2025): https://github.com/ytdl-org/youtube-dl/issues/31530#issue-1587746229 #30839
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#25717
No description provided.