爱意满满的作品展示区。
justjavac

刚才看有人在 V2EX 问 BT 协议和 Magnet,正好正在研究“BitTorrent DHT 协议中文翻译”

  •  2
     
  •   justjavac ·
    justjavac · Feb 2, 2015 · 11263 views
    This topic created in 4295 days ago, the information mentioned may be changed or developed.
    28 replies  •  2015-08-17 02:24:32 +08:00
    kslr
    kslr
    Feb 2, 2015
    1
    good
    invite
    invite
    Feb 2, 2015
    2
    求源码,嘿嘿。
    shoumu
    shoumu
    Feb 2, 2015
    3
    之前就打算研究一下,现在正好看看,多谢楼主
    R4rvZ6agNVWr56V0
    R4rvZ6agNVWr56V0
    Feb 2, 2015
    4
    哎 不会英文果然是落后好多年。这协议都快十年了。
    justjavac
    justjavac
    OP
    Feb 2, 2015
    5
    @GeekGao 貌似10多年了。03年的时候Bram Cohen发明了BT协议。
    R4rvZ6agNVWr56V0
    R4rvZ6agNVWr56V0
    Feb 2, 2015
    6
    @justjavac 那会儿还没DHT呢吧 后扩展上去的
    justjavac
    justjavac
    OP
    Feb 2, 2015
    7
    @GeekGao 嗯。以前是 bt,后来 dht 应该是学习的电驴的 ed2k
    Earthman
    Earthman
    Feb 2, 2015 via Android
    8
    现在有几个爬DHT网络的搜索引擎,很方便。
    elvis_w
    elvis_w
    Feb 2, 2015
    9
    @justjavac 应该是Kad吧,eD2k是基于中心服务器的。而且,严格说来,加上Kad应该是电骡(eMule)了
    elvis_w
    elvis_w
    Feb 2, 2015
    10
    @Earthman 那些搜番号种子的引擎吗XD
    justjavac
    justjavac
    OP
    Feb 2, 2015
    11
    @elvis_w 嗯。是kad
    paolongtao
    paolongtao
    Feb 2, 2015
    12
    求源码及详细部署流程
    Earthman
    Earthman
    Feb 2, 2015
    13
    @paolongtao 这样的伸手党不合适,这种站很容易推广赚钱的。得看作者愿不愿意开源了
    withrock
    withrock
    Feb 3, 2015
    14
    @Earthman
    @invite
    的确,这也是作者的劳动果实。那我就分享几个我收藏的DHT开源的项目,对DHT/爬虫感兴趣的朋友可以看看,对理解DHT/P2P协议很有帮助。
    http://codemacro.com/2013/06/20/magnet-search/
    http://codemacro.com/2013/05/19/crawl-dht/
    http://www.tuicool.com/articles/JbayYb
    https://github.com/semk/Pytt
    http://code.google.com/p/udpt
    https://github.com/laomayi/simDHT
    https://github.com/0x0d/dhtfck
    paolongtao
    paolongtao
    Feb 3, 2015
    15
    还没兴趣那这个赚钱,只是想学习一下
    invite
    invite
    Feb 3, 2015
    16
    @paolongtao
    @withrock

    是不是可以搞一个针对BT的wiki的站?完全免费。
    laotaitai
    laotaitai
    Apr 16, 2015
    17
    simDHT是我写的, github用户名我现在改了.
    justjavac
    justjavac
    OP
    Apr 16, 2015
    18
    @laotaitai 是go语言的那个吗?可惜不懂go。
    laotaitai
    laotaitai
    Apr 16, 2015 via Android
    19
    @justjavac Python写的
    justjavac
    justjavac
    OP
    Apr 17, 2015
    20
    @laotaitai 很简练,不错
    dongcheng
    dongcheng
    May 4, 2015
    21
    @laotaitai 在看你写的nodeDHT,很不错。问几个问题,添加新的BOOTSTRAP_NODES,会采集到不一样的资源吗?能按关键字采集吗?
    laotaitai
    laotaitai
    May 4, 2015
    22
    @dongcheng
    1, 没看懂
    2, 能
    dongcheng
    dongcheng
    May 4, 2015
    23
    laotaitai
    laotaitai
    May 4, 2015
    24
    @dongcheng
    1, 有无数个DHT节点, 增一个, 减一个, 没啥区别, 这仅仅是个初始节点而已,后面你DHT爬虫将会结交上亿节点, 这3个节点也是个普通节点, 只是比较出名, 长期在线的.

    2, 把每个资源进行获取, 解析, 与期望关键词库进行对比即可.
    dongcheng
    dongcheng
    May 4, 2015
    25
    @laotaitai 你是说把infohash全采集下来,再对比?
    laotaitai
    laotaitai
    May 4, 2015
    26
    @dongcheng
    是咯, 不然你能逆算出hash啊?
    dongcheng
    dongcheng
    May 4, 2015
    27
    @laotaitai OK,谢啦
    youxiaer
    youxiaer
    Aug 17, 2015
    28
    如何通过 infohash 获取到bt种子文件?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2452 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 50ms · UTC 11:09 · PVG 19:09 · LAX 03:09 · JFK 06:09
    ♥ Do have faith in what you're doing.