-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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? |
Using UNIX (Linux) the 'at' command would accomplish this. |
Be careful when using the hash with numbers on GitHub. |
Yes. I could. Then why have that option inside youtube-dl? My case is that one could run tsp youtube-dl --max-sleep-interval seconds --sleep-interval SECONS url of course I can write bash script... |
Description
if one uses
--sleep-interval 9000
then 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:
The text was updated successfully, but these errors were encountered: