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

Can't download this youtube video #1909

Closed
d2xdt2 opened this issue Dec 6, 2013 · 4 comments
Closed

Can't download this youtube video #1909

d2xdt2 opened this issue Dec 6, 2013 · 4 comments

Comments

@d2xdt2
Copy link

@d2xdt2 d2xdt2 commented Dec 6, 2013

# youtube-dl 3HMhAfw2IVI
[youtube] Setting language
[youtube] 3HMhAfw2IVI: Downloading video webpage
[youtube] 3HMhAfw2IVI: Downloading video info webpage
[youtube] 3HMhAfw2IVI: Extracting video information
[download] Resuming download at byte 614
[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
@canavan
Copy link

@canavan canavan commented Dec 6, 2013

Onthe first attempt it actually downloads those 614 bytes:

youtube-dl --verbose 3HMhAfw2IVI

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '3HMhAfw2IVI']
[debug] youtube-dl version 2013.12.04
[debug] Python version 2.7.3 - IRIX64-6.5-IP35-mips-n32bit-ELF
[debug] Proxy map: {}
[youtube] Setting language
[youtube] 3HMhAfw2IVI: Downloading video webpage
[youtube] 3HMhAfw2IVI: Downloading video info webpage
[youtube] 3HMhAfw2IVI: Extracting video information
[download] Destination: Donkey Kong Jungle Beat - Watermelon Kingdom - 2764-3HMhAfw2IVI.mp4
[download] 100% of 49.11MiB in 00:00
ERROR: content too short (expected 51490339 bytes and served 614)
Traceback (most recent call last):
File "/usr/nekoware/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 777, in process_info
success = self.fd._do_download(filename, info_dict)
File "/usr/nekoware/bin/youtube-dl/youtube_dl/FileDownloader.py", line 647, in _do_download
raise ContentTooShortError(byte_counter, int(data_len))
ContentTooShortError

@d2xdt2
Copy link
Author

@d2xdt2 d2xdt2 commented Dec 7, 2013

I have a similar problem with this video, however the error is different.

$ youtube-dl -c https://www.youtube.com/playlist?list=PLYpDU5ElRBfkBBcNcFZoJc2UnE9idaba-
...
[youtube] Gp7MQhHNC88: Downloading video webpage
[youtube] Gp7MQhHNC88: Downloading video info webpage
[youtube] Gp7MQhHNC88: Extracting video information
[download] Luigi's Mansion Dark Moon Walkthrough (3DS) Part 14 - Old Clockworks C-3 'Roundhose Brawl'-Gp7MQhHNC88.mp4 has already been downloaded
[download] Downloading video #15 of 28
[youtube] tAmqOqDkf5I: Downloading video webpage
[youtube] tAmqOqDkf5I: Downloading video info webpage
[youtube] tAmqOqDkf5I: Extracting video information
[download] Resuming download at byte 16334
[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)...
ERROR: unable to download video data: HTTP Error 302: The HTTP server returned a redirect error that would lead to an infinite loop.
The last 30x error message was:
Found
~/tr/lmdm$ youtube-dl --verbose tAmqOqDkf5I
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-t', '--max-quality=22', '--verbose', 'tAmqOqDkf5I']
[debug] youtube-dl version 2013.12.04
[debug] Python version 2.7.5 - Linux-3.11.9-200.fc19.x86_64-x86_64-with-fedora-19-Schrödinger’s_Cat
[debug] Proxy map: {}
[youtube] Setting language
[youtube] tAmqOqDkf5I: Downloading video webpage
[youtube] tAmqOqDkf5I: Downloading video info webpage
[youtube] tAmqOqDkf5I: Extracting video information
[download] Resuming download at byte 16334
[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 "/home/maj/.bin/youtube-dl/youtube_dl/FileDownloader.py", line 527, in _do_download
    data = compat_urllib_request.urlopen(request)
  File "/usr/lib64/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/lib64/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib64/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib64/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

~/tr/lmdm$ 
@Elite
Copy link

@Elite Elite commented Dec 11, 2013

This is an Google server error, tried downloading the extracted link using wget and got this:

youtube-dl -f 137 -v http://www.youtube.com/watch?v=VCrc7YFebPA
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-f', '137', '-v', 'http://www.youtube.com/watch?v=VCrc7YFebPA']
[debug] youtube-dl version 2013.12.11.2
[debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-debian-7.2
[debug] Proxy map: {}
[youtube] Setting language
[youtube] VCrc7YFebPA: Downloading webpage
[youtube] VCrc7YFebPA: Downloading video info webpage
[youtube] VCrc7YFebPA: Extracting video information
[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)...

Resolving r11---sn-5hn7sn7k.googlevideo.com (r11---sn-5hn7sn7k.googlevideo.com)... 74.125.15.16
Connecting to r11---sn-5hn7sn7k.googlevideo.com (r11---sn-5hn7sn7k.googlevideo.com)|74.125.15.16|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2013-12-11 13:48:29 ERROR 500: Internal Server Error.
@d2xdt2 d2xdt2 closed this Dec 13, 2013
@d2xdt2
Copy link
Author

@d2xdt2 d2xdt2 commented Dec 13, 2013

@Elite You are right. It now works.

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
3 participants
You can’t perform that action at this time.