Bug 2203137

Summary: Please pull in additioal patches fro upstream
Product: [Fedora] Fedora Reporter: Matthias Runge <mrunge>
Component: youtube-dlAssignee: Till Maas <opensource>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: david08741, james, opensource, tim
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: youtube-dl-2023.07.30.git2efc8de-1.20230815git2efc8de.fc37 youtube-dl-2023.08.04.git86e3cf5-1.20230815git86e3cf5.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-25 00:42:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matthias Runge 2023-05-11 10:02:20 UTC
youtube-dl --verbose https://www.youtube.com/watch?v=5EkkMfjetEY
[debug] System config: ['--prefer-free-formats']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=5EkkMfjetEY']
[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.14-300.fc38.x86_64-x86_64-with-glibc2.37
[debug] exe versions: ffmpeg 6.0, ffprobe 6.0
[debug] Proxy map: {}
[youtube] 5EkkMfjetEY: 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 814, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 835, 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.

That seems to be fixed by https://github.com/ytdl-org/youtube-dl/pull/31675/files



Reproducible: Always

Steps to Reproduce:
1. see description
2.
3.

Comment 1 Matthias Runge 2023-05-11 10:13:17 UTC
unfortunately, the patch does not apply cleanly on the already little aged sources :/

Comment 2 david08741 2023-05-13 22:38:41 UTC
We could just use the latest snapshot from upstream.

However, would it not be better to switch to yt-dlp instead? Do you have a good reason to keep using youtube-dl?

Comment 3 Fedora Update System 2023-08-16 07:18:42 UTC
FEDORA-2023-1f11546a48 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-1f11546a48

Comment 4 Fedora Update System 2023-08-16 07:23:10 UTC
FEDORA-2023-5435c10480 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-5435c10480

Comment 5 Fedora Update System 2023-08-17 01:30:13 UTC
FEDORA-2023-1f11546a48 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-1f11546a48`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-1f11546a48

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2023-08-17 01:32:06 UTC
FEDORA-2023-5435c10480 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-5435c10480`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-5435c10480

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2023-08-25 00:42:21 UTC
FEDORA-2023-5435c10480 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2023-08-25 01:28:42 UTC
FEDORA-2023-1f11546a48 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.