Bandwidth Throttling #152

Closed
opened 2026-02-20 22:26:38 -05:00 by deekerman · 1 comment
Owner

Originally created by @NewKreation on GitHub (Nov 19, 2011).

I would like to see a bandwidth throttle option to limit the bandwidth used (ex. -bw 40). This would limit the bandwidth of the file being downloaded to 40 KB/s. Having this option would leave us some bandwidth to surf the internet faster while downloading files. Thanks in advance!

Originally created by @NewKreation on GitHub (Nov 19, 2011). I would like to see a bandwidth throttle option to limit the bandwidth used (ex. -bw 40). This would limit the bandwidth of the file being downloaded to 40 KB/s. Having this option would leave us some bandwidth to surf the internet faster while downloading files. Thanks in advance!
Author
Owner

@phihag commented on GitHub (Nov 20, 2011):

This isn't easy to implement with urllib/urllib2 and rtmpdump. However, you can simply use trickle to throttle downloads. If you have a nice implementation for urllib2 (and/or rtmpdump), feel free to create a pull request, which will be merged if it doesn't break anything else.

I'm closing this issue for now, since one can easily use trickle:

trickle -d 40 youtube-dl http://www.youtube.com/watch?v=uHlDtZ6Oc3s
@phihag commented on GitHub (Nov 20, 2011): This isn't easy to implement with urllib/urllib2 and rtmpdump. However, you can simply use [trickle](http://monkey.org/~marius/pages/?page=trickle) to throttle downloads. If you have a nice implementation for urllib2 (and/or rtmpdump), feel free to create a pull request, which will be merged if it doesn't break anything else. I'm closing this issue for now, since one can easily use trickle: ``` trickle -d 40 youtube-dl http://www.youtube.com/watch?v=uHlDtZ6Oc3s ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#152
No description provided.