Key features
- Scrape peers from trackers
- Scrape peers from DHT
- Requests and uptime stats
Edit server.js to change the configuration
accessKey = 'qwerty';
appPort = 8585;
peerPort = 6889;
scrapeTimeout = 10;
scrapeType = 'auto';
Run scrape server
node server.js
/scrape?access_key=&scrape_type=&info_hash=&announce_list=
{"seeders":103,"leechers":88}
/stats?access_key=
{"tracker":59,"dht":12,"active":0,"errors":0,"last_access":"11.10.2021 17:7:10","started":"11.10.2021 16:45:0","uptime":"0 days 0 hours 22 minutes 10 seconds"}