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 Download Error! #3272

Closed
mickyz opened this issue Jul 16, 2014 · 1 comment
Closed

YouTube Download Error! #3272

mickyz opened this issue Jul 16, 2014 · 1 comment

Comments

@mickyz
Copy link

@mickyz mickyz commented Jul 16, 2014

~$ youtube-dl -f bestaudio https://www.youtube.com/watch?v=7fbqjEnvRlo -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-f', 'bestaudio', 'https://www.youtube.com/watch?v=7fbqjEnvRlo', '-v']
[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.10.46-1-MANJARO-x86_64-with-glibc2.3.4
[debug] Proxy map: {}
[youtube] Setting language
[youtube] 7fbqjEnvRlo: Downloading webpage
[youtube] 7fbqjEnvRlo: Downloading video info webpage
[youtube] 7fbqjEnvRlo: Extracting video information
[youtube] 7fbqjEnvRlo: Encrypted signatures detected.
[youtube] encrypted signature length 84 (40.43), itag 22, html5 player en_US-vfl0Cbn9e
[youtube] 7fbqjEnvRlo: Downloading js player vfl0Cbn9e
WARNING: Writing cache to '/home/mickyz/.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: '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: '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: 'fo'
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: 'fo'

During handling of the above exception, another exception occurred:

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)
youtube_dl.utils.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: '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.

@mickyz mickyz changed the title Download Error! YouTube Download Error! Jul 16, 2014
@phihag
Copy link
Contributor

@phihag phihag commented Jul 16, 2014

Make sure you are using the latest version (support for the net YouTube signature functions has been added in youtube-dl 2014.07.15); type sudo youtube-dl -U to update.

@phihag phihag closed this Jul 16, 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
2 participants
You can’t perform that action at this time.