Tejus Prasad Tejus Prasad - 8 months ago 82
Bash Question

youtube-dl rate limit download speed and auto resume download

i'm using a shell script for video conversion.

this is the shell script

#downloading video
youtube-dl www.someurl.com
#video conversion operations

due to bandwidth issues i have to lower the download speed. how do i limit the speed of video that is being downloaded from youtube-dl?
and how to make youtube-dl auto resume when my laptop wakes up from sleep?. youtube-dl stops download when laptop sleeps and doesn't auto restart downloading even though my laptop is connected to internet.


To rate limit and do a continue of a video download i used

youtube-dl -c --rate-limit 100k  www.url.com