Skip to content

Latest commit

 

History

History
executable file
·
29 lines (24 loc) · 810 Bytes

README.MD

File metadata and controls

executable file
·
29 lines (24 loc) · 810 Bytes

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