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.
use sleep delay before Invoking downloader #23791
Comments
|
If anyone is not working on this I would like to work on this. |
|
for a single video if we start sleep(time) before initializing the extractor that would solve the issue but if video url has some other problem like webpage is not extracted correctly we will have to wait for that whatever the sleep time is (because that will be known only after extracting the page). |
|
|
@faizan2700 are you planning to work on this? Thank you |
|
treble2019, your original example looked like you wanted to achieve objective #2. In that case, you could just sleep 9000; ,/youtube-dl ... couldn't you? |
Description
if one uses
--sleep-interval 9000then the command goes to the website, invokes downloader, gathers the 'final URL or similar' and then waits. This is inconvenient:Some websites have timeout for the extracted URL - it becomes invalid before the timeout happens.
Download fails
Can you edit code so sleep before doing any network activity
Example
For Playlists
I do not know what the optimal solution is: