Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
RegexNotFoundError: Unable to extract Initial JS player signature function name #4175
Comments
|
Same! I'd edit the issue in code tags though. Easier to read. |
|
youtube decode rule changed? |
|
Just came across the same issue on OS X as well. |
|
I remember something about YouTube releasing a bunch of updates today. Changing the way they encrypt stuff might have been one of them. |
|
New decryption method looks like so:
The method name you have to extract is
Regex should be tested against:
|
|
Here's my Regex to match the function name in
Tested against:
Hope that helps! |
|
Hello all, But in error msg I have : File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 453, in _extract_signature_function |
|
I got this similar error today which I post below
|
|
Thank you for the report. This has been fixed in youtube-dl 2014.11.13. See our FAQ on how to update. |
|
Okay update youtube-dl and it works now!!!! |
|
Confirming 2014-11-13 works now. On Thu, Nov 13, 2014 at 3:09 AM, Karthikeyan A K notifications@github.com
|
|
Yeah. Works here too. That was very fast. Guess YouTube should just remove their encryption. There will always be a way around it XD |
|
Should send this thread to Eric Schmidt! ;) |
|
Hello, I have the same error above with below information (youtube-dl version (2016.10.19)): [pluralsight] Downloading login page Thanks. |
|
Getting this in 2019 but only with certain video(s). The link looks like so I get this using version |
|
@electronicous always use the latest version. |
(just performed 'pip install --upgrade youtube-dl' and still have this problem afterwards)
youtube-dl -F --verbose https://www.youtube.com/watch?v=HBh17_dmaFw
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-F', '--verbose', 'https://www.youtube.com/watch?v=HBh17_dmaFw']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.11.12.1
[debug] Python version 2.7.8 - Linux-3.16.0-24-generic-i686-with-Ubuntu-14.10-utopic
[debug] exe versions: avconv 11-6, avprobe 11-6, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] Confirming age
[youtube] HBh17_dmaFw: Downloading webpage
[youtube] HBh17_dmaFw: Downloading video info webpage
[youtube] HBh17_dmaFw: Extracting video information
[youtube] HBh17_dmaFw: Encrypted signatures detected.
[youtube] {43} signature length 45.43, html5 player en_US-vfln6g5Eq
[youtube] HBh17_dmaFw: Downloading js player vfln6g5Eq
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 539, in _decrypt_signature
video_id, player_url, s
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 453, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 514, in _parse_sig_js
'Initial JS player signature function name')
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 436, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
(caused by RegexNotFoundError(u'Unable to extract \x1b[0;34mInitial JS player signature function name\x1b[0m; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.',)); please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 539, in _decrypt_signature
video_id, player_url, s
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 453, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 514, in _parse_sig_js
'Initial JS player signature function name')
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 436, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 536, in extract_info
ie_result = ie.extract(url)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 199, in extract
return self._real_extract(url)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 934, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 549, in _decrypt_signature
'Signature extraction failed: ' + tb, cause=e)
ExtractorError: Signature extraction failed: Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 539, in _decrypt_signature
video_id, player_url, s
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 453, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 514, in _parse_sig_js
'Initial JS player signature function name')
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 436, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
(caused by RegexNotFoundError(u'Unable to extract \x1b[0;34mInitial JS player signature function name\x1b[0m; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.',)); please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.