Skip to content

wjianwei126/DHT

 
 

Repository files navigation

If there's anyone interested with bt search engine, we can share.

##DHT

  • Get torrent data from DHT net.
  • Check for peers trackers.
  • Analyse torrent list info.
  • Download it if i want.

Two way to get bittorrent

  1. DHT&TorrentServer
    • use krpc.py & btAnalyzer.py
  2. use libtorrent
    • use dhtcollector.py
    Usage: dhtcollector.py [options]
    
    Options:
      -h, --help            show this help message and exit
      -p LISTEN-PORT, --port=LISTEN-PORT
                            the listen port.
      -n SESSION-NUM, --snum=SESSION-NUM
                            the dht sessions num.
      -l LOOP-NUM, --loop=LOOP-NUM.
                            the maximum num one torrentHandler will seeding. And each loop cost 0.7s.

use udp send statistic info.
statistic.py

About

Get torrent data from DHT net And analyse list info

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.1%
  • Shell 0.9%