feat: add multiple link support, make slightly faster and more reliable, migrate to uv

This commit is contained in:
h
2026-02-17 01:28:10 +01:00
parent c4c8847686
commit ba0e23af4a
9 changed files with 831 additions and 128 deletions

View File

@@ -1,22 +1,24 @@
# FastDownloader
Download files from the internet with a simple command line interface.
Will significantly speed up loading from sites that slow down single-threaded
Will significantly speed up loading from sites that slow down single-threaded
download speeds. Applicable to cdn of sites with pirated films, for example.
## Installation
- Install [pipx](https://pipx.pypa.io/stable/installation/)
- Run `pipx install git+https://github.com/kotikotprojects/FastDownloader`
```
uv tool install git+https://git.kotikot.com/open/fastdl
```
## Usage
Provide direct link to file as argument.
```
fastdl https://example.com/big_file.zip
```
Multiple URLs are supported:
```
fastdl https://example.com/file1.zip https://example.com/file2.zip
```
Use `-h` or `--help` to see all options.
## Important
Not all sites support adding a `Range` header, so if you get an error when loading -
its impossible to speed it up, try using browser downloaders.
For example, huggingface supports `Range` header, you can try it out. Notice that
huggingface does not cut down the download speed, so this application most likely will
not help if your Internet speed is low.
Not all sites support adding a `Range` header. If a server doesn't support
range requests, fastdl will automatically fall back to a single-stream download.