Score:0

Youtube-dl download speed

cn flag

My script backs up certain video channels. Mostly the download speed is fine... but sometimes a video gets downloaded very slowly... and I have the option of either waiting for many hours until the video is finished... or I press Ctrl+C and run my script again.

But... I don't want to stop my whole script as Ctrl+C causes: "ERROR: Interrupted by user".

I want to interrupt that slow video only... so that youtube-dl retries to download that video "--retries" times before going to the next video in the list.

What key-combination should I use to interrupt the slow video-download only?

Second question: "--limit-rate" limits the download speed... Is there an option that measures the download speed... and when it's below a certain threshold for a set amount of seconds, the download gets interrupted and retried?

Torrent clients have the "re-announce" option to reestablish a faster connection... Does youtube-dl have such an option?

Tips are welcome.

Thanks,
Cheers,
user1366177

vanadium avatar
cn flag
Please limit your questions to one question at a time: this is not a typical forum, but a Q&A site. The format of the site is: one defined problem, well defined solutions.
Aenfa avatar
am flag
This is a known issue with `youtube-dl`. See https://github.com/ytdl-org/youtube-dl/issues/29326
user1366177 avatar
cn flag
Thank you Aenfa! Any idea what key-combination I can use to interrupt the slow video (rather than my whole script)?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.