Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
(2014.07.11.3) Writing cache and automatic signature extraction failed. #3259
Comments
|
[debug] System config: [] ERROR: Automatic signature extraction failed: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
|
[debug] System config: [] ERROR: Automatic signature extraction failed: Traceback (most recent call last): |
|
I think this is problem when video code has dash ( - ) or underscore ( _ ). For example youtube video: youtube-dl http://youtube.com/watch?v=-aI38Ytz7s4 has always error because I think this video has code with dash -> -aI38Ytz7s4. [debug] System config: [] ERROR: Automatic signature extraction failed: Traceback (most recent call last): |
|
Duplicate of #3255. |
michael@michael-1005HA ~ $ youtube-dl --verbose www.youtube.com/watch?v=y6Sxv-sUYtM
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'www.youtube.com/watch?v=y6Sxv-sUYtM']
[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.6 - Linux-3.13.0-24-generic-i686-with-LinuxMint-17-qiana
[debug] Proxy map: {}
[youtube] Setting language
[youtube] y6Sxv-sUYtM: Downloading webpage
[youtube] y6Sxv-sUYtM: Downloading video info webpage
[youtube] y6Sxv-sUYtM: Extracting video information
[youtube] y6Sxv-sUYtM: Encrypted signatures detected.
[youtube] encrypted signature length 84 (40.43), itag 22, html5 player en_US-vfl0Cbn9e
[youtube] y6Sxv-sUYtM: Downloading js player vfl0Cbn9e
WARNING: Writing cache to u'/home/michael/.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'
; 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.