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

ContentTooShortError on video that seems to play on Youtube #2849

Closed
Rosuav opened this issue May 3, 2014 · 1 comment
Closed

ContentTooShortError on video that seems to play on Youtube #2849

Rosuav opened this issue May 3, 2014 · 1 comment

Comments

@Rosuav
Copy link

@Rosuav Rosuav commented May 3, 2014

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'hqTbs_X7JVg']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.04.30.1
[debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-debian-7.4
[debug] Proxy map: {}
[youtube] Setting language
[youtube] hqTbs_X7JVg: Downloading webpage
[youtube] hqTbs_X7JVg: Downloading video info webpage
[youtube] hqTbs_X7JVg: Extracting video information
[download] Destination: Alice - Madness Returns [1080p] _ EP-08 _ It's Gettin' Hot in Here-hqTbs_X7JVg.mp4
[download] 100% of 330.68MiB in 00:00
ERROR: content too short (expected 346747413 bytes and served 19774)
Traceback (most recent call last):
  File "Downloads/youtube-dl/youtube_dl/YoutubeDL.py", line 1009, in process_info
    success = dl(filename, info_dict)
  File "Downloads/youtube-dl/youtube_dl/YoutubeDL.py", line 985, in dl
    return fd.download(name, info)
  File "Downloads/youtube-dl/youtube_dl/downloader/common.py", line 291, in download
    return self.real_download(filename, info_dict)
  File "Downloads/youtube-dl/youtube_dl/downloader/http.py", line 191, in real_download
    raise ContentTooShortError(byte_counter, int(data_len))
ContentTooShortError

Using the latest youtube-dl (as far as I can tell); the same occurs with the version apt-gettable from Debian Jessie's repository. Is there a way to figure out what is actually going on, and if this particular video is broken? The video appears to be playable on Youtube's own web site.

@Azulan
Copy link

@Azulan Azulan commented May 3, 2014

Getting similar error. Youtube site has been flakey for me last couple of days, some videos play and others do not. This particular one was playing fine for 5 minutes and has now stopped entirely.

C:\Users\xxxxx\Downloads>youtube-dl.exe --verbose http://www.youtube.com/wa
tch?v=WHFaiUc7Qwk
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.youtube.com/watch?v=WHFaiUc
7Qwk']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2014.04.30.1
[debug] Python version 2.7.5 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[youtube] Setting language
[youtube] WHFaiUc7Qwk: Downloading webpage
[youtube] WHFaiUc7Qwk: Downloading video info webpage
[youtube] WHFaiUc7Qwk: Extracting video information
[download] Destination: HTML5DevConf Daniel Holmlund - 'Authentication without P
asswords Implementing SQRL'-WHFaiUc7Qwk.mp4
[download] 100% of 640.49MiB in 00:00
ERROR: content too short (expected 671600592 bytes and served 10065)
Traceback (most recent call last):
  File "youtube_dl\YoutubeDL.pyo", line 1009, in process_info
  File "youtube_dl\YoutubeDL.pyo", line 985, in dl
  File "youtube_dl\downloader\common.pyo", line 291, in download
  File "youtube_dl\downloader\http.pyo", line 191, in real_download
ContentTooShortError
@dstftw dstftw closed this in a3c3a1e Aug 26, 2017
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.