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

RegexNotFoundError: Unable to extract Initial JS player signature function name #4249

Closed
natruiz3555 opened this issue Nov 20, 2014 · 1 comment
Closed

Comments

@natruiz3555
Copy link

@natruiz3555 natruiz3555 commented Nov 20, 2014

I got this error while attempting to download a video:

[youtube] Setting language
[youtube] WK0z87WrhGo: Downloading webpage
[youtube] WK0z87WrhGo: Downloading video info webpage
[youtube] WK0z87WrhGo: Extracting video information
[youtube] WK0z87WrhGo: Encrypted signatures detected.
[youtube] WK0z87WrhGo: Downloading js player vflP2rJ1-
ERROR: Signature extraction failed: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 479, in _decrypt_signature
    video_id, player_url, s
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 383, in _extract_signature_function
    res = self._parse_sig_js(code)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 454, in _parse_sig_js
    u'Initial JS player signature function name')
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 391, 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.
; 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.

I'm running Debian GNU/Linux testing (jessie).

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Nov 20, 2014

You are probably running and old version of youtube-dl, please read our faq for updating.

If you still have the problem with the last version, please post the output of youtube-dl WK0z87WrhGo --verbose.

@jaimeMF jaimeMF closed this Nov 20, 2014
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.