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 failed as of 1/29 update #11888

Closed
Mochlate opened this issue Jan 31, 2017 · 3 comments
Closed

Signature extraction failed as of 1/29 update #11888

Mochlate opened this issue Jan 31, 2017 · 3 comments

Comments

@Mochlate
Copy link

@Mochlate Mochlate commented Jan 31, 2017

Updating to the 1/29 release is now yielding this error! Major error.

sudo /opt/app/node_modules/youtube-dl/bin/youtube-dl --dump-json -f best -c ytsearch
:stronger kanye -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--dump-json', u'-f', u'best', u'-c', u'ytsearch:stronger', u'kanye', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.01.29
[debug] Python version 2.7.12 - Linux-4.4.0-53-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 2.8.10-0ubuntu0.16.04.1, ffprobe 2.8.10-0ubuntu0.16.04.1
[debug] Proxy map: {}
ERROR: Signature extraction failed: Traceback (most recent call last):
  File "/opt/app/node_modules/youtube-dl/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1057, in _decrypt_signature
    video_id, player_url, s
  File "/opt/app/node_modules/youtube-dl/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 971, in _extract_signature_function
    errnote='Download of %s failed' % player_url)
  File "/opt/app/node_modules/youtube-dl/bin/youtube-dl/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 "/opt/app/node_modules/youtube-dl/bin/youtube-dl/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 "/opt/app/node_modules/youtube-dl/bin/youtube-dl/youtube_dl/extractor/common.py", line 416, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/opt/app/node_modules/youtube-dl/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-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 "/opt/app/node_modules/youtube-dl/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1057, in _decrypt_signa
ture
    video_id, player_url, s
  File "/opt/app/node_modules/youtube-dl/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 971, in _extract_signat
ure_function
    errnote='Download of %s failed' % player_url)
  File "/opt/app/node_modules/youtube-dl/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in _download_webpag
e
    res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, 
headers=headers, query=query)
  File "/opt/app/node_modules/youtube-dl/bin/youtube-dl/youtube_dl/extractor/common.py", line 436, in _download_webpag
e_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=que
ry)
  File "/opt/app/node_modules/youtube-dl/bin/youtube-dl/youtube_dl/extractor/common.py", line 416, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/opt/app/node_modules/youtube-dl/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-vflV3n15C/base.js
Traceback (most recent call last):
  File "/opt/app/node_modules/youtube-dl/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 694, in extract_info
    ie_result = ie.extract(url)
  File "/opt/app/node_modules/youtube-dl/bin/youtube-dl/youtube_dl/extractor/common.py", line 369, in extract
    return self._real_extract(url)
  File "/opt/app/node_modules/youtube-dl/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1646, in _real_extract
    encrypted_sig, video_id, player_url, age_gate)
  File "/opt/app/node_modules/youtube-dl/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1067, in _decrypt_signa
ture
    'Signature extraction failed: ' + tb, cause=e)
ExtractorError: Signature extraction failed: Traceback (most recent call last):
  File "/opt/app/node_modules/youtube-dl/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1057, in _decrypt_signa
ture
    video_id, player_url, s
  File "/opt/app/node_modules/youtube-dl/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 971, in _extract_signat
ure_function
    errnote='Download of %s failed' % player_url)
  File "/opt/app/node_modules/youtube-dl/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in _download_webpag
e
    res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, 
headers=headers, query=query)
  File "/opt/app/node_modules/youtube-dl/bin/youtube-dl/youtube_dl/extractor/common.py", line 436, in _download_webpag
e_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=que
ry)
  File "/opt/app/node_modules/youtube-dl/bin/youtube-dl/youtube_dl/extractor/common.py", line 416, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/opt/app/node_modules/youtube-dl/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-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 yo
utube-dl with the --verbose flag and include its complete output.
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 31, 2017

Post the full output of youtube-dl when run with -v, i.e. add -v flag to your command line, copy the whole output and post it in the issue body wrapped in ``` for better formatting. It should look similar to this:

$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2015.12.06
[debug] Git HEAD: 135392e
[debug] Python version 2.6.6 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...

Do not post screenshots of verbose log only plain text is acceptable.

The output (including the first lines) contains important debugging information. Issues without the full output are often not reproducible and therefore do not get solved in short order, if ever.

@dstftw dstftw closed this Jan 31, 2017
@Mochlate
Copy link
Author

@Mochlate Mochlate commented Jan 31, 2017

@dstftw updated the original post

@DistantStatic
Copy link

@DistantStatic DistantStatic commented Jan 31, 2017

Well this was prematurely closed. I'm having the same issue as well (hence the thumbs up). I'm having the same issue, even before updating the software to 1/29.

@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
3 participants
You can’t perform that action at this time.