Youtube download fails sometimes #139

Closed
opened 2026-02-20 22:26:22 -05:00 by deekerman · 3 comments
Owner

Originally created by @ghost on GitHub (Oct 27, 2011).

I know there is another issue with this error but I think this is possibly a different situation.

This might be a weird case but occasionally when using through PHP exec the download will fail. I am not entirely sure why. The error is: ERROR: unable to download video

However it does actually download the video in full. The file is all there. There seems there is only one quality of video for this particular video because it will download the same video with worst or best format set.

Furthermore, it does not always fail. Sometimes it works. It really makes no sense to me. Other videos will work.

The command it uses is:
youtube-dl --retries 5 --ignore-errors --rate-limit 100k --no-progress --no-part --title --no-continue --format best "http://youtube.com/watch?v=JRwSk4phPLA"

Originally created by @ghost on GitHub (Oct 27, 2011). I know there is another issue with this error but I think this is possibly a different situation. This might be a weird case but occasionally when using through PHP exec the download will fail. I am not entirely sure why. The error is: ERROR: unable to download video However it does actually download the video in full. The file is all there. There seems there is only one quality of video for this particular video because it will download the same video with worst or best format set. Furthermore, it does not always fail. Sometimes it works. It really makes no sense to me. Other videos will work. The command it uses is: youtube-dl --retries 5 --ignore-errors --rate-limit 100k --no-progress --no-part --title --no-continue --format best "http://youtube.com/watch?v=JRwSk4phPLA"
Author
Owner

@TRox1972 commented on GitHub (Jun 13, 2016):

This issue is very old without response. Should it be closed?

@TRox1972 commented on GitHub (Jun 13, 2016): This issue is very old without response. Should it be closed?
Author
Owner

@hrxn commented on GitHub (Jun 13, 2016):

Yes, good catch.

@hrxn commented on GitHub (Jun 13, 2016): Yes, good catch.
Author
Owner

@ghost commented on GitHub (Nov 3, 2018):

maybe someone actually close it this time? XD

@ghost commented on GitHub (Nov 3, 2018): maybe someone actually close it this time? XD
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#139
No description provided.