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: Unable to extract Initial JS player signature function name #3104

Closed
pasky opened this issue Jun 19, 2014 · 7 comments
Closed

youtube: Unable to extract Initial JS player signature function name #3104

pasky opened this issue Jun 19, 2014 · 7 comments
Assignees

Comments

@pasky
Copy link

@pasky pasky commented Jun 19, 2014

Downloading certain videos from youtube fails, even with the latest git master.

$ python -m youtube_dl http://youtu.be/W4bMbzIExmk
[youtube] Setting language
[youtube] W4bMbzIExmk: Downloading webpage
[youtube] W4bMbzIExmk: Downloading video info webpage
[youtube] W4bMbzIExmk: Extracting video information
[youtube] W4bMbzIExmk: Encrypted signatures detected.
[youtube] W4bMbzIExmk: Downloading js player vflazPBMd
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "youtube_dl/extractor/youtube.py", line 874, in _decrypt_signature
video_id, player_url, len(s)
File "youtube_dl/extractor/youtube.py", line 376, in _extract_signature_function
res = self._parse_sig_js(code)
File "youtube_dl/extractor/youtube.py", line 444, in _parse_sig_js
u'Initial JS player signature function name')
File "youtube_dl/extractor/common.py", line 383, 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
...and the traceback just repeats again and again.

@chartpath
Copy link

@chartpath chartpath commented Jun 19, 2014

@jaimeMF thanks for closing the duplicate issue.

More info: I was using youtube-dl version 2014.06.16 from pip originally, but saw that there have been some regex-related commits since that release. I reinstalled from git at commit 38a9339.

..same issue occurs.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jun 19, 2014

Thanks for the report, it will work in the next release.

@pasky
Copy link
Author

@pasky pasky commented Jun 19, 2014

Thank you! :)

@ziko8jp
Copy link

@ziko8jp ziko8jp commented Jun 19, 2014

Thank you. I have been looking forward to the next release.

@barrydn
Copy link

@barrydn barrydn commented Jun 19, 2014

Thanks dude!

@phihag
Copy link
Contributor

@phihag phihag commented Jun 19, 2014

Thank you for the report. Support for the changed files has been added in youtube-dl 2014.06.19. Type youtube-dl -U to update.

@vfatelinux
Copy link

@vfatelinux vfatelinux commented Jun 20, 2014

My system is ubuntu ,update command is
sudo pip install --upgrade youtube_dl

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
7 participants
You can’t perform that action at this time.