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

Closed
betoharres opened this issue Nov 12, 2015 · 2 comments
Closed

ERROR: Signature extraction failed #7472

betoharres opened this issue Nov 12, 2015 · 2 comments

Comments

@betoharres
Copy link

@betoharres betoharres commented Nov 12, 2015

Hi, I'm trying to download a video with 6h length of meditation music, and I'm getting this error:

~ % youtube-dl --extract-audio --verbose --audio-format mp3 https://www.youtube.com/watch?v=TekWIV0e16Q
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--extract-audio', u'--verbose', u'--audio-format', u'mp3', u'https://www.youtube.com/watch?v=TekWIV0e16Q']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.10.24
[debug] Python version 2.7.10 - Darwin-15.0.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.8.1, ffprobe 2.8.1
[debug] Proxy map: {}
[youtube] TekWIV0e16Q: Downloading webpage
[youtube] TekWIV0e16Q: Downloading video info webpage
[youtube] TekWIV0e16Q: Extracting video information
WARNING: unable to extract html5 player; 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.
[youtube] {22} signature length 40.42, html5 player None
ERROR: Signature extraction failed: Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 817, in _decrypt_signature
    video_id, player_url, s
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 709, in _extract_signature_function
    raise ExtractorError('Cannot identify player %r' % player_url)
ExtractorError: Cannot identify player u'https://s.ytimg.com/yts/jsbin/player-en_US-vfl5u6mls/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.
 (caused by ExtractorError(u"Cannot identify player u'https://s.ytimg.com/yts/jsbin/player-en_US-vfl5u6mls/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.",)); 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 "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 817, in _decrypt_signature
    video_id, player_url, s
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 709, in _extract_signature_function
    raise ExtractorError('Cannot identify player %r' % player_url)
ExtractorError: Cannot identify player u'https://s.ytimg.com/yts/jsbin/player-en_US-vfl5u6mls/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 "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 661, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 291, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1345, in _real_extract
    encrypted_sig, video_id, player_url, age_gate)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 827, in _decrypt_signature
    'Signature extraction failed: ' + tb, cause=e)
ExtractorError: Signature extraction failed: Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 817, in _decrypt_signature
    video_id, player_url, s
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 709, in _extract_signature_function
    raise ExtractorError('Cannot identify player %r' % player_url)
ExtractorError: Cannot identify player u'https://s.ytimg.com/yts/jsbin/player-en_US-vfl5u6mls/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.
 (caused by ExtractorError(u"Cannot identify player u'https://s.ytimg.com/yts/jsbin/player-en_US-vfl5u6mls/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.",)); 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.

My brew list( I'm using homebrew as package manager ):

% brew list                                                                                                  
android-ndk r10e
android-sdk 24.4.1
autoconf 2.69
boost 1.58.0
brew-cask 0.58.0
ctags 5.8_1
ffmpeg 2.8.1_1
freetype 2.6_1
gdbm 1.11
git 2.6.2
heroku-toolbelt 3.42.20
httpie 0.9.2_1
hub 2.2.1
imagemagick 6.9.2-4
jpeg 8d
kakoune HEAD
lame 3.99.5
libevent 2.0.22
libpng 1.6.18
libtiff 4.0.6
libtool 2.4.6
libvo-aacenc 0.1.3
libyaml 0.1.6_1
mysql 5.6.27
node 4.2.1
nvm 0.29.0
openssl 1.0.2d_1
pcre 8.37
pkg-config 0.28
postgresql 9.4.5
python 2.7.10_2
python3 3.5.0
qt 4.8.7_1
rbenv 0.4.0
rcm 1.2.3
readline 6.3.8
reattach-to-user-namespace 2.4
redis 3.0.5
ruby-build 20151024
sqlite 3.9.1
the_silver_searcher 0.31.0
tmux 2.1
vim 7.4.898
watch 3.3.10
x264 r2601
xvid 1.3.4
xz 5.2.2
youtube-dl 2015.10.24
zsh 5.1.1
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Nov 12, 2015

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

@dstftw dstftw closed this Nov 12, 2015
@betoharres
Copy link
Author

@betoharres betoharres commented Nov 12, 2015

Well, that was weird, I did $ brew update and the error persisted.
After doing $ brew upgrade youtube-dl it did work!
Thanks

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.