easlice / bandcamp-downloader

Download your bandcamp collection using this python script.
MIT License
281 stars 34 forks source link

Add a maximum download speed option #20

Open ZinRicky opened 1 year ago

ZinRicky commented 1 year ago

At the moment, the process saturates all of the bandwidth available, which isn’t very nice if you aren’t alone in the house. It would be great of there was an option to set a max speed — nothing fancy like rclone’s schedule, but at least a target value like --max-download-speed 1M

easlice commented 1 year ago

@ZinRicky Hey, probably a little late for you now, but you can effectively do that with the options already present.

Giving the script -p 1 will force it to download one album at a time, and then you can do --wait-after-download X to make it wait X seconds between each album download.

It isn't quite a 'max speed' option, which I'm not sure I really have any way to enforce, but it will effectively lower your throughput to something more reasonable for sharing your connection.

ZinRicky commented 1 year ago

Thank you for the reply. I had already tried the -p 1 option and played with the wait setting, but I was really looking into a throttle feature like the one in wget.
I know this request isn’t easy at all, but I was hoping there would be a chance