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

KeyError: u'fo' #3261

Closed
reberhardt opened this issue Jul 15, 2014 · 1 comment
Closed

KeyError: u'fo' #3261

reberhardt opened this issue Jul 15, 2014 · 1 comment

Comments

@reberhardt
Copy link

youtube-dl --verbose http://youtu.be/2pTRxtQ3ndk
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://youtu.be/2pTRxtQ3ndk']
[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 2.7.2 - Darwin-12.5.0-x86_64-i386-64bit
[debug] Proxy map: {}
[youtube] Setting language
[youtube] 2pTRxtQ3ndk: Downloading webpage
[youtube] 2pTRxtQ3ndk: Downloading video info webpage
[youtube] 2pTRxtQ3ndk: Extracting video information
[youtube] 2pTRxtQ3ndk: Encrypted signatures detected.
[youtube] encrypted signature length 84 (40.43), itag 22, html5 player en_US-vfl0Cbn9e
[youtube] 2pTRxtQ3ndk: Downloading js player vfl0Cbn9e
WARNING: Writing cache to u'/Users/rob/.cache/youtube-dl/youtube-sigfuncs/js_vfl0Cbn9e_84.json' failed: Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 391, in _extract_signature_function
cache_res = res(test_string)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 449, in
return lambda s: initial_function([s])
File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 113, in resf
res = self.interpret_statement(stmt, local_vars)
File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 45, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/local/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/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 883, in _decrypt_signature
return func(s)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 449, in
return lambda s: initial_function([s])
File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 113, in resf
res = self.interpret_statement(stmt, local_vars)
File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 45, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/local/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/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 883, in _decrypt_signature
return func(s)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 449, in
return lambda s: initial_function([s])
File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 113, in resf
res = self.interpret_statement(stmt, local_vars)
File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 45, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/local/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/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 168, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1249, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "/usr/local/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/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 883, in _decrypt_signature
return func(s)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 449, in
return lambda s: initial_function([s])
File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 113, in resf
res = self.interpret_statement(stmt, local_vars)
File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 45, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 58, in interpret_expression
val = local_vars[m.group('in')]
KeyError: u'fo'

@reinoldus
Copy link

duplicate of #3255

@jaimeMF jaimeMF closed this as completed Jul 15, 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

3 participants