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

ERROR: Signature extraction failed: #8312

Closed
orikidoz opened this issue Jan 24, 2016 · 4 comments
Closed

ERROR: Signature extraction failed: #8312

orikidoz opened this issue Jan 24, 2016 · 4 comments

Comments

@orikidoz
Copy link

@orikidoz orikidoz commented Jan 24, 2016

Hi
First I can see you fixed something that looks like the issue I'm reporting but updating didn't solve it for me.
I'm using the module inside python script using the following line pafy.new()
I'm using the youtube-dl module version 2015.11.10 and pafy 0.4.2

I'm getting the following error:
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/youtube_dl/extractor/youtube.py", line 817, in _decrypt_signature
video_id, player_url, s
File "/Library/Python/2.7/site-packages/youtube_dl/extractor/youtube.py", line 732, in _extract_signature_function
res = self._parse_sig_js(code)
File "/Library/Python/2.7/site-packages/youtube_dl/extractor/youtube.py", line 795, in _parse_sig_js
initial_function = jsi.extract_function(funcname)
File "/Library/Python/2.7/site-packages/youtube_dl/jsinterp.py", line 241, in extract_function
raise ExtractorError('Could not find JS function %r' % funcname)
ExtractorError: Could not find JS function u'jr'; 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 ExtractorError(u"Could not find JS function u'jr'; 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.

Thanks,
Ori

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 24, 2016

You are using an outdated version of youtube-dl. Read our FAQ if you have troubles updating.

@dstftw dstftw closed this Jan 24, 2016
@orikidoz
Copy link
Author

@orikidoz orikidoz commented Jan 24, 2016

What is the latest youtube dl?

I'm running pip instsall --upgrade

Ori

@orikidoz
Copy link
Author

@orikidoz orikidoz commented Jan 24, 2016

Thanks

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.