Skip to content

XJIOP/ScrapeTorrentPeers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Key features

  • Scrape peers from trackers
  • Scrape peers from DHT
  • Requests and uptime stats

Setup

Edit server.js to change the configuration

accessKey = 'qwerty';
appPort = 8585;
peerPort = 6889;
scrapeTimeout = 10;
scrapeType = 'auto';

Run scrape server

node server.js

Requests to scrape server

/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"}

Releases

No releases published

Packages

No packages published