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 #7127

Closed
mfurquim opened this issue Oct 10, 2015 · 2 comments
Closed

RegexNotFoundError #7127

mfurquim opened this issue Oct 10, 2015 · 2 comments

Comments

@mfurquim
Copy link

@mfurquim mfurquim commented Oct 10, 2015

Just installed with apt-get install youtube-dl and tried to download with youtube-dl https://www.youtube.com/watch?v=2pCqcrAXjuw

Here's what I got:

youtube-dl https://www.youtube.com/watch?v=2pCqcrAXjuw
[youtube] Setting language
[youtube] 2pCqcrAXjuw: Downloading webpage
[youtube] 2pCqcrAXjuw: Downloading video info webpage
[youtube] 2pCqcrAXjuw: Extracting video information
[youtube] 2pCqcrAXjuw: Encrypted signatures detected.
[youtube] 2pCqcrAXjuw: Downloading js player new
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] 2pCqcrAXjuw: Downloading js player new
^C
ERROR: Interrupted by user```
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 10, 2015

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

@dstftw dstftw closed this Oct 10, 2015
@mfurquim
Copy link
Author

@mfurquim mfurquim commented Oct 10, 2015

It worked, 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.