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 video fails to download - Unable to extract Initial JS player signature function name #4177

Closed
dmz001 opened this issue Nov 13, 2014 · 4 comments

Comments

@dmz001
Copy link

@dmz001 dmz001 commented Nov 13, 2014

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '-x', '--add-metadata', '-o', '%(title)s.%(ext)s', 'https://www.youtube.com/watch?v=OOeV5Ws36BI']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2014.11.12.1
[debug] Python version 2.7.5 - Linux-3.14.22-100.fc19.x86_64-x86_64-with-fedora-19-Schrödinger’s_Cat
[debug] exe versions: ffmpeg 1.2.9, ffprobe 1.2.9
[debug] Proxy map: {}
[youtube] Confirming age
[youtube] OOeV5Ws36BI: Downloading webpage
[youtube] OOeV5Ws36BI: Downloading video info webpage
[youtube] OOeV5Ws36BI: Extracting video information
[youtube] OOeV5Ws36BI: Encrypted signatures detected.
[youtube] {43} signature length 45.43, html5 player en_US-vfln6g5Eq
[youtube] OOeV5Ws36BI: Downloading js player vfln6g5Eq
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 539, in _decrypt_signature
video_id, player_url, s
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 453, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 514, in _parse_sig_js
'Initial JS player signature function name')
File "/usr/local/bin/youtube-dl/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 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.',)); 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/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 539, in _decrypt_signature
video_id, player_url, s
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 453, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 514, in _parse_sig_js
'Initial JS player signature function name')
File "/usr/local/bin/youtube-dl/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/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 536, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 199, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 934, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "/usr/local/bin/youtube-dl/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/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 539, in _decrypt_signature
video_id, player_url, s
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 453, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 514, in _parse_sig_js
'Initial JS player signature function name')
File "/usr/local/bin/youtube-dl/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 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.',)); 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.

@krokofant
Copy link

@krokofant krokofant commented Nov 13, 2014

I have the same problem. Tried with version 2014.11.12.1 and 2014.08.10.

@beastbg8
Copy link

@beastbg8 beastbg8 commented Nov 13, 2014

I think they added some sort of DRM to Content ID matched videos since that Music Key thing is coming.

@sunxvogy
Copy link

@sunxvogy sunxvogy commented Nov 13, 2014

Tried this video:

https://www.youtube.com/watch?v=ejorQVy3m8E

Same result.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Nov 13, 2014

Duplicate of #4175.

@jaimeMF jaimeMF closed this Nov 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.