Code Monkey home page Code Monkey logo

dhtspider's Introduction

DHTSpider

A Very Simple Spider With DHT Crawler, Written by C#.

  • The bittorrent library bases on DhtWalker,MonoTorrent.

介绍

DHTSpider 是一个由C#编写的 DHT 爬虫, 从全球DHT 网络里"嗅探"正在下载的资源, 并把资源metadata(种子信息)进行抓取下载.

相关

使用 MongoDB 进行数据存储.

使用 ElasticSearch 进行全文检索(待定).

环境

  1. .net 版本 >=4.5.2

  2. 运行的机器需要独立IP , 能够访问外网 ( 翻墙 )

参数

Setting.InitSetting();//初始化相关参数
    
    LocalPort = 6881;

    IsSaveTorrent = true;

    TorrentSavePath = @"torrent\";

    IsUsingMongoDb = false;

    InitResolverThreadCount = 10;

    MaxResolverThreadCount = 50;

    WaitSeedsCount = 100;


    //DhtSpiderSetting

    DhtSpiderSetting.MaxSendQueue = 50;
    DhtSpiderSetting.MaxFindSendPer = 100;
    DhtSpiderSetting.MaxWaitCount = 1000;
    DhtSpiderSetting.MaxCacheCount = 5000;
    

感谢

项目开发中,bittorrent相关类库参考了 DhtWalkerMonoTorrent, 在此感谢作者 →_→

dhtspider's People

Contributors

zhangkong828 avatar

Watchers

James Cloos avatar 躺平野生码农 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.