1 Star 1 Fork 1

golang-collection / go-crawler-distributed

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

go-crawler-distributed

This project is a distributed crawler and supports the secondary development of personalized customized page parser. The overall project adopts micro-service architecture and realizes container-oriented deployment through Docker.

Framework

framework

Architecture

flow

Installation

将项目部署到本地或云端提供以下两种方式:

  • Direct Deploy
  • Docker(Recommand)

Pre-requisite (Docker)

  • Docker 18.03+
  • Redis 5.x+
  • MySQL
  • Docker Compose 1.24+
  • ElasticSearch

Pre-requisite (Direct Deploy)

  • Go 1.12+
  • Node 8.12+
  • Redis 5.x+
  • MySQL
  • RabbitMQ
  • ElasticSearch

Quick Start

Please open the command line prompt and execute the command below. Make sure you have installed docker-compose in advance.

git clone https://github.com/Knowledge-Precipitation-Tribe/go-crawler-distributed
cd crawlab
docker-compose up -d

Next, you can look into the docker-compose.yml (with detailed config params).

Run

Docker

Please use docker-compose to one-click to start up. By doing so, you don't even have to configure RabbitMQ , Reds, MySQ,ElasticSearch. Create a file named docker-compose.yml and input the code below.

version: '3.3'
services:
  

Then execute the command below, and the project will start up. Open the browser and enter http://localhost:8080 to see the UI interface.

docker-compose up

Appendix

License

MIT

Copyright (c) 2020 Knowledge-Precipitation-Tribe

MIT License Copyright (c) 2020 Knowledge-Precipitation-Tribe Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

go分布式爬虫 展开 收起
Go
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Go
1
https://gitee.com/golang-collection/go-crawler-distributed.git
git@gitee.com:golang-collection/go-crawler-distributed.git
golang-collection
go-crawler-distributed
go-crawler-distributed
master

搜索帮助