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

ERROR: Automatic signature extraction failed #3262

Closed
aliensunmin opened this issue Jul 15, 2014 · 4 comments
Closed

ERROR: Automatic signature extraction failed #3262

aliensunmin opened this issue Jul 15, 2014 · 4 comments

Comments

@aliensunmin
Copy link

Hi all,

When I issued the following command

youtube-dl http://www.youtube.com/watch?v=EqHxnJholtI

I get the following error message

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.youtube.com/watch?v=EqHxnJholtI', '--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2014.07.11.3
[debug] Python version 2.7.4 - Linux-3.8.0-35-generic-x86_64-with-Ubuntu-13.04-raring
[debug] Proxy map: {}
[youtube] Setting language
[youtube] EqHxnJholtI: Downloading webpage
[youtube] EqHxnJholtI: Downloading video info webpage
[youtube] EqHxnJholtI: Extracting video information
[youtube] EqHxnJholtI: Encrypted signatures detected.
[youtube] encrypted signature length 84 (40.43), itag 22, html5 player en_US-vfl0Cbn9e
[youtube] EqHxnJholtI: Downloading js player vfl0Cbn9e
WARNING: Writing cache to u'/home/sunmin/.cache/youtube-dl/youtube-sigfuncs/js_vfl0Cbn9e_84.json' failed: Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 391, in _extract_signature_function
cache_res = res(test_string)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 449, in
return lambda s: initial_function([s])
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 113, in resf
res = self.interpret_statement(stmt, local_vars)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 45, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 58, in interpret_expression
val = local_vars[m.group('in')]
KeyError: u'fo'

ERROR: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 883, in _decrypt_signature
return func(s)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 449, in
return lambda s: initial_function([s])
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 113, in resf
res = self.interpret_statement(stmt, local_vars)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 45, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 58, in interpret_expression
val = local_vars[m.group('in')]
KeyError: u'fo'
; 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 883, in _decrypt_signature
return func(s)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 449, in
return lambda s: initial_function([s])
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 113, in resf
res = self.interpret_statement(stmt, local_vars)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 45, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 58, in interpret_expression
val = local_vars[m.group('in')]
KeyError: u'fo'
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 1249, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 887, 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 883, in _decrypt_signature
return func(s)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 449, in
return lambda s: initial_function([s])
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 113, in resf
res = self.interpret_statement(stmt, local_vars)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 45, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 58, in interpret_expression
val = local_vars[m.group('in')]
KeyError: u'fo'

; 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.

I just updated by youtube-dl version.

youtube-dl --version

2014.07.11.3

This error only happens for some videos.
Please help or let me know if you have seen similar issues.

Thanks,

@ixchelinme
Copy link

Happens to me exactly the same, update a few minutes ago and almost all the videos I've seen the same thing happens

If not understood what I wrote, it's because I did not speak English and use Google Translate

 youtube-dl --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.07.11.3
[debug] Python version 3.4.1 - Linux-3.15.2-1-ARCH-i686-with-arch
[debug] Proxy map: {}
Usage: youtube-dl [options] url [url...]

youtube-dl: error: you must provide at least one URL


 WARNING: Writing cache to '/home/house/.cache/youtube-dl/youtube-sigfuncs/js_vfl0Cbn9e_84.json' failed: Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py", line 391, in _extract_signature_function
    cache_res = res(test_string)
  File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py", line 449, in <lambda>
    return lambda s: initial_function([s])
  File "/usr/lib/python3.4/site-packages/youtube_dl/jsinterp.py", line 113, in resf
    res = self.interpret_statement(stmt, local_vars)
  File "/usr/lib/python3.4/site-packages/youtube_dl/jsinterp.py", line 45, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/usr/lib/python3.4/site-packages/youtube_dl/jsinterp.py", line 58, in interpret_expression
    val = local_vars[m.group('in')]
KeyError: 'fo'

ERROR: Automatic signature extraction failed: Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py", line 883, in _decrypt_signature
    return func(s)
  File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py", line 449, in <lambda>
    return lambda s: initial_function([s])
  File "/usr/lib/python3.4/site-packages/youtube_dl/jsinterp.py", line 113, in resf
    res = self.interpret_statement(stmt, local_vars)
  File "/usr/lib/python3.4/site-packages/youtube_dl/jsinterp.py", line 45, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "/usr/lib/python3.4/site-packages/youtube_dl/jsinterp.py", line 58, in interpret_expression
    val = local_vars[m.group('in')]
KeyError: 'fo'
; 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.

Thanks for your attention, have a nice day

@jaimeMF jaimeMF closed this as completed Jul 15, 2014
@phihag
Copy link
Contributor

phihag commented Jul 15, 2014

Fixed in youtube-dl 2014.07.15. Type sudo youtube-dl -U to update.

@ixchelinme
Copy link

Thank you By his prompt answer, that have a good day

@sudarsun
Copy link

sudarsun commented May 3, 2016

Upgrading to 2016.05.01 solved the problem for me today.

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

5 participants