Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
YouTube "Error: content too short" #2638
Comments
|
Seems to work today (maybe was issue with YouTube?) C:\Transmogrifier>youtube-dl.py -v http://www.youtube.com/watch?v=qDKhDx14dMA |
|
Don't worry, sometimes we get those errors, but they usually disappear later. |
-URL: http://www.youtube.com/watch?v=qDKhDx14dMA
-First try gives "content to short"
-Resume attempts gets HTTP error.
Thanks as always...
Ringo
C:\Transmogrifier>youtube-dl.py -v http://www.youtube.com/watch?v=qDKhDx14dMA
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.youtube.com/watch?v=qDKhDx14dMA']
[debug] Encodings: locale 'cp1252', fs 'mbcs', out 'cp850', pref: 'cp1252'
[debug] youtube-dl version 2014.03.25.1
[debug] Python version 2.7.6 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[youtube] Setting language
[youtube] qDKhDx14dMA: Downloading webpage
[youtube] qDKhDx14dMA: Downloading video info webpage
[youtube] qDKhDx14dMA: Extracting video information
[download] Destination: Spelling 255-qDKhDx14dMA.mp4
[download] 100% of 52.31MiB in 00:00
ERROR: content too short (expected 54850055 bytes and served 1223)
Traceback (most recent call last):
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\YoutubeDL.py", line 991, in p
rocess_info
success = dl(filename, info_dict)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\YoutubeDL.py", line 967, in d
l
return fd.download(name, info)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\downloader\common.py", line 2
90, in download
return self.real_download(filename, info_dict)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\downloader\http.py", line 173
, in real_download
raise ContentTooShortError(byte_counter, int(data_len))
ContentTooShortError
C:\Transmogrifier>youtube-dl.py -v http://www.youtube.com/watch?v=qDKhDx14dMA
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.youtube.com/watch?v=qDKhDx14dMA']
[debug] Encodings: locale 'cp1252', fs 'mbcs', out 'cp850', pref: 'cp1252'
[debug] youtube-dl version 2014.03.25.1
[debug] Python version 2.7.6 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[youtube] Setting language
[youtube] qDKhDx14dMA: Downloading webpage
[youtube] qDKhDx14dMA: Downloading video info webpage
[youtube] qDKhDx14dMA: Extracting video information
[download] Resuming download at byte 1223
[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 "C:\Transmogrifier\youtube-dl.py\youtube_dl\downloader\http.py", line 52,
in real_download
data = self.ydl.urlopen(request)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\YoutubeDL.py", line 1195, in
urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "C:\Python27\lib\urllib2.py", line 410, in open
response = meth(req, response)
File "C:\Python27\lib\urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Python27\lib\urllib2.py", line 448, in error
return self._call_chain(_args)
File "C:\Python27\lib\urllib2.py", line 382, in _call_chain
result = func(_args)
File "C:\Python27\lib\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