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

Download Failed on YouTube video #1505

Closed
astral2k5 opened this issue Sep 26, 2013 · 3 comments
Closed

Download Failed on YouTube video #1505

astral2k5 opened this issue Sep 26, 2013 · 3 comments

Comments

@astral2k5
Copy link

@astral2k5 astral2k5 commented Sep 26, 2013

Hi,

I get error downloading this video:
http://www.youtube.com/watch?v=Dg9n-sVmSMU

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.youtube.com/watch?v=Dg9n-sVmSMU']
[debug] youtube-dl version 2013.09.24.2
[debug] Python version 2.7.5 - Windows-8-6.2.9200
[debug] Proxy map: {}
[youtube] Setting language
[youtube] Dg9n-sVmSMU: Downloading video webpage
[youtube] Dg9n-sVmSMU: Downloading video info webpage
[youtube] Dg9n-sVmSMU: Extracting video information
[download] Destination: Italian Scientists Convicted Over Earthquake Prediction-Dg9n-sVmSMU.mp4
[download] 100% of 112.72MiB in 00:00.18KiB/s ETA 03:07
ERROR: content too short (expected 118193447 bytes and served 1262)
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 559, in process_info
File "youtube_dl\FileDownloader.pyo", line 577, in _do_download
ContentTooShortError

Could you please check into this, thanks!

@phihag
Copy link
Contributor

@phihag phihag commented Sep 26, 2013

This is an error on YouTube's site (most likely, their filesystem has broken). We should try to restart the downloading process, and clarify that this is a YouTube error and unrelated to youtube-dl. You can try downloading another format (with -f) - that will request another file from YouTube.

@astral2k5
Copy link
Author

@astral2k5 astral2k5 commented Oct 18, 2013

This is very odd, now this video works and has all 1080p and 720p formats in MP4 and webm too.
Till now all videos I've tried the last 2 days didn't had the 1080p and had the Dash formats.

http://www.youtube.com/watch?v=Dg9n-sVmSMU

[youtube] Setting language
[youtube] Dg9n-sVmSMU: Downloading video webpage
[youtube] Dg9n-sVmSMU: Downloading video info webpage
[youtube] Dg9n-sVmSMU: Extracting video information
Available formats:
37 : mp4 [1080x1920]
46 : webm [1080x1920]
22 : mp4 [720x1280]
45 : webm [720x1280]
35 : flv [480x854]
44 : webm [480x854]
34 : flv [360x640]
18 : mp4 [360x640]
43 : webm [360x640]
5 : flv [240x400]
36 : 3gp [240x320]
17 : 3gp [144x176]

@ivanperez-keera
Copy link

@ivanperez-keera ivanperez-keera commented Nov 14, 2013

Just got a similar problem with the following playlist:

$ youtube-dl -t https://www.youtube.com/playlist?list=PLDBDC24A037ECEA67
[youtube:playlist] PLDBDC24A037ECEA67: Downloading page #1
[youtube:playlist] PLDBDC24A037ECEA67: Downloading page #2
[download] Downloading playlist: Civilization II Soundtrack
[youtube:playlist] playlist 'Civilization II Soundtrack': Collected 29 video ids (downloading 29 of them)
[download] Downloading video #1 of 29
[youtube] Setting language
[youtube] Xa7-lp3i38s: Downloading video webpage
[youtube] Xa7-lp3i38s: Downloading video info webpage
[youtube] Xa7-lp3i38s: Extracting video information
[download] Destination: Civilization II - Menu Music-Xa7-lp3i38s.mp4
[download] 100% of 2.47MiB in 00:43
[download] Downloading video #2 of 29
[youtube] J0iwmZgfB3k: Downloading video webpage
[youtube] J0iwmZgfB3k: Downloading video info webpage
[youtube] J0iwmZgfB3k: Extracting video information
[download] Destination: Civilization 2 Soundtrack - Augustus Rises-J0iwmZgfB3k.mp4
[download] 100% of 9.64MiB in 00:01
ERROR: content too short (expected 10112989 bytes and served 53186)

I tried with every video in the playlist and it failed with every single one, except for the first (menu music).

This behaviour is consistent across versions. I tried with 2012.09.27 and 2013.11.13.

Switching formats did help. I don't think that's the solution, though.

@dstftw dstftw closed this Jan 24, 2016
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
4 participants
You can’t perform that action at this time.