mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 17:15:35 +00:00
update readme
This commit is contained in:
parent
73c1c556af
commit
0671b7b6f9
1 changed files with 2 additions and 4 deletions
|
|
@ -34,7 +34,6 @@ torrent client <-----------------------| * /preload/info-
|
||||||
> [!TIP]
|
> [!TIP]
|
||||||
> * prepend `RUST_LOG=debug` to debug, append `NO_COLOR=1` to disable fmt
|
> * prepend `RUST_LOG=debug` to debug, append `NO_COLOR=1` to disable fmt
|
||||||
> * use `--preload-*` arguments group to avoid preloading everything (by default)
|
> * 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
|
``` bash
|
||||||
aquatic-crawler --infohash /path/to/info-hash-ipv4.bin\
|
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\
|
--tracker udp://host2:port\
|
||||||
--preload /path/to/directory\
|
--preload /path/to/directory\
|
||||||
--preload-max-filesize=50000\
|
--preload-max-filesize=50000\
|
||||||
--preload-max-filecount=1\
|
--preload-max-filecount=10\
|
||||||
--preload-regex="\.(png|gif|jpeg|jpg|webp|svg|log|txt)$"\
|
--preload-regex="\.(png|gif|jpeg|jpg|webp|svg|log|txt)$"
|
||||||
--peer-read-write-timeout=10
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue