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 signature decipher Error #4712

Closed
docsuleman opened this issue Jan 15, 2015 · 3 comments
Closed

Youtube signature decipher Error #4712

docsuleman opened this issue Jan 15, 2015 · 3 comments

Comments

@docsuleman
Copy link

@docsuleman docsuleman commented Jan 15, 2015

I am using youtube-dl with YSD helper. it was working fine until recently it started giving me this error of signature extraction.

[youtube](YSD video): Downloading js player en_US-vfl86Quee
Traceback (most recent call last):
File "./yt-api.py", line 37, in
print(sig_extractor._decrypt_signature(sig, u'(YSD video)', url, False))
File "/home/admin/web/zyz.com/public_html/youtube_dl/extractor/youtube.py", line 613, in _decrypt_signature
'Signature extraction failed: ' + tb, cause=e)
youtube_dl.utils.ExtractorError: Signature extraction failed: Traceback (most recent call last):

File "/home/admin/web/xyz.com/public_html/youtube_dl/extractor/youtube.py", line 613, in _decrypt_signature
'Signature extraction failed: ' + tb, cause=e)
youtube_dl.utils.ExtractorError: Signature extraction failed: Traceback (most recent call last):
File "/home/admin/web/xyz.com/public_html/youtube_dl/extractor/youtube.py", line 603, in _decrypt_signature
video_id, player_url, s
File "/home/admin/web/xyz.com/public_html/youtube_dl/extractor/youtube.py", line 517, in _extract_signature_function
res = self._parse_sig_js(code)
File "/home/admin/web/xyz.com/public_html/youtube_dl/extractor/youtube.py", line 578, in _parse_sig_js
'Initial JS player signature function name')
File "/home/admin/web/xyz.com/public_html/youtube_dl/extractor/common.py", line 492, in _search_regex
raise RegexNotFoundError('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 . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
(caused by RegexNotFoundError(u'Unable to extract \x1b[0;34mInitial JS player signature function name\x1b[0m; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

It seem like youtube has updated its decipher algorithm again. can any body fix this? Thanks in advance

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 15, 2015

This is already fixed and will be available in the next release. Thanks for the report.

@dstftw dstftw closed this Jan 15, 2015
@docsuleman
Copy link
Author

@docsuleman docsuleman commented Jan 15, 2015

Thank you so much :) waiting for next release :)

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 15, 2015

This issue was fixed in youtube-dl 2015.01.15.1. Refer to our FAQ if you need help updating.

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.