p2pspider P2P 爬虫软件

程序名称:p2pspider

授权协议: MIT

操作系统: 跨平台

开发语言: JavaScript

p2pspider 介绍

介绍

p2pspider 是一个 DHT 爬虫 + BT 客户端的结合体, 从全球 DHT 网络里”嗅探”人们正在下载的资源,
并把资源的Metadata(种子的主要信息)从远程 BT 客户端下载, 并生成资源磁力链接. 通过磁力链接, 你就可以下载到资源文件.

English document

用途

你可以使用 p2pspider 打造私人种子库(比如: 海盗湾), 也可拿它做资源数据挖掘与分析。

安装

git clone https://github.com/Fuck-You-GFW/p2pspider

使用

使用前, 请确保你的 node 版本 >=0.12.0.

'use strict';
var p2pspider = require('../lib/index');
p2pspider(
    {
        address: '0.0.0.0',
        port: 6881,
        nodesMaxSize: 200,   // be careful
        maxConnections: 400, // be careful
        timeout: 5000,
        filter: function(infohash, callback) {
            var theInfohashIsExistsInDatabase = false; // false => always to download the Metadata even though the Metadata is exists.
            callback(theInfohashIsExistsInDatabase);
        }
    },
    function(Metadata) {
        console.log(Metadata);
    }
);

p2pspider 官网

https://github.com/Fuck-You-GFW/p2pspider

相关编程语言

Pacman 是一个软件包管理器, 作为 ArchLinux 发行版...
Smb4K 是KDE下的网络共享浏览器 更多屏幕截图请看:...
Wine (“Wine Is Not an Emulator” 的首字母缩写)...
虚拟桌面软件,可管理最多9个虚拟桌面,你可以用热键...
UNetbootin (Universal Netboot Installer)为一种跨...
Cobbler 可以用来快速建立 Linux 网络安装环境,它已...