Skip to content
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

It would be awesome if youtube-dl had an option to define maximum time allowed for the download #24053

Open
3 tasks done
Vdal1989 opened this issue Feb 16, 2020 · 0 comments
Open
3 tasks done
Labels

Comments

@Vdal1989
Copy link

Checklist

  • I'm reporting a feature request
  • I've verified that I'm running youtube-dl version 2020.01.24
  • I've searched the bugtracker for similar feature requests including closed ones

Description

Due to restrictions in my workplace I need to interrupt my download after x seconds and then wait with a timeout to continue downloading and then repeat this process again and again until the download is complete.
I tried use this option:
--external-downloader curl --external-downloader-args “--max-time ”
But the problem is when the “--max-time” option is complete I think youtube-dl detect it as an error in the connection and it try to auto retry the download and start the download process again.
I not found an option in youtube-dl to set no rety. The only option I see is --retries wish define the number of retries and when I set --retries 0 an error occurs.
Thank you for your attention and please let me know if there is a better way to do what I trie to do with youtube-dl
Sorry for my poor english

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant