implement clear, torrent_tracker, disable_dht arguments

This commit is contained in:
yggverse 2025-06-07 15:53:17 +03:00
parent bd6cc95bf3
commit 1da27bfffe
5 changed files with 62 additions and 15 deletions

View file

@ -21,9 +21,6 @@ Crawler/aggregation tool for the [Aquatic](https://github.com/greatest-ape/aquat
* [ ] V2
* [ ] [Manticore](https://github.com/manticoresoftware/manticoresearch-rust) full text search
* [ ] SQLite
* Tools
* [ ] Storage cleaner
* [ ] Implement tests
## Install
@ -53,12 +50,23 @@ Options:
[default: ei]
-i, --infohash-source <INFOHASH_SOURCE>
Filepath(s) to the Aquatic tracker info-hash JSON/API (PR#233)
-c, --clear
Clear previous index collected on crawl session start
-t, --torrents-path <TORRENTS_PATH>
-i, --infohash-source <INFOHASH_SOURCE>
Filepath(s) to the Aquatic tracker info-hash JSON/API
* PR#233 feature
--torrents-path <TORRENTS_PATH>
Directory path to store the `.torrent` files
--torrent-tracker <TORRENT_TRACKER>
Define custom tracker(s) to preload the `.torrent` files info
--disable-dht
Disable DHT resolver (useful with `torrent_tracker`)
-s, --sleep <SLEEP>
Crawl loop delay in seconds