Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Anda001/simDHT

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

应simDHT原作者要求,在此著名出处。 此处代码fork from https://github.com/laomayi/

simDHT:

屎上代码最简单的DHT爬虫, 基于twisted/Kademlia, 很适合初学者学习.

依赖包:

  1. twisted
  2. bencode

启动simDHT服务:

twistd -y simDHT.py

停止simDHT服务:

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

配置文件:

kademlia/constants.py

其他:

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

About

屎上最简单的DHT爬虫

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.