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 "Error: content too short" #2638

Closed
RingoTheDog opened this issue Mar 26, 2014 · 2 comments
Closed

YouTube "Error: content too short" #2638

RingoTheDog opened this issue Mar 26, 2014 · 2 comments

Comments

@RingoTheDog
Copy link

@RingoTheDog RingoTheDog commented Mar 26, 2014

-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

@RingoTheDog
Copy link
Author

@RingoTheDog RingoTheDog commented Mar 27, 2014

Seems to work today (maybe was issue with YouTube?)
pls close...sorry to bother.

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.27.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:18

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Mar 27, 2014

Don't worry, sometimes we get those errors, but they usually disappear later.

@jaimeMF jaimeMF closed this Mar 27, 2014
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.