Commands
Download, configure a profile, resume, statistics.
Download
turbodl-cli <PROFILE> <URL> [REQUEST OPTIONS]
All the request options are optional.
configure
Creates a validated profile from the default profile (or --from) and the given options.
turbodl-cli configure <FILE> [OPTIONS]
turbodl-cli configure --default [--force]
| Option | Purpose |
|---|---|
--default | (Re)writes default.profile.json in the configuration folder |
--from PROFILE | Starting profile |
--dir FOLDER | Download folder |
--threads N | Parallel connections, 1 to 32 |
--retries N | Retries per segment |
--sort-by-category true|false | Sort by category |
--on-conflict rename|overwrite|skip | File already exists |
--verbosity minimal|normal|full | Verbosity |
--password-env VARIABLE | Environment variable holding the Basic password |
--add-ext CAT:ext,… | Adds extensions to a category (repeatable) |
--remove-ext CAT:ext,… | Removes extensions (repeatable) |
--force | Overwrites the file if it exists |
configure also accepts the request options (--method, --header, --data, --data-file, --json, --cookies-file, --user, --referer, --user-agent, --proxy, --max-redirs, --timeout, --insecure), which are then written into the profile.
Warning
A profile never stores a secret: --cookie and --user name:password are refused by configure. Use --cookies-file, --password-env or ${VARIABLE} in the headers.
resume
turbodl-cli resume <FILE.part.turbodl> [REQUEST OPTIONS]
Resumes an interrupted download from its state file alone. Secrets are not saved there, so pass them again if needed (-H, -b, -u). See Pause and resume.
stats
turbodl-cli stats [--period 7d|30d|12m|all]
--period defaults to 30d.