AlexAplin / nndownload

Download and process links from Niconico (nicovideo.jp)
MIT License
213 stars 28 forks source link

Avoid speed throttling #124

Open thgdorns opened 2 years ago

thgdorns commented 2 years ago

After downloading a few videos using as input a text file with links, the download speed drops down do around 30kb/s and stays there until the end of the current download, then goes back to normal for the next two downloads. This happens with and without multithreading.

If I close the program during the slow speed download, wait for a few minutes and resume, it goes back to normal speed for another 2 downloads. So I think that setting an interval between downloads would fix the issue.

Is there a way to set a time interval between downloads when using a text file input?

AlexAplin commented 2 years ago

That's definitely the result of Nico throttling, so not something we can actually bypass easily. With some testing we should be able to determine a timeout interval that can be toggled on (or make it user-specified).

CXwudi commented 2 years ago

another option is to provide an option to manually set the download speed limit. That's what I personally do in yt-dlp with aria2c. I set a limit of 7mb/s and I never experience any trolling from niconico