nndownload icon indicating copy to clipboard operation
nndownload copied to clipboard

Avoid speed throttling

Open thgdorns opened this issue 2 years ago • 2 comments

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?

thgdorns avatar May 06 '22 18:05 thgdorns

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).

AlexAplin avatar May 18 '22 23:05 AlexAplin

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

CXwudi avatar May 23 '22 18:05 CXwudi