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 download fails sometimes #203
Comments
|
This issue is very old without response. Should it be closed? |
|
Yes, good catch. |
|
maybe someone actually close it this time? XD |
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"