update readme

This commit is contained in:
yggverse 2025-08-10 07:53:25 +03:00
parent 73c1c556af
commit 0671b7b6f9

View file

@ -34,7 +34,6 @@ torrent client <-----------------------| * /preload/info-
> [!TIP]
> * prepend `RUST_LOG=debug` to debug, append `NO_COLOR=1` to disable fmt
> * use `--preload-*` arguments group to avoid preloading everything (by default)
> * as the crawler is running in a single thread, use `--peer-read-write-timeout` (in seconds) to skip long-lasting connections. Content preload will be restored in the next crawl cycle after resolving other torrents from active peers in the queue.
``` bash
aquatic-crawler --infohash /path/to/info-hash-ipv4.bin\
@ -44,9 +43,8 @@ aquatic-crawler --infohash /path/to/info-hash-ipv4.bin\
--tracker udp://host2:port\
--preload /path/to/directory\
--preload-max-filesize=50000\
--preload-max-filecount=1\
--preload-regex="\.(png|gif|jpeg|jpg|webp|svg|log|txt)$"\
--peer-read-write-timeout=10
--preload-max-filecount=10\
--preload-regex="\.(png|gif|jpeg|jpg|webp|svg|log|txt)$"
```
### Options