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

Closed
karm4ma opened this issue Jan 31, 2017 · 10 comments
Closed

ERROR: Signature extraction failed #11898

karm4ma opened this issue Jan 31, 2017 · 10 comments

Comments

@karm4ma
Copy link

@karm4ma karm4ma commented Jan 31, 2017

Hey there, yesterday it was working fine. Got this error in the morning.

ERROR: Signature extraction failed: Traceback (most recent call last):
File "C:\Python27\lib\site-packages\youtube_dl\extractor\youtube.py", line 1057, in _decrypt_signature
video_id, player_url, s
File "C:\Python27\lib\site-packages\youtube_dl\extractor\youtube.py", line 971, in _extract_signature_function
errnote='Download of %s failed' % player_url)
File "C:\Python27\lib\site-packages\youtube_dl\extractor\common.py", line 519, in _download_webpage
res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, headers=headers, query=query)
File "C:\Python27\lib\site-packages\youtube_dl\extractor\common.py", line 426, in _download_webpage_handle
urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query)
File "C:\Python27\lib\site-packages\youtube_dl\extractor\common.py", line 406, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "C:\Python27\lib\site-packages\youtube_dl\YoutubeDL.py", line 2001, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "C:\Python27\lib\urllib2.py", line 421, in open
protocol = req.get_type()
File "C:\Python27\lib\urllib2.py", line 283, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: /yts/jsbin/player-en_US-vflV3n15C/base.js
(caused by ValueError(u'unknown url type: /yts/jsbin/player-en_US-vflV3n15C/base.js',)); 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 fix this issue asap.

@karm4ma
Copy link
Author

@karm4ma karm4ma commented Jan 31, 2017

URL that caused the error: https://www.youtube.com/watch?v=91ZI3IrojMU

@karm4ma
Copy link
Author

@karm4ma karm4ma commented Jan 31, 2017

It is working for some URLs. It fails most of the time.

@njuki
Copy link

@njuki njuki commented Jan 31, 2017

I'm having the same issue.

@Repulser
Copy link

@Repulser Repulser commented Jan 31, 2017

Same

@Repulser
Copy link

@Repulser Repulser commented Jan 31, 2017

Looks like something about the endpoint changing to https?

@karm4ma
Copy link
Author

@karm4ma karm4ma commented Jan 31, 2017

Nope, tried http over https..no luck so far.

@Khang-NT
Copy link
Contributor

@Khang-NT Khang-NT commented Jan 31, 2017

#11892
Try it:
pip install --upgrade git+git://github.com/Khang-NT/youtube-dl@master#egg=youtube-dl

@njuki
Copy link

@njuki njuki commented Jan 31, 2017

@Khang-NT that works. Thanks man!

@karm4ma
Copy link
Author

@karm4ma karm4ma commented Jan 31, 2017

Worked like Charm. Thanks.

@karm4ma karm4ma closed this Jan 31, 2017
@theriddleywalker
Copy link

@theriddleywalker theriddleywalker commented Jan 31, 2017

Thank you @Khang-NT!

@ytdl-org ytdl-org locked and limited conversation to collaborators Jan 31, 2017
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
5 participants
You can’t perform that action at this time.