-- Leo's gemini proxy

-- Connecting to my-adventures.at:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

░░░█▄█░█░█
░░░█░█░░█░
░░░▀░▀░░▀░
░█▀█░█▀▄░█░█░█▀▀░█▀█░▀█▀░█░█░█▀▄░█▀▀░█▀▀
░█▀█░█░█░▀▄▀░█▀▀░█░█░░█░░█░█░█▀▄░█▀▀░▀▀█
░▀░▀░▀▀░░░▀░░▀▀▀░▀░▀░░▀░░▀▀▀░▀░▀░▀▀▀░▀▀▀
░░░░░░░░░░░░░░░░░░░░░█▀█░▀█▀
░░░░░░░░░░░░░░░░░░░░░█▀█░░█░
░░░░░░░░░░░░░░░░░░░░░▀░▀░░▀░

How to


25/06/2023


Fix youtube-dl error Unable to extract uploader id

youtube-dl version 2021.12.17


Error message


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


Run youtube-dl with the

> --verbose

flag. You should get an output looking something like this:


Traceback (most recent call last):

File "/usr/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 814, in wrapper

return func(self, *args, **kwargs)

File "/usr/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 835, 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.


Find the line ending in "youtube.py".

Use your favourite text editor (vim) and comment out the line referenced (i.e. line 1794).


> sudo vim /usr/lib/python3.10/site-packages/youtube_dl/extractor/youtube.py

> # [corresponding line]

> :wq [to exit]


youtube-dl should work again now.


Back

Main (back)



▓█████  ███▄    █ ▓█████▄     ▒█████    █████▒    ██▓███   ▄▄▄        ▄████ ▓█████
▓█   ▀  ██ ▀█   █ ▒██▀ ██▌   ▒██▒  ██▒▓██   ▒    ▓██░  ██▒▒████▄     ██▒ ▀█▒▓█   ▀
▒███   ▓██  ▀█ ██▒░██   █▌   ▒██░  ██▒▒████ ░    ▓██░ ██▓▒▒██  ▀█▄  ▒██░▄▄▄░▒███
▒▓█  ▄ ▓██▒  ▐▌██▒░▓█▄   ▌   ▒██   ██░░▓█▒  ░    ▒██▄█▓▒ ▒░██▄▄▄▄██ ░▓█  ██▓▒▓█  ▄
░▒████▒▒██░   ▓██░░▒████▓    ░ ████▓▒░░▒█░       ▒██▒ ░  ░ ▓█   ▓██▒░▒▓███▀▒░▒████▒
░░ ▒░ ░░ ▒░   ▒ ▒  ▒▒▓  ▒    ░ ▒░▒░▒░  ▒ ░       ▒▓▒░ ░  ░ ▒▒   ▓▒█░ ░▒   ▒ ░░ ▒░ ░
 ░ ░  ░░ ░░   ░ ▒░ ░ ▒  ▒      ░ ▒ ▒░  ░         ░▒ ░       ▒   ▒▒ ░  ░   ░  ░ ░  ░
   ░      ░   ░ ░  ░ ░  ░    ░ ░ ░ ▒   ░ ░       ░░         ░   ▒   ░ ░   ░    ░
   ░  ░         ░    ░           ░ ░                            ░  ░      ░    ░  ░
                   ░

-- Response ended

-- Page fetched on Mon May 20 21:17:26 2024