Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1648103

Summary: Not able to download video from Youtube: youtube_dl.utils.RegexNotFoundError
Product: [Fedora] Fedora Reporter: Couret Charles-Antoine <renault>
Component: youtube-dlAssignee: Till Maas <opensource>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 29CC: mcepl, opensource, rafalzaq, thib, tim
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: youtube-dl-2018.11.07-1.fc29 youtube-dl-2018.11.07-1.fc28 youtube-dl-2018.11.07-1.fc27 youtube-dl-2018.11.07-1.el7 youtube-dl-2018.11.07-1.el6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-12 02:14:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1648551    
Bug Blocks:    

Description Couret Charles-Antoine 2018-11-08 20:35:53 UTC
Description of problem:

Try to download any video from Youtube fails with following error:
[Renault@Abby dwhelper]$ youtube-dl https://www.youtube.com/watch?v=Io0fBr1XBUA
[youtube] Io0fBr1XBUA: Downloading webpage
[youtube] Io0fBr1XBUA: Downloading video info webpage
[youtube] Io0fBr1XBUA: Downloading js player vfls4aurX
ERROR: Signature extraction failed: Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1221, in _decrypt_signature
    video_id, player_url, s
  File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1130, in _extract_signature_function
    res = self._parse_sig_js(code)
  File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1193, in _parse_sig_js
    jscode, 'Initial JS player signature function name', group='sig')
  File "/usr/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 977, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract Initial JS player signature function name; 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.
 (caused by RegexNotFoundError('Unable to extract \x1b[0;34mInitial JS player signature function name\x1b[0m; 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.')); 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.


Version-Release number of selected component (if applicable):
all from Fedora repositories.

Additional info:

Bug upstream : https://github.com/rg3/youtube-dl/issues/18091
Fix available with upstream release 2018.11.07

Comment 1 Fedora Update System 2018-11-10 18:25:41 UTC
youtube-dl-2018.11.07-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-e6b1ce5158

Comment 2 Fedora Update System 2018-11-10 18:25:49 UTC
youtube-dl-2018.11.07-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-4804c3fb5e

Comment 3 Fedora Update System 2018-11-10 18:25:57 UTC
youtube-dl-2018.11.07-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-1145adfca5

Comment 4 Fedora Update System 2018-11-10 18:26:05 UTC
youtube-dl-2018.11.07-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-214db75f8b

Comment 5 Fedora Update System 2018-11-10 18:26:12 UTC
youtube-dl-2018.11.07-1.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-48b5153e82

Comment 6 Fedora Update System 2018-11-11 04:22:22 UTC
youtube-dl-2018.11.07-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-214db75f8b

Comment 7 Fedora Update System 2018-11-11 04:56:58 UTC
youtube-dl-2018.11.07-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-1145adfca5

Comment 8 Fedora Update System 2018-11-11 04:58:17 UTC
youtube-dl-2018.11.07-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-4804c3fb5e

Comment 9 Fedora Update System 2018-11-11 05:27:56 UTC
youtube-dl-2018.11.07-1.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-48b5153e82

Comment 10 Fedora Update System 2018-11-11 05:33:46 UTC
youtube-dl-2018.11.07-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-e6b1ce5158

Comment 11 Fedora Update System 2018-11-12 02:14:47 UTC
youtube-dl-2018.11.07-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2018-11-12 05:28:24 UTC
youtube-dl-2018.11.07-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2018-11-23 04:34:27 UTC
youtube-dl-2018.11.07-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2018-12-16 00:38:07 UTC
youtube-dl-2018.11.07-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2018-12-16 04:26:54 UTC
youtube-dl-2018.11.07-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.