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

[2014.07.20.2] ExtractorError: Automatic signature extraction failed #3330

Closed
nemobis opened this issue Jul 23, 2014 · 1 comment
Closed

Comments

@nemobis
Copy link

nemobis commented Jul 23, 2014

I've read #3294 #3287 #3262 #3266 and

YouTube has just changed its players and the new format is only supported in version 2014.07.15 and newer

but my version is more recent (this has been happening for a few weeks now).

$ youtube-dl --verbose https://www.youtube.com/watch?v=pxSaVNZIUoM
[debug] System config: ['--prefer-free-formats']
[debug] User config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=pxSaVNZIUoM']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.07.20.2
[debug] Python version 2.7.5 - Linux-3.15.4-200.fc20.x86_64-x86_64-with-fedora-20-Heisenbug
[debug] Proxy map: {}
[youtube] Setting language
[youtube] pxSaVNZIUoM: Downloading webpage
[youtube] pxSaVNZIUoM: Downloading video info webpage
[youtube] pxSaVNZIUoM: Extracting video information
[youtube] pxSaVNZIUoM: Encrypted signatures detected.
[youtube] encrypted signature length 84 (41.42), itag 22, html5 player en_US-vflBb0OQx
[youtube] pxSaVNZIUoM: Downloading js player vflBb0OQx
WARNING: Writing cache to u'/home/federico/.cache/youtube-dl/youtube-sigfuncs/js_vflBb0OQx_84.json' failed: Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 393, in _extract_signature_function
cache_res = res(test_string)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 451, in
return lambda s: initial_function([s])
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 148, in resf
res = self.interpret_statement(stmt, local_vars)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 46, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 69, in interpret_expression
return objkey
KeyError: u'Y7'

ERROR: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 478, in _decrypt_signature
return func(s)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 451, in
return lambda s: initial_function([s])
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 148, in resf
res = self.interpret_statement(stmt, local_vars)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 46, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 69, in interpret_expression
return objkey
KeyError: u'Y7'
; 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/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 478, in _decrypt_signature
return func(s)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 451, in
return lambda s: initial_function([s])
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 148, in resf
res = self.interpret_statement(stmt, local_vars)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 46, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 69, in interpret_expression
return objkey
KeyError: u'Y7'
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 168, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 848, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 482, in _decrypt_signature
u'Automatic signature extraction failed: ' + tb, cause=e)
ExtractorError: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 478, in _decrypt_signature
return func(s)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 451, in
return lambda s: initial_function([s])
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 148, in resf
res = self.interpret_statement(stmt, local_vars)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 46, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 69, in interpret_expression
return objkey
KeyError: u'Y7'
; 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.

@phihag
Copy link
Contributor

phihag commented Jul 23, 2014

YouTube has just changed its format again. Make sure you are using the latest version; type sudo youtube-dl -U to update.

@phihag phihag closed this as completed Jul 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants