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

Warning: Falling back to static signature algorithm #3130

Closed
caos30 opened this issue Jun 21, 2014 · 7 comments
Closed

Warning: Falling back to static signature algorithm #3130

caos30 opened this issue Jun 21, 2014 · 7 comments
Labels

Comments

@caos30
Copy link

@caos30 caos30 commented Jun 21, 2014

I've installed just now and it return an error. This is the first video that i try to download.

I copy&paste here the --verbose result of the command.


youtube-dl --verbose http://www.youtube.com/watch?v=9xpSWM2LzAA
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.youtube.com/watch?v=9xpSWM2LzAA']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.02.17
[debug] Python version 2.7.6 - Linux-3.13.0-29-generic-i686-with-Ubuntu-14.04-trusty
[debug] Proxy map: {}
[youtube] Setting language
[youtube] 9xpSWM2LzAA: Downloading webpage
[youtube] 9xpSWM2LzAA: Downloading video info webpage
[youtube] 9xpSWM2LzAA: Extracting video information
[youtube] 9xpSWM2LzAA: Encrypted signatures detected.
[youtube] encrypted signature length 82 (40.41), itag 43, html5 player en_US-vflgt97Vg
[youtube] 9xpSWM2LzAA: Downloading js player vflgt97Vg
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 957, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 356, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 424, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 356, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; 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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 82 (40.41), itag 18, html5 player en_US-vflgt97Vg
[youtube] 9xpSWM2LzAA: Downloading js player vflgt97Vg
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 957, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 356, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 424, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 356, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; 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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 80 (38.41), itag 5, html5 player en_US-vflgt97Vg
[youtube] 9xpSWM2LzAA: Downloading js player vflgt97Vg
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 957, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 356, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 424, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 356, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; 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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 82 (40.41), itag 36, html5 player en_US-vflgt97Vg
[youtube] 9xpSWM2LzAA: Downloading js player vflgt97Vg
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 957, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 356, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 424, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 356, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; 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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 82 (40.41), itag 17, html5 player en_US-vflgt97Vg
[youtube] 9xpSWM2LzAA: Downloading js player vflgt97Vg
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 957, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 356, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 424, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 356, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; 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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 89 (43.45), itag 135, html5 player en_US-vflgt97Vg
[youtube] 9xpSWM2LzAA: Downloading js player vflgt97Vg
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 957, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 356, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 424, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 356, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; 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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 89 (43.45), itag 134, html5 player en_US-vflgt97Vg
[youtube] 9xpSWM2LzAA: Downloading js player vflgt97Vg
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 957, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 356, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 424, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 356, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; 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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 89 (43.45), itag 133, html5 player en_US-vflgt97Vg
[youtube] 9xpSWM2LzAA: Downloading js player vflgt97Vg
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 957, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 356, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 424, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 356, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; 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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 89 (43.45), itag 160, html5 player en_US-vflgt97Vg
[youtube] 9xpSWM2LzAA: Downloading js player vflgt97Vg
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 957, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 356, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 424, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 356, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; 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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 89 (43.45), itag 140, html5 player en_US-vflgt97Vg
[youtube] 9xpSWM2LzAA: Downloading js player vflgt97Vg
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 957, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 356, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 424, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 356, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; 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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 82 (40.41), itag 135, html5 player en_US-vflgt97Vg
[youtube] 9xpSWM2LzAA: Downloading js player vflgt97Vg
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 957, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 356, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 424, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 356, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; 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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 82 (40.41), itag 134, html5 player en_US-vflgt97Vg
[youtube] 9xpSWM2LzAA: Downloading js player vflgt97Vg
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 957, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 356, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 424, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 356, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; 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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 82 (40.41), itag 133, html5 player en_US-vflgt97Vg
[youtube] 9xpSWM2LzAA: Downloading js player vflgt97Vg
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 957, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 356, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 424, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 356, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; 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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 82 (40.41), itag 160, html5 player en_US-vflgt97Vg
[youtube] 9xpSWM2LzAA: Downloading js player vflgt97Vg
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 957, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 356, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 424, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 356, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; 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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] encrypted signature length 82 (40.41), itag 140, html5 player en_US-vflgt97Vg
[youtube] 9xpSWM2LzAA: Downloading js player vflgt97Vg
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 957, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 356, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 424, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 356, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; 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.

WARNING: Warning: Falling back to static signature algorithm
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 953, in process_info
success = dl(filename, info_dict)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 929, in dl
return fd.download(name, info)
File "/usr/lib/python2.7/dist-packages/youtube_dl/downloader/common.py", line 290, in download
return self.real_download(filename, info_dict)
File "/usr/lib/python2.7/dist-packages/youtube_dl/downloader/http.py", line 52, in real_download
data = compat_urllib_request.urlopen(request)
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(_args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(_args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 21, 2014

Duplicate of #3104. This issue was fixed in c26e9ac, run sudo youtube-dl -U to upgrade.

@dstftw dstftw closed this Jun 21, 2014
@caos30
Copy link
Author

@caos30 caos30 commented Jun 21, 2014

Thanks dstftw !!!
The thing is that i installed the youtube-dl from repository (lubuntu), and so when i execute the command "sudo youtube-dl -U" it say to me:

"It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update."

So, i would wait for the update from the ubuntu repository.
I successfully accomplished just now to download another video :)))

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

So, i see that you made a great work with this tool. Thanks by be there!
Sergi

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 21, 2014

I'm afraid youtube-dl is not so often updated in ubuntu repos, therefore I encourage you to install it using any method from here.

@caos30
Copy link
Author

@caos30 caos30 commented Jun 21, 2014

Oh, perfect!!! it run now!!
I preferred before not to install directly as you suggested because i think that it's more safe for the security of my PC to install apps only from the official repository. But after you insist in your last comment, i realized that youtube-dl is an opensource app on GitHub... so i suppose that's totally safe ;)

So thanks by your time and work!!!
I will recommend to my social network.

Best regards,
Sergi

@lightydo
Copy link

@lightydo lightydo commented Aug 14, 2014

Was this fixed? I just tried this:
youtube-dl -v -w -c -i -f best -o "$(pwd)/%(playlist)s/%(title)s.%(ext)s" https://www.youtube.com/watch?v=x7wrPEatuk4&list=RDY05rqt0YHtw&index=1

it would get the first but that's it.

if I remove the "?index=1", it won't get anything...just hangs.

Daniel.

@lightydo
Copy link

@lightydo lightydo commented Aug 14, 2014

it seems the easiest to work around this is with a small bash script:

for i in {1..49}; do youtube-dl -v -w -c -i -f best -o "$(pwd)/%(playlist)s/%(title)s.%(ext)s" "https://www.youtube.com/watch?v=x7wrPEatuk4&list=RDY05rqt0YHtw&index=$i"; done

@phihag
Copy link
Contributor

@phihag phihag commented Aug 14, 2014

@lightydo This has been fixed long ago. Please open a new issue with the complete output of youtube-dl when called with -v if you are using version 2014.08.10 or newer.

@dstftw dstftw added the duplicate label Apr 1, 2017
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
4 participants
You can’t perform that action at this time.