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

signature extraction bug #6826

Closed
bendanon opened this issue Sep 10, 2015 · 2 comments
Closed

signature extraction bug #6826

bendanon opened this issue Sep 10, 2015 · 2 comments

Comments

@bendanon
Copy link

@bendanon bendanon commented Sep 10, 2015

hi,

I ran " youtube-dl https://youtu.be/OsYrBZqucpE --verbose >& bug" and bug got filled with the following -

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['https://youtu.be/OsYrBZqucpE', '--verbose']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out None, pref: 'UTF-8'
[debug] youtube-dl version 2014.02.17
[debug] Python version 2.7.6 - Linux-3.13.0-63-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] Proxy map: {}
[youtube] Setting language
[youtube] OsYrBZqucpE: Downloading webpage
[youtube] OsYrBZqucpE: Downloading video info webpage
[youtube] OsYrBZqucpE: Extracting video information
[youtube] OsYrBZqucpE: Encrypted signatures detected.
[youtube] encrypted signature length 90 (46.43), itag 43, html5 player new-en_US-vflhlPTtB/html5player-new
[youtube] OsYrBZqucpE: 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] encrypted signature length 90 (46.43), itag 18, html5 player new-en_US-vflhlPTtB/html5player-new
[youtube] OsYrBZqucpE: 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] encrypted signature length 90 (46.43), itag 5, html5 player new-en_US-vflhlPTtB/html5player-new
[youtube] OsYrBZqucpE: 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] encrypted signature length 90 (46.43), itag 36, html5 player new-en_US-vflhlPTtB/html5player-new
[youtube] OsYrBZqucpE: Downloading js player new

ERROR: Interrupted by user

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Sep 10, 2015

[debug] youtube-dl version 2014.02.17

You are using an outdated version, you have to upgrade youtube-dl.

@jaimeMF jaimeMF closed this Sep 10, 2015
@bendanon
Copy link
Author

@bendanon bendanon commented Sep 11, 2015

$ youtube-dl -U
It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update.
$sudo apt-get upgrade youtube-dl
Reading package lists...
Building dependency tree...
Reading state information...
youtube-dl is already the newest version.

EDIT
I just removed it and reinstalled using pip.

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.