Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

YT DL lib issue - Unable to extract uploader id #63

Open
Urgarth opened this issue Feb 3, 2025 · 1 comment
Open

YT DL lib issue - Unable to extract uploader id #63

Urgarth opened this issue Feb 3, 2025 · 1 comment

Comments

@Urgarth
Copy link

Urgarth commented Feb 3, 2025

Hello, do we need to use yt-dlp lib instead?

python3 -m album_splitter -yt https://youtu.be/56mJxMMi9bA
Reading tracks file
Found the following tracks:
        dorian concepthide (cs01 version + slowed) - 0:00:00
        morelockea walk along the gates - 0:02:15
        pentagram home videoa warning before reading - 0:05:49
        justin bellelmshore (from pillars of eternity) - 0:07:37
        repulsivefriendship bracelet - 0:10:09
        jeremy soulerich house (from neverwinter nights) - 0:11:48
        pafundmysteries of an ancient church - 0:13:01
        fimnursilent halls - 0:18:14
        acasiael bosque de los sueños - 0:21:52
        erythrite thronedevil's night - 0:24:50
        malfetlost in broceliande - 0:26:21
        ulkoutward and inward - 0:32:05
        ulktortoise i - 0:37:09
        pafundthe beyond - 0:39:59
Downloading video from YouTube
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/urgarth/.local/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/home/urgarth/.local/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/home/urgarth/.local/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/home/urgarth/.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/urgarth/.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.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/urgarth/useful_repos/album-splitter/album_splitter/__main__.py", line 169, in <module>
    ydl.download([args.youtube_url])
  File "/home/urgarth/.local/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 2068, in download
    res = self.extract_info(
  File "/home/urgarth/.local/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 808, in extract_info
    return self.__extract_info(url, ie, download, extra_info, process)
  File "/home/urgarth/.local/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 824, in wrapper
    self.report_error(compat_str(e), e.format_traceback())
  File "/home/urgarth/.local/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 628, in report_error
    self.trouble(error_message, tb)
  File "/home/urgarth/.local/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 598, in trouble
    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.
@crisbal
Copy link
Owner

crisbal commented Feb 9, 2025

Hello,

can you please make sure you use an updated version of this software? I would suggest to completely uninstall and remove the venv and follow the README file

We have switched to yt-dlp since 3 years ago.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants