Simple CLI tool to get peers from BitTorrent trackers
https://crates.io/crates/btpeer
- Rust 100%
|
|
||
|---|---|---|
| src | send fake port in announce by default #2 ; update version | |
| .gitignore | initial commit | |
| Cargo.lock | send fake port in announce by default #2 ; update version | |
| Cargo.toml | send fake port in announce by default #2 ; update version | |
| LICENSE | Initial commit | |
| README.md | fix dependencies badge | |
btpeer
Simple CLI tool and library to get peers from BitTorrent trackers
Features
Commands:
- Announce - return
interval,leechersandseederscount, optionalpeersIP:port array - Scrape - return
leechers,peers,seederscount,info_hasharray with stats
Tracker protocols:
- UDP
- TCP/HTTP
- WS
Address family:
- IPv4
- IPv6
- I2P
Install
cargo install btpeer
Usage
Multiple --trackers are supported!
btpeer --help
TCP/HTTP
btpeer announce -t http://[202:68d0:f0d5:b88d:1d1a:555e:2f6b:3148]:6969/announce \
-i e337a880c4d0f552bab5b437fe1208d26130ccc5
SOCKS/Tor
all_proxy=socks5h://127.0.0.1:9050 \
btpeer announce -t http://some.onion/announce \
-i e337a880c4d0f552bab5b437fe1208d26130ccc5
HTTP/I2P
all_proxy=http://127.0.0.1:4444 \
btpeer announce -t http://btrackrqkjp6kgelov5a3uxisis77ofxqt5nvy5hvvtoybjpmq4q.b32.i2p/announce \
-i e337a880c4d0f552bab5b437fe1208d26130ccc5
- or use just argument option:
--proxy http://127.0.0.1:4444 - tip: use connection
--timeoutto increase defaults
UDP
btpeer announce -t [202:68d0:f0d5:b88d:1d1a:555e:2f6b:3148]:6969
-i e337a880c4d0f552bab5b437fe1208d26130ccc5
Dump to file
To disable colored output (e.g. by printing output to file)
btpeer --no-color scrape -t http://[202:68d0:f0d5:b88d:1d1a:555e:2f6b:3148]:6969/scrape > file.txt
Donate
Monero / XMR
85A5y6erLDgDTnij3GhESYHHBhqUFYbPG19qPXTv7qeL3TuLTxhN7ij4GBQHqkyYXXQMhEVjKMnFPcV9SnbtgfPa9MDe8ec