mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 17:15:35 +00:00
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:
parent
d0bd72396f
commit
379ddca62e
3 changed files with 3 additions and 9 deletions
|
|
@ -14,9 +14,11 @@ repository = "https://github.com/YGGverse/aquatic-crawler"
|
||||||
anyhow = "1.0.98"
|
anyhow = "1.0.98"
|
||||||
clap = { version = "4.5", features = ["derive"] }
|
clap = { version = "4.5", features = ["derive"] }
|
||||||
hyper-util = "0.1.14"
|
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 = { version = "1.0", features = ["derive"] }
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
tokio = { version = "1.45", features = ["full"] }
|
tokio = { version = "1.45", features = ["full"] }
|
||||||
tracing-subscriber = "0.3"
|
tracing-subscriber = "0.3"
|
||||||
url = "2.5.4"
|
url = "2.5.4"
|
||||||
|
[patch.crates-io]
|
||||||
|
librqbit = { git = "https://github.com/ikatson/rqbit.git", branch = "tracker-udp-dualstack", package = "librqbit" }
|
||||||
|
|
@ -71,15 +71,9 @@ aquatic-crawler --infohash-file /path/to/info-hash-ipv4.json\
|
||||||
--enable-dht
|
--enable-dht
|
||||||
Enable DHT resolver
|
Enable DHT resolver
|
||||||
|
|
||||||
--enable-upnp-port-forwarding
|
|
||||||
Enable UPnP
|
|
||||||
|
|
||||||
--enable-upload
|
--enable-upload
|
||||||
Enable upload
|
Enable upload
|
||||||
|
|
||||||
--socks-proxy-url <SOCKS_PROXY_URL>
|
|
||||||
Use `socks5://[username:password@]host:port`
|
|
||||||
|
|
||||||
-s <SLEEP>
|
-s <SLEEP>
|
||||||
Crawl loop delay in seconds
|
Crawl loop delay in seconds
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -55,9 +55,7 @@ async fn main() -> anyhow::Result<()> {
|
||||||
SessionOptions {
|
SessionOptions {
|
||||||
disable_dht: !argument.enable_dht,
|
disable_dht: !argument.enable_dht,
|
||||||
disable_upload: !argument.enable_upload,
|
disable_upload: !argument.enable_upload,
|
||||||
enable_upnp_port_forwarding: argument.enable_upnp_port_forwarding,
|
|
||||||
persistence: None,
|
persistence: None,
|
||||||
socks_proxy_url: argument.socks_proxy_url.clone(),
|
|
||||||
trackers: trackers.clone(),
|
trackers: trackers.clone(),
|
||||||
..SessionOptions::default()
|
..SessionOptions::default()
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue