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.
Error downloading particular (possibly record label associated) videos from YouTube: #3359
Comments
|
It looks like YouTube made some major changes lately because nearly all of the JS downloaders I've tried, including YouTube Center became inoperational in the past few days. Here's the verbose output from youtube-dl: $ youtube-dl https://www.youtube.com/watch?v=KsvKT8vsgF4 --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['https://www.youtube.com/watch?v=KsvKT8vsgF4', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out None, pref cp1252
[debug] youtube-dl version 2014.07.24
[debug] Python version 2.7.6 - Windows-8-6.2.9200
[debug] Proxy map: {}
[youtube] Setting language
[youtube] KsvKT8vsgF4: Downloading webpage
[youtube] KsvKT8vsgF4: Downloading video info webpage
[youtube] KsvKT8vsgF4: Extracting video information
[youtube] KsvKT8vsgF4: Encrypted signatures detected.
[youtube] encrypted signature length 84 (28.55), itag 22, html5 player en_US-vflCGk6yw\/html5player
[youtube] KsvKT8vsgF4: Downloading js player vflCGk6yw
WARNING: Writing cache to u'C:\\cygwin64\\home\\acer/.cache\\youtube-dl\\youtube-sigfuncs\\js_vflCGk6yw_84.json' failed: Traceback (most recent call last):
File "C:\Python27\lib\site-packages\youtube_dl\extractor\youtube.py", line 392, in _extract_signature_function
cache_res = res(test_string)
File "C:\Python27\lib\site-packages\youtube_dl\extractor\youtube.py", line 450, in <lambda>
return lambda s: initial_function([s])
File "C:\Python27\lib\site-packages\youtube_dl\jsinterp.py", line 179, in resf
res = self.interpret_statement(stmt, local_vars)
File "C:\Python27\lib\site-packages\youtube_dl\jsinterp.py", line 48, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "C:\Python27\lib\site-packages\youtube_dl\jsinterp.py", line 140, in interpret_expression
self._functions[fname] = self.extract_function(fname)
File "C:\Python27\lib\site-packages\youtube_dl\jsinterp.py", line 170, in extract_function
raise ExtractorError('Could not find JS function %r' % funcname)
ExtractorError: Could not find JS function u'Go.sH'; 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.
ERROR: Automatic signature extraction failed: Traceback (most recent call last):
File "C:\Python27\lib\site-packages\youtube_dl\extractor\youtube.py", line 477, in _decrypt_signature
return func(s)
File "C:\Python27\lib\site-packages\youtube_dl\extractor\youtube.py", line 450, in <lambda>
return lambda s: initial_function([s])
File "C:\Python27\lib\site-packages\youtube_dl\jsinterp.py", line 179, in resf
res = self.interpret_statement(stmt, local_vars)
File "C:\Python27\lib\site-packages\youtube_dl\jsinterp.py", line 48, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "C:\Python27\lib\site-packages\youtube_dl\jsinterp.py", line 140, in interpret_expression
self._functions[fname] = self.extract_function(fname)
File "C:\Python27\lib\site-packages\youtube_dl\jsinterp.py", line 170, in extract_function
raise ExtractorError('Could not find JS function %r' % funcname)
ExtractorError: Could not find JS function u'Go.sH'; 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.
; 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 "C:\Python27\lib\site-packages\youtube_dl\extractor\youtube.py", line 477, in _decrypt_signature
return func(s)
File "C:\Python27\lib\site-packages\youtube_dl\extractor\youtube.py", line 450, in <lambda>
return lambda s: initial_function([s])
File "C:\Python27\lib\site-packages\youtube_dl\jsinterp.py", line 179, in resf
res = self.interpret_statement(stmt, local_vars)
File "C:\Python27\lib\site-packages\youtube_dl\jsinterp.py", line 48, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "C:\Python27\lib\site-packages\youtube_dl\jsinterp.py", line 140, in interpret_expression
self._functions[fname] = self.extract_function(fname)
File "C:\Python27\lib\site-packages\youtube_dl\jsinterp.py", line 170, in extract_function
raise ExtractorError('Could not find JS function %r' % funcname)
ExtractorError: Could not find JS function u'Go.sH'; 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 "C:\Python27\lib\site-packages\youtube_dl\YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "C:\Python27\lib\site-packages\youtube_dl\extractor\common.py", line 169, in extract
return self._real_extract(url)
File "C:\Python27\lib\site-packages\youtube_dl\extractor\youtube.py", line 848, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "C:\Python27\lib\site-packages\youtube_dl\extractor\youtube.py", line 481, in _decrypt_signature
u'Automatic signature extraction failed: ' + tb, cause=e)
ExtractorError: Automatic signature extraction failed: Traceback (most recent call last):
File "C:\Python27\lib\site-packages\youtube_dl\extractor\youtube.py", line 477, in _decrypt_signature
return func(s)
File "C:\Python27\lib\site-packages\youtube_dl\extractor\youtube.py", line 450, in <lambda>
return lambda s: initial_function([s])
File "C:\Python27\lib\site-packages\youtube_dl\jsinterp.py", line 179, in resf
res = self.interpret_statement(stmt, local_vars)
File "C:\Python27\lib\site-packages\youtube_dl\jsinterp.py", line 48, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "C:\Python27\lib\site-packages\youtube_dl\jsinterp.py", line 140, in interpret_expression
self._functions[fname] = self.extract_function(fname)
File "C:\Python27\lib\site-packages\youtube_dl\jsinterp.py", line 170, in extract_function
raise ExtractorError('Could not find JS function %r' % funcname)
ExtractorError: Could not find JS function u'Go.sH'; 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.
; 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. |
|
Interesting. I downloaded between 10-15 other videos before and after this failure, so I don't think YT has 100% overhauled their platform--unless they're being atypically slow in rolling out the feature publicly. This is pure speculation (and hopefully not too much of a digression from the underlying issue), but I'd guess they're starting to implement DRM necessary to protect their new paid subscription service for record labels (the same one that caused a lot of brouhaha for squeezing out the "indies" - http://www.billboard.com/biz/articles/news/indies/6121620/how-youtubes-subscription-terms-will-hurt-indies-no-content-removal). [edit]: I've tested with ~20 videos or so, and the only ones I'm getting errors on are on artist's official pages. |
|
Same for me tonight: ERROR: Automatic signature extraction failed: Traceback (most recent call last): It seems like we need to do this daily. :( |
|
Seems like the same thing that happened a little while back, it would stop working, they'd update youtube-dl to fix it, and the next day it would stop working again. It looked like the folks at youtube had given up for quite a while, but I guess they're at it again. |
|
Thank you for the report. This has been fixed in youtube-dl v2014.07.25. Type @antdude, @seojoohyun YouTube changed the player generation. That exposed a lot of bugs and missing features in our interpreter, but with each change, our interpreter should get better. I expect that this will settle down quite soon. If you want, you can also suggest preemptive changes to our interpreters to make them more robust. |
|
@phihag Thanks! It works on my side now. "If you want, you can also suggest preemptive changes to our interpreters to make them more robust." -- How do we do that? |
|
@phihag Has this been published for pip? I tried updating via pip but I'm still getting these errors |
|
@antdude Simply file a pull request with the changes you suggest. There are just four core developers working on youtube-dl (everyone in their spare time), so we may miss something. |
|
@dwbfox Yes it has. PyPi caches though, so you may have to wait for a while. Can you try again now? |
|
@philhag Oh coding. I don't do that. I do testing though! ;) |
|
@phihag looks like it was indeed cached. Upgrading it again seems to have fixed it. Thanks |
I've been using youtube-dl for a while, and I haven't had any issues an update hasn't fixed. This video in particular seems to present some issues, however. For what it's worth, the Vimeo equivalent of the video downloads correctly.
Running on OS X 10.9.2. Will provide more detailed system specs if necessary.