dlm

Crates.iodlm
lib.rsdlm
version
sourcesrc
created_at2024-03-08 08:36:55.146893
updated_at2024-12-05 19:48:17.711496
descriptionMinimal download manager
homepage
repositoryhttps://github.com/agourlay/dlm
max_upload_size
id1166663
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Arnaud Gourlay (agourlay)

documentation

README

dlm

Build status Crates.io

A minimal HTTP download manager that works just fine.

Features

  • read URLs from a text file (one entry per line)
  • 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
./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
  -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]
  -A, --accept <accept>
          Accept header to be used by the HTTP client request
      --acceptInvalidCerts
          Accept invalid certificates
  -h, --help
          Print help
  -V, --version
          Print version

Example:

./dlm --inputFile ~/dlm/links.txt --outputDir ~/dlm/output --maxConcurrentDownloads 2

Installation

Releases

Using the provided binaries in https://github.com/agourlay/dlm/releases

Crates.io

Using Cargo via crates.io.

cargo install dlm
Commit count: 782

cargo fmt