dlm-0.6.1 is not a library.
dlm
A minimal HTTP download manager that works just fine.
Features
- read URLs from a text file
- control maximum number of concurrent downloads
- resume interrupted downloads if possible (using HTTP range)
- automatically retry re-establishing download in case of timeout or hanging connection
- multi progress bars (made with indicatif)
- native support for proxies and redirects
Input file format
- one URL per line
- empty lines are ignored
- lines starting with
#are ignored as comment
Usage
./dlm --help
Minimal download manager
Usage: dlm [OPTIONS] [URL]
Arguments:
[URL] Direct URL to download
Options:
-m, --max-concurrent <maxConcurrentDownloads>
Maximum number of concurrent downloads [default: 2]
-i, --input-file <inputFile>
Input file with links
-o, --output-dir <outputDir>
Output directory for downloads [default: .]
-u, --user-agent <userAgent>
User-Agent header to use
--random-user-agent
Use a random User-Agent header
--proxy <proxy>
HTTP proxy to use
-r, --retry <retry>
Number of retries on network error [default: 10]
--connection-timeout <connectionTimeoutSecs>
Connection timeout in seconds [default: 10]
-a, --accept <accept>
Accept header value
--accept-invalid-certs
Accept invalid TLS certificates
-h, --help
Print help
-V, --version
Print version
Examples
- Download single file
- Download several files into current directory
- With output directory and max concurrent download control
Installation
Releases
Using the provided binaries in https://github.com/agourlay/dlm/releases
Crates.io
Using Cargo via crates.io.