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

unknown url type: %s" % self.__original #12155

Closed
rchawdhari opened this issue Feb 16, 2017 · 1 comment
Closed

unknown url type: %s" % self.__original #12155

rchawdhari opened this issue Feb 16, 2017 · 1 comment
Labels

Comments

@rchawdhari
Copy link

@rchawdhari rchawdhari commented Feb 16, 2017

youtube-dl https://youtu.be/quv_9DZVLso
[youtube] quv_9DZVLso: Downloading webpage
[youtube] quv_9DZVLso: Downloading video info webpage
[youtube] quv_9DZVLso: Extracting video information
[youtube] quv_9DZVLso: Downloading js player en_US-vflg9Wu9U
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1005, in _decrypt_signature
video_id, player_url, s
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 919, in _extract_signature_function
errnote='Download of %s failed' % player_url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 517, 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 "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 424, in _download_webpage_handle
urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 404, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2001, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 421, in open
protocol = req.get_type()
File "/usr/lib/python2.7/urllib2.py", line 283, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: /yts/jsbin/player-en_US-vflg9Wu9U/base.js
(caused by ValueError(u'unknown url type: /yts/jsbin/player-en_US-vflg9Wu9U/base.js',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
rashmi@rashmi-Lenovo-G50-80:/opt/cc$ youtube-dl https://youtu.be/1jia8ZCAPO0
[youtube] 1jia8ZCAPO0: Downloading webpage
[youtube] 1jia8ZCAPO0: Downloading video info webpage
[youtube] 1jia8ZCAPO0: Extracting video information
[youtube] 1jia8ZCAPO0: Downloading js player en_US-vflg9Wu9U
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1005, in _decrypt_signature
video_id, player_url, s
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 919, in _extract_signature_function
errnote='Download of %s failed' % player_url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 517, 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 "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 424, in _download_webpage_handle
urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 404, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2001, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 421, in open
protocol = req.get_type()
File "/usr/lib/python2.7/urllib2.py", line 283, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: /yts/jsbin/player-en_US-vflg9Wu9U/base.js
(caused by ValueError(u'unknown url type: /yts/jsbin/player-en_US-vflg9Wu9U/base.js',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 16, 2017

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

@dstftw dstftw closed this Feb 16, 2017
@dstftw dstftw added the invalid label Feb 16, 2017
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.