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

Bandwidth Throttling #219

Closed
NewKreation opened this issue Nov 19, 2011 · 1 comment
Closed

Bandwidth Throttling #219

NewKreation opened this issue Nov 19, 2011 · 1 comment

Comments

@NewKreation
Copy link

@NewKreation NewKreation commented 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!

@phihag
Copy link
Contributor

@phihag phihag commented 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 phihag closed this Nov 22, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.