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

broken -f best on this youtube url #3961

Closed
seanjensengrey opened this issue Oct 16, 2014 · 4 comments
Closed

broken -f best on this youtube url #3961

seanjensengrey opened this issue Oct 16, 2014 · 4 comments

Comments

@seanjensengrey
Copy link

@seanjensengrey seanjensengrey commented Oct 16, 2014

I am attempting to download

https://www.youtube.com/watch?v=uG1SOq-E0Ts

ERROR: content too short (expected 399345218 bytes and served 3857)
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Oct 16, 2014

Unless you include the verbose output (or at least the youtube url that fails), we can't debug the probem.

@seanjensengrey
Copy link
Author

@seanjensengrey seanjensengrey commented Oct 16, 2014

I am doing a brew upgrade right now so SSLv2 is broken. As soon as system is stable I will append additional info.

@seanjensengrey
Copy link
Author

@seanjensengrey seanjensengrey commented Oct 16, 2014

(zu.env)volcano:~ sitka$ youtube-dl --verbose -f best https://www.youtube.com/watch?v=uG1SOq-E0Ts
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '-f', 'best', 'https://www.youtube.com/watch?v=uG1SOq-E0Ts']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.10.15
[debug] Python version 2.7.8 - Darwin-13.4.0-x86_64-i386-64bit
[debug] Proxy map: {}
[youtube] Setting language
[youtube] Confirming age
[youtube] uG1SOq-E0Ts: Downloading webpage
[youtube] uG1SOq-E0Ts: Downloading video info webpage
[youtube] uG1SOq-E0Ts: Extracting video information
[youtube] uG1SOq-E0Ts: Downloading DASH manifest
[debug] Invoking downloader on u'https://r19---sn-nx57ynel.googlevideo.com/videoplayback?mm=31&fexp=916941%2C927622%2C930666%2C930672%2C931983%2C932404%2C934030%2C942482%2C946013%2C947209%2C947225%2C952302&id=o-AIaRVOpkw5zLwG8Z-z0DMuhlxRBKz8frkEulzT_2lMqC&signature=B1D52734B980195EC9CF7AC9B73E8DE1CB41A7AE.F8C1EE8D89765924D2BDB28EC300C3C5F6DB31CD&key=yt5&ip=24.17.15.236&mt=1413442164&requiressl=yes&source=youtube&mv=m&ms=au&ipbits=0&ratebypass=yes&initcwndbps=1767500&upn=NF1ZM4M6oxs&expire=1413463830&sparams=id%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Cmm%2Cms%2Cmv%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&sver=3&itag=22'
[download] Resuming download at byte 3857
[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 "/Users/sitka/zu.env/lib/python2.7/site-packages/youtube_dl/downloader/http.py", line 64, in real_download
    data = self.ydl.urlopen(request)
  File "/Users/sitka/zu.env/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1266, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/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
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Oct 17, 2014

That's an error on Youtube side. Yesterday I got the same error, but I have tried now again and I could download the whole video.

When you have this problem, you can list all the available formats with the -F option and try downloading other format with -f FORMAT_CODE.

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.