Coder Social home page Coder Social logo

scdht's Introduction

Golang语言实现的DHT网络爬虫整站程序

作者博客:http://www.lovekk.org

程序说明

本程序使用Golang开发,未开发完全,程序有BUG,运行一段时间后会出现崩溃现象,现仅供测试,请谨慎使用。

安装说明

  • 安装Golang
  • 安装Git
  • 安装MongoDB

获取所使用的第三方库

go get github.com/astaxie/beego
go get github.com/beego/i18n
go get github.com/zeebo/bencode
go get gopkg.in/mgo.v2
go get github.com/wangbin/jiebago

配置conf/app.conf

appname = SCDht # 项目名称, 无需理会
httpport = 80 # 运行端口
runmode = dev # 开发模式

showmsg = true # 是否输出信息

dbhost = 127.0.0.1 # MongoDB连接地址
dbport = 27017 # MongoDB连接端口
dbname = SCDht # MongoDB数据库名
dbuser = # MongoDB连接用户名
dbpass = # MongoDB连接密码

cnhotlist = # 简体中文版首页推荐列表, 以 | 分割

编译运行

进入SCDht源码目录,运行如下命令

go build
./SCDht

授权方式

本程序遵循MIT授权

程序反馈

http://www.lovekk.org

scdht's People

Contributors

ylqjgm avatar

Watchers

 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.