switch librqbit/tracker-udp-dualstack branch to enable UDP IPv4+IPv6 support, update CLI API to 9.0.0-beta.0 (see release notes)

This commit is contained in:
yggverse 2025-06-08 01:44:52 +03:00
parent d0bd72396f
commit 379ddca62e
3 changed files with 3 additions and 9 deletions

View file

@ -14,9 +14,11 @@ repository = "https://github.com/YGGverse/aquatic-crawler"
anyhow = "1.0.98"
clap = { version = "4.5", features = ["derive"] }
hyper-util = "0.1.14"
librqbit = {version = "8.1.0", features = ["disable-upload"]}
librqbit = {version = "9.0.0-beta.0", features = ["disable-upload"]}
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1.45", features = ["full"] }
tracing-subscriber = "0.3"
url = "2.5.4"
[patch.crates-io]
librqbit = { git = "https://github.com/ikatson/rqbit.git", branch = "tracker-udp-dualstack", package = "librqbit" }

View file

@ -71,15 +71,9 @@ aquatic-crawler --infohash-file /path/to/info-hash-ipv4.json\
--enable-dht
Enable DHT resolver
--enable-upnp-port-forwarding
Enable UPnP
--enable-upload
Enable upload
--socks-proxy-url <SOCKS_PROXY_URL>
Use `socks5://[username:password@]host:port`
-s <SLEEP>
Crawl loop delay in seconds

View file

@ -55,9 +55,7 @@ async fn main() -> anyhow::Result<()> {
SessionOptions {
disable_dht: !argument.enable_dht,
disable_upload: !argument.enable_upload,
enable_upnp_port_forwarding: argument.enable_upnp_port_forwarding,
persistence: None,
socks_proxy_url: argument.socks_proxy_url.clone(),
trackers: trackers.clone(),
..SessionOptions::default()
},