Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There are several reports about the download speed would slow down gradually, especially in Bilibili:
#275 #143 #128
I am not an expert in Go and have no idea to improve the application itself. So I tried to use third-party applications to download.
aria2 is a very famous and lightweight command-line download utility. It has an interface of RPC, which means we can merely send a request to make it work.
Here is the demo:
Use built-in download:
Use aria2c (I use a WebUI, AriaNg to watch the speed):
I know that this breaks the independence of annie, but it is an effective workaround to improve the download speed. In addition, I only implemented the download request, leaving the post process empty. Perhaps I would make the function more completed some day or just make it a plugin for annie.
Last but not least, thank you for developing this convenient tool.