ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.37k stars 10.04k forks source link

Bug report #11910

Closed ssbrshei closed 7 years ago

ssbrshei commented 7 years ago

Please follow the guide below


Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.01.29. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

Before submitting an issue make sure you have:

What is the purpose of your issue?


The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

$ alias ytd alias ytd='ytd -w -c --no-check-certificate -f mp4 --write-sub --write-auto-sub' $ ytd --version 2017.01.29 $ ytd -v 'https://www.youtube.com/watch?v=N22CJh64dw8' [debug] System config: [] [debug] User config: [u'--continue', u'--ignore-errors', u'--no-check-certificate', u'-f', u'mp4', u'--write-sub', u'--write-auto-sub'] [debug] Custom config: [] [debug] Command-line args: [u'-w', u'-c', u'--no-check-certificate', u'-f', u'mp4', u'--write-sub', u'--write-auto-sub', u'-v', u'https://www.youtube.com/watch?v=N22CJh64dw8'] [debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8 [debug] youtube-dl version 2017.01.29 [debug] Python version 2.7.5 - Linux-3.10.0-514.6.1.el7.x86_64-x86_64-with-redhat-7.3-Maipo [debug] exe versions: ffmpeg 2.6.8, ffprobe 2.6.8 [debug] Proxy map: {} [youtube] N22CJh64dw8: Downloading webpage [youtube] N22CJh64dw8: Downloading video info webpage [youtube] N22CJh64dw8: Extracting video information WARNING: video doesn't have subtitles [youtube] N22CJh64dw8: Looking for automatic captions WARNING: Couldn't find automatic captions for N22CJh64dw8 [youtube] {43} signature length 42.43, html5 player en_US-vflV3n15C [youtube] N22CJh64dw8: Downloading player /yts/jsbin/player-en_US-vflV3n15C/base.js ERROR: Signature extraction failed: Traceback (most recent call last): File "/u/shei/bin/ytd/youtube_dl/extractor/youtube.py", line 1057, in _decrypt_signature video_id, player_url, s File "/u/shei/bin/ytd/youtube_dl/extractor/youtube.py", line 971, in _extract_signature_function errnote='Download of %s failed' % player_url) File "/u/shei/bin/ytd/youtube_dl/extractor/common.py", line 529, 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 "/u/shei/bin/ytd/youtube_dl/extractor/common.py", line 436, in _download_webpage_handle urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query) File "/u/shei/bin/ytd/youtube_dl/extractor/common.py", line 416, in _request_webpage return self._downloader.urlopen(url_or_request) File "/u/shei/bin/ytd/youtube_dl/YoutubeDL.py", line 2001, in urlopen return self._opener.open(req, timeout=self._socket_timeout) File "/usr/lib64/python2.7/urllib2.py", line 423, in open protocol = req.get_type() File "/usr/lib64/python2.7/urllib2.py", line 285, 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; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. Traceback (most recent call last): File "/u/shei/bin/ytd/youtube_dl/extractor/youtube.py", line 1057, in _decrypt_signature video_id, player_url, s File "/u/shei/bin/ytd/youtube_dl/extractor/youtube.py", line 971, in _extract_signature_function errnote='Download of %s failed' % player_url) File "/u/shei/bin/ytd/youtube_dl/extractor/common.py", line 529, 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 "/u/shei/bin/ytd/youtube_dl/extractor/common.py", line 436, in _download_webpage_handle urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query) File "/u/shei/bin/ytd/youtube_dl/extractor/common.py", line 416, in _request_webpage return self._downloader.urlopen(url_or_request) File "/u/shei/bin/ytd/youtube_dl/YoutubeDL.py", line 2001, in urlopen return self._opener.open(req, timeout=self._socket_timeout) File "/usr/lib64/python2.7/urllib2.py", line 423, in open protocol = req.get_type() File "/usr/lib64/python2.7/urllib2.py", line 285, in get_type raise ValueError, "unknown url type: %s" % self.original ValueError: unknown url type: /yts/jsbin/player-en_US-vflV3n15C/base.js Traceback (most recent call last): File "/u/shei/bin/ytd/youtube_dl/YoutubeDL.py", line 694, in extract_info ie_result = ie.extract(url) File "/u/shei/bin/ytd/youtube_dl/extractor/common.py", line 369, in extract return self._real_extract(url) File "/u/shei/bin/ytd/youtube_dl/extractor/youtube.py", line 1646, in _real_extract encrypted_sig, video_id, player_url, age_gate) File "/u/shei/bin/ytd/youtube_dl/extractor/youtube.py", line 1067, in _decrypt_signature 'Signature extraction failed: ' + tb, cause=e) ExtractorError: Signature extraction failed: Traceback (most recent call last): File "/u/shei/bin/ytd/youtube_dl/extractor/youtube.py", line 1057, in _decrypt_signature video_id, player_url, s File "/u/shei/bin/ytd/youtube_dl/extractor/youtube.py", line 971, in _extract_signature_function errnote='Download of %s failed' % player_url) File "/u/shei/bin/ytd/youtube_dl/extractor/common.py", line 529, 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 "/u/shei/bin/ytd/youtube_dl/extractor/common.py", line 436, in _download_webpage_handle urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query) File "/u/shei/bin/ytd/youtube_dl/extractor/common.py", line 416, in _request_webpage return self._downloader.urlopen(url_or_request) File "/u/shei/bin/ytd/youtube_dl/YoutubeDL.py", line 2001, in urlopen return self._opener.open(req, timeout=self._socket_timeout) File "/usr/lib64/python2.7/urllib2.py", line 423, in open protocol = req.get_type() File "/usr/lib64/python2.7/urllib2.py", line 285, 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; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

jayktaylor commented 7 years ago

Duplicate of #11890

ssbrshei commented 7 years ago

Sorry. Please ignore this duplicated one.