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.
ERROR: content too short - ISSUE #829
Comments
|
This happens when youtube is still in the process of pushing the video out, or is experiencing filesystem failure. In any case, we should indeed retry before giving up. |
|
I think this issue (or protection?) belongs to youtube, because video download from twitch.tv is always good. |
|
No, I mean youtube's internal (distributed) filesystem. |
|
oh okay |
|
yes. would be just great to add automatic autorestart on unexpected end of content. |
|
For me this worked: if [%1]==[] echo URL missing & goto :EOF Then, invoke it with URL to download with quotes, like this: youtube-dl-retry.bat "your URL within quotes" If the "ERROR: content too short" happens, the tool will return error code and batch file will retry. If download completes successfully, error code will be zero and the batch file will complete. |
As usual, another wrapper: #!/bin/bash until youtube-dl ${options_list}; do — and it tries on and on whatever error it encounters. |
|
Well, these wrappers work, but are just workarounds (and nasty ones, you could run into an infinite loop if the error is not recoverable from). We should really just retry on content not short errors. |
|
true, we need a working built-in feature |
|
A wget-like retries count for a single entry on this error? |
|
Should be easy to use the same technique I use in |
|
On bash I'm using this loop RESULT=1
until [[ ${RESULT} -eq 0 ]]; do
youtube-dl.py ${OPTIONS} ${URL}
RESULT=$?
done#507 is a related PR, isn't it? |
|
i am getting this content too short error only since last week and on some videos in this one channel (unlike many other channels i tried which work well) : |
|
get_fash_videos does the same thing. In my experience, it seems to do it only on flv's, as if the server sees that the download speed is too fast to be real flash. Try a non flv container, like 22 or 18 and see if that helps. All I can say is that it worked for me! |
|
On 13-09-26 01:40 AM, helpdeskdan wrote:
already have that setting: -f 46/45/44/43/38/37/22/18 |
|
I was able to down load those videos with that -f setting with no issue. Also, I am unable to recreate my issue tonight; it seems to be gone. I second the theory of the problem being youtube's. |
|
@phihag flagging to close |
|
I keep getting this error when downloading a batch of videos. |
|
What's the status on this? There's a |
|
Duplicate of #809. |

Hello
My biggest problem about youtube-dl is the "ERROR: content too short"
[ youtube-dl is up-to-date (2013.05.07) ]
I use youtube-dl only for Youtube.
Mostly i get the error, when the download speed is getting low.
I have a 80/80 internet on my server so the problem is not belongs to me.
I tried the -R feature, but not working on these situation :(
Is anybody can describe the problem and/or fix this error?
Thanks!