A minimal HTTP download manager that works just fine.
./dlm --help
Minimal download manager
Usage: dlm [OPTIONS] --maxConcurrentDownloads <maxConcurrentDownloads> --inputFile <inputFile> --outputDir <outputDir>
Options:
-M, --maxConcurrentDownloads <maxConcurrentDownloads>
used to limit the number of downloads in flight
-i, --inputFile <inputFile>
input file with links
-o, --outputDir <outputDir>
output directory for downloads
-U, --userAgent <userAgent>
User-Agent header to be used by the HTTP client
--randomUserAgent
sets up a random User-Agent header to be used by the HTTP client
--proxy <proxy>
configure the HTTP client to use a proxy
-A, --accept <accept>
Accept header to be used by the HTTP client
-r, --retry <retry>
configure the number of retries in case of network error [default: 10]
--connectionTimeoutSecs <connectionTimeoutSecs>
configure connection timeout in seconds for the HTTP client [default: 10]
-h, --help
Print help
-V, --version
Print version
Example:
./dlm --inputFile ~/dlm/links.txt --outputDir ~/dlm/output --maxConcurrentDownloads 2
Using the provided binaries in https://github.com/agourlay/dlm/releases
Using Cargo via crates.io.
cargo install dlm