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

youtube ExtractorError Cannot decrypt signature without player_url #6626

Closed
wuhaa11 opened this issue Aug 20, 2015 · 5 comments
Closed

youtube ExtractorError Cannot decrypt signature without player_url #6626

wuhaa11 opened this issue Aug 20, 2015 · 5 comments

Comments

@wuhaa11
Copy link

@wuhaa11 wuhaa11 commented Aug 20, 2015

Hi,

I'm getting this error when grabbing video from youtube.

youtube-dl https://www.youtube.com/watch?v=GFGpWjSwr_0
[youtube] GFGpWjSwr_0: Downloading webpage
[youtube] GFGpWjSwr_0: Downloading video info webpage
[youtube] GFGpWjSwr_0: Extracting video information
[youtube] GFGpWjSwr_0: Downloading DASH manifest
WARNING: [youtube] GFGpWjSwr_0: Skipping DASH manifest: ExtractorError(u'Cannot decrypt signature without player_url; 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.',)
[download] Destination: Learning to Scale OpenStack An Update from the Rackspace Public Cloud-GFGpWjSwr_0.mp4
[download]   0.0% of 309.16MiB at  1.86MiB/s ETA 02:47ERROR: content too short (expected 324177079 bytes and served 39894)

If I try multiple times, I get the following http errors:

youtube-dl https://www.youtube.com/watch?v=GFGpWjSwr_0
[youtube] GFGpWjSwr_0: Downloading webpage
[youtube] GFGpWjSwr_0: Downloading video info webpage
[youtube] GFGpWjSwr_0: Extracting video information
[youtube] GFGpWjSwr_0: Downloading DASH manifest
[youtube] GFGpWjSwr_0: Downloading DASH manifest
[download] Resuming download at byte 39894
[download] Got server HTTP error. Retrying (attempt 1 of 10)...
[download] Got server HTTP error. Retrying (attempt 2 of 10)...
[download] Got server HTTP error. Retrying (attempt 3 of 10)...
[download] Got server HTTP error. Retrying (attempt 4 of 10)...
[download] Got server HTTP error. Retrying (attempt 5 of 10)...
[download] Got server HTTP error. Retrying (attempt 6 of 10)...
[download] Got server HTTP error. Retrying (attempt 7 of 10)...
[download] Got server HTTP error. Retrying (attempt 8 of 10)...
[download] Got server HTTP error. Retrying (attempt 9 of 10)...
[download] Got server HTTP error. Retrying (attempt 10 of 10)...
ERROR: giving up after 10 retries

Details:

uname -a

Linux virtual 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

python -V

Python 2.7.6

cat /etc/lsb-release

DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=17.1
DISTRIB_CODENAME=rebecca
DISTRIB_DESCRIPTION="Linux Mint 17.1 Rebecca"

youtube-dl -v

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=GFGpWjSwr_0']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.08.16.1
[debug] Python version 2.7.6 - Linux-3.13.0-37-generic-x86_64-with-LinuxMint-17.1-rebecca
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] GFGpWjSwr_0: Downloading webpage
[youtube] GFGpWjSwr_0: Downloading video info webpage
[youtube] GFGpWjSwr_0: Extracting video information
[youtube] GFGpWjSwr_0: Downloading DASH manifest
[youtube] GFGpWjSwr_0: Downloading DASH manifest
[debug] Invoking downloader on u'https://r6---sn-tt17dn7r.googlevideo.com/videoplayback?mm=31&mn=sn-tt17dn7r&ipbits=0&requiressl=yes&sver=3&expire=1440109858&mt=1440088174&mv=m&ms=au&lmt=1383982227762518&dur=1919.547&key=yt5&ip=67.55.2.23&itag=22&id=o-AHPGBk9ye3zaPATO3qAhK-MDqwen2ZnHxSfJDvwRcmMv&sparams=dur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&signature=58411522E2B7F7B7656A471D1004E321A2D10AEB.C42C3C90C1CE32D62FB028DC667BAEC7AC8CD51D&mime=video%2Fmp4&upn=LNGN-RXGJqU&fexp=9406715%2C9407991%2C9408207%2C9408710%2C9409069%2C9412773%2C9414856%2C9415365%2C9415485%2C9416023%2C9416126%2C9416330%2C9416985%2C9417117%2C9417707%2C9418058%2C9418153%2C9418449%2C9419339%2C9419427%2C9419751%2C9419817&source=youtube&pl=22&ratebypass=yes&initcwndbps=746250'
[download] Resuming download at byte 39894
[download] Got server HTTP error. Retrying (attempt 1 of 10)...
[download] Got server HTTP error. Retrying (attempt 2 of 10)...
[download] Got server HTTP error. Retrying (attempt 3 of 10)...
[download] Got server HTTP error. Retrying (attempt 4 of 10)...
[download] Got server HTTP error. Retrying (attempt 5 of 10)...
[download] Got server HTTP error. Retrying (attempt 6 of 10)...
[download] Got server HTTP error. Retrying (attempt 7 of 10)...
[download] Got server HTTP error. Retrying (attempt 8 of 10)...
[download] Got server HTTP error. Retrying (attempt 9 of 10)...
[download] Got server HTTP error. Retrying (attempt 10 of 10)...
ERROR: giving up after 10 retries
Traceback (most recent call last):
  File "ytd/youtube_dl/downloader/http.py", line 60, in real_download
    data = self.ydl.urlopen(request)
  File "ytd/youtube_dl/YoutubeDL.py", line 1860, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 500: Internal Server Error
