Skip to content

luhao1993/simDHT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simDHT:

基于twisted/Kademlia, 代码简单.

依赖包:

  1. twisted
  2. bencode

启动simDHT服务:

twistd -y simDHT.py

停止simDHT服务:

  1. cat twistd.pid
  2. kill -9 PID

配置文件:

kademlia/constants.py

其他:

  1. 请在有公网IP的机子运行.
  2. 因只实现了DHT协议, 未实现种子下载, 所收集到的infohash将会存储在infohash.log文件中.
  3. 种子下载可去迅雷种子库下载、使用libtorrent、实现种子协议(bep0003, bep0009, bep0010)

About

屎上最简单的DHT爬虫

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published