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 error #2232
Comments
|
This seems to be a known intermittent server-side problem with YouTube which they usually resolve after a period of time, as discussed here. @phihag flagging to close |
|
youtube-dl -f bestvideo+bestaudio --merge-output-format mkv https://www.youtube.com/watch?v=R2ake4zMrEU |
|
Same issue here. |
I get on some videos consistently "content too short errors" ... dunno why.
$ youtube-dl --verbose --format 35/18/34/22/83 "http://www.youtube.com/watch?v=rA-l2dr1lgU"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '--format', '35/18/34/22/83', 'http://www.youtube.com/watch?v=rA-l2dr1lgU']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.01.23.4
[debug] Python version 2.7.3 - Linux-3.2.0-4-686-pae-i686-with-debian-7.3
[debug] Proxy map: {}
[youtube] Setting language
[youtube] rA-l2dr1lgU: Downloading webpage
[youtube] rA-l2dr1lgU: Downloading video info webpage
[youtube] rA-l2dr1lgU: Extracting video information
[download] Destination: Geblockt! #2 - Post E3 Event _ Spieleverfilmungen (24.06.13)-rA-l2dr1lgU.mp4
[download] 100% of 96.03MiB in 00:02
ERROR: content too short (expected 100695487 bytes and served 4195013)
Traceback (most recent call last):
File "/home/shakeyourbunny/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 953, in process_info
success = dl(filename, info_dict)
File "/home/shakeyourbunny/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 929, in dl
return fd.download(name, info)
File "/home/shakeyourbunny/bin/youtube-dl/youtube_dl/downloader/common.py", line 290, in download
return self.real_download(filename, info_dict)
File "/home/shakeyourbunny/bin/youtube-dl/youtube_dl/downloader/http.py", line 172, in real_download
raise ContentTooShortError(byte_counter, int(data_len))
ContentTooShortError
Other video is:
$ youtube-dl --verbose --format 35/18/34/22/83 "http://www.youtube.com/watch?v=_wg3vlNv1s4"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '--format', '35/18/34/22/83', 'http://www.youtube.com/watch?v=_wg3vlNv1s4']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.01.23.4
[debug] Python version 2.7.3 - Linux-3.2.0-4-686-pae-i686-with-debian-7.3
[debug] Proxy map: {}
[youtube] Setting language
[youtube] _wg3vlNv1s4: Downloading webpage
[youtube] _wg3vlNv1s4: Downloading video info webpage
[youtube] _wg3vlNv1s4: Extracting video information
[download] Destination: DonCrimes Rückblick - Folge 16 Castlevania The New Generation-_wg3vlNv1s4.mp4
[download] 100% of 49.90MiB in 00:00
ERROR: content too short (expected 52325788 bytes and served 14547)
Traceback (most recent call last):
File "/home/shakeyourbunny/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 953, in process_info
success = dl(filename, info_dict)
File "/home/shakeyourbunny/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 929, in dl
return fd.download(name, info)
File "/home/shakeyourbunny/bin/youtube-dl/youtube_dl/downloader/common.py", line 290, in download
return self.real_download(filename, info_dict)
File "/home/shakeyourbunny/bin/youtube-dl/youtube_dl/downloader/http.py", line 172, in real_download
raise ContentTooShortError(byte_counter, int(data_len))
ContentTooShortError
I tried downloading both videos of the course of the several days, tried to change IP address in order to avoid into running throttling due to Youtube .. sigh