@philippeboyd
Copy link

@philippeboyd philippeboyd commented Nov 12, 2015

+1

[debug] System config: []
[debug] User config: []
[debug] Batch file urls: [u'https://www.youtube.com/watch?v=0Jemf4mAB0A']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.11.10
[debug] Python version 2.7.6 - Linux-4.2.5-040205-generic-x86_64-with-LinuxMint-17.1-rebecca
[debug] exe versions: avconv 9.18-6, avprobe 9.18-6, ffmpeg 2.8, ffprobe 2.8
[debug] Proxy map: {'no': 'localhost,127.0.0.0/8,::1'}
[youtube] 0Jemf4mAB0A: Downloading webpage
[youtube] 0Jemf4mAB0A: Downloading video info webpage
[youtube] 0Jemf4mAB0A: Extracting video information
[youtube] {22} signature length 40.42, html5 player en_US-vfl5u6mls
[youtube] {43} signature length 40.42, html5 player en_US-vfl5u6mls
[youtube] {18} signature length 40.42, html5 player en_US-vfl5u6mls
[youtube] {5} signature length 40.42, html5 player en_US-vfl5u6mls
[youtube] {36} signature length 40.42, html5 player en_US-vfl5u6mls
[youtube] {17} signature length 40.42, html5 player en_US-vfl5u6mls
[youtube] {136} signature length 40.42, html5 player en_US-vfl5u6mls
[youtube] {247} signature length 40.42, html5 player en_US-vfl5u6mls
[youtube] {135} signature length 40.42, html5 player en_US-vfl5u6mls
[youtube] {244} signature length 40.42, html5 player en_US-vfl5u6mls
[youtube] {134} signature length 40.42, html5 player en_US-vfl5u6mls
[youtube] {243} signature length 40.42, html5 player en_US-vfl5u6mls
[youtube] {133} signature length 40.42, html5 player en_US-vfl5u6mls
[youtube] {242} signature length 40.42, html5 player en_US-vfl5u6mls
[youtube] {160} signature length 40.42, html5 player en_US-vfl5u6mls
[youtube] {278} signature length 40.42, html5 player en_US-vfl5u6mls
[youtube] {140} signature length 40.42, html5 player en_US-vfl5u6mls
[youtube] {171} signature length 40.42, html5 player en_US-vfl5u6mls
[youtube] {249} signature length 40.42, html5 player en_US-vfl5u6mls
[youtube] {250} signature length 40.42, html5 player en_US-vfl5u6mls
[youtube] {251} signature length 40.42, html5 player en_US-vfl5u6mls
[youtube] 0Jemf4mAB0A: Downloading DASH manifest
[debug] Invoking downloader on u'https://r5---sn-cxaaj5o5q5-tt1k.googlevideo.com/videoplayback?ms=au&mt=1447295047&mv=m&key=yt6&ip=174.92.241.229&upn=U_xer_LPNqk&id=o-AM773_JozmaDfzMDJBZpW2yEfnF1uZOcpiDKF1xmZSrX&mm=31&mn=sn-cxaaj5o5q5-tt1k&fexp=9408206%2C9408710%2C9409246%2C9414764%2C9414936%2C9415555%2C9415872%2C9416126%2C9417683%2C9417707%2C9419444%2C9420453%2C9421711%2C9422366%2C9422479%2C9422596%2C9422618%2C9423037%2C9423510%2C9423645%2C9423662%2C9423715%2C9423792%2C9424049&sparams=clen%2Cdur%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Crequiressl%2Csource%2Cupn%2Cexpire&gir=yes&lmt=1434970451198937&requiressl=yes&keepalive=yes&source=youtube&dur=534.001&pl=22&itag=251&mime=audio%2Fwebm&expire=1447316707&pcm2cms=yes&sver=3&initcwndbps=2851250&ipbits=0&clen=9176580&signature=E1B5FEA023E8D436ED10A44836996D42643BBFF1.483662D84F1AF7DB14B48362F523118C9D9B56F1&ratebypass=yes'
[download] Got server HTTP error. Retrying (attempt 1 of 10)...
[download] Got server HTTP error. Retrying (attempt 2 of 10)...
[download] Got server HTTP error. Retrying (attempt 3 of 10)...
[download] Got server HTTP error. Retrying (attempt 4 of 10)...
[download] Got server HTTP error. Retrying (attempt 5 of 10)...
[download] Got server HTTP error. Retrying (attempt 6 of 10)...
[download] Got server HTTP error. Retrying (attempt 7 of 10)...
[download] Got server HTTP error. Retrying (attempt 8 of 10)...
[download] Got server HTTP error. Retrying (attempt 9 of 10)...
[download] Got server HTTP error. Retrying (attempt 10 of 10)...
ERROR: giving up after 10 retries
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 60, in real_download
    data = self.ydl.urlopen(request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1873, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 500: Internal Server Error
@betoharres
Copy link

@betoharres betoharres commented Nov 12, 2015

+1

I tried to brew update but it did not help.

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.``
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Nov 12, 2015

@betoharres it's not related, open a new issue with the **full output you get when running youtube-dl --verbose THE_URL (ase requested in the error message).

@betoharres
Copy link

@betoharres betoharres commented Nov 12, 2015

@jaimeMF ok!

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 12, 2016

Works fine with latest version.

@dstftw dstftw closed this Jun 12, 2016
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
5 participants
You can’t perform that action at this time.