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.
HTTP Error 404: Not Found on Recently Live Videos #12904
Comments
|
Thanks for the report. There are already quite a few reports about issues on just-ended live streams, and there's also a generic proposal for handling such problems. See #3721. |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.04.28. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add
-vflag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):Description of your issue, suggested solution and other information
It seems that when using youtube-dl to download videos that were recently streamed live, it results in an HTTP Error 404. The video resulting in the error above, found at this url, was streamed live approximately 1 hour before attempting to download it which consistently produced the error. However after spending some time searching for a solution and retrying the same command, it worked like a normal video. My best guess would be some caching or processing of the live video on Youtube's end before it is available for programs like youtube-dl to download, however I was able to watch the video on Youtube's website while the problem occurred. Unfortunately I don't know enough about youtube-dl's algorithm to comment on why this may have happened.
Due to the strict timeframe of this problem, it may be difficult to reproduce and it is trivial to solve considering the download worked for me after some time passed. However I am documenting it here for the sake of completeness in case some developer decides to take a look, so that perheps others may benefit.