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.
Add Sleep Before Metadata Extraction #17982
Comments
|
No such rate limits have been seen on vimeo so far. Provide concrete verbose logs demonstrating that. |
|
FWIW, I had the same issue with Pluralsight.
Providing concrete logs of this would put my account at risk, but my anecdotal data clearly points to the lack of a longer metadata sleep as the cause. (PS I was using --embed-subs which consistently fails on some videos, I believe it happens when .srt timestamps are outside the video duration, which happens here and there. Fixed by using --ignore-errors from now to keep going) |
|
sleep should take BEFORE any connections made. Because in some cases the server responds to 403 during metadata extraction. Getting the issue with the following
|
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.10.05. 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?
Description of your issue, suggested solution and other information
I am attempting to download an entire organization's videos for them from vimeo, which requires downloading the original quality video. In order to get the link for the original quality video, youtube-dl has to get the JSON metadata. JSON metadata on vimeo appears to be rate limited to something on the order of once per 5 seconds or so. This means if I were to resume the download of all the videos, when it is going through all the ones that it has already downloaded it will break the rate limit for the JSON metadata, preventing me from getting any original videos.
--sleep-intervaland--max-sleep-intervalwork for preventing rate limiting on downloads, but there needs to be a sleep that occurs before metadata extraction, so even when youtube-dl goes through all the videos that it has already gotten, it can be spaced out to comply with rate-limiting.