Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

youtube-dl has a bug fix that isn't in the latest void package #44758

Closed
habiloid opened this issue Jul 1, 2023 · 2 comments
Closed

youtube-dl has a bug fix that isn't in the latest void package #44758

habiloid opened this issue Jul 1, 2023 · 2 comments
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed

Comments

@habiloid
Copy link

habiloid commented Jul 1, 2023

Is this a new report?

Yes

System Info

Void 6.1.34_1 x86_64-musl AuthenticAMD

Package(s) Affected

youtube-dl-2021.12.17_2

Does a report exist for this bug with the project's home (upstream) and/or another distro?

No response

Expected behaviour

Expect package to down load video from youtube

Actual behaviour

Fails to download:

youtube-dl --verbose 'https://www.youtube.com/watch?v=a_0xLaSQAQ0'

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=a_0xLaSQAQ0']
[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.4 (CPython) - Linux-6.1.34_1-x86_64-with-libc
[debug] exe versions: ffmpeg 4.4.4, ffprobe 4.4.4
[debug] Proxy map: {}
[youtube] a_0xLaSQAQ0: 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/up
date 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 vers
ion; 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.

Steps to reproduce

  1. Try to download a video such as one above
  2. It fails
  3. If latest version on youtube-dl's github is used (version number is same but bug has been fixed) it works
@habiloid habiloid added bug Something isn't working needs-testing Testing a PR or reproducing an issue needed labels Jul 1, 2023
@Bnyro
Copy link
Contributor

Bnyro commented Jul 1, 2023

You should follow one of the steps described at ytdl-org/youtube-dl#31530 (comment). We can't just apply a simple patch to it because there have been a lot of changes between the latest release and the commit, that fixes the issue.
I can only recommend using yt-dlp for now.

@Piraty
Copy link
Member

Piraty commented Jul 10, 2023

until upstream youtube-dl tags a new release, you may use yt-dlp, either from Void's repos or pypi.

@Piraty Piraty closed this as completed Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed
Projects
None yet
Development

No branches or pull requests

3 participants