Giter Club home page Giter Club logo

qichacha-spider's Introduction

企查查爬虫

根据区域抓取全部数据

docker-compose build
docker stack deploy -c docker-compose.yml qichacha-spider

kafka

./bin/kafka-topics.sh --create --zookeeper localhost:2181 --partitions 3 --replication-factor 1 --topic qichacha-start_urls
./bin/kafka-topics.sh --create --zookeeper localhost:2181 --partitions 3 --replication-factor 1 --topic qichacha-requests
./bin/kafka-console-producer.sh --broker-list localhost:9092 --topic demo-start_urls
>http://www.qichacha.com

qichacha-spider's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

qichacha-spider's Issues

rpc error: code = PermissionDenied desc = network

$ docker-compose up
WARNING: Some services (crawler) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use docker stack deploy to deploy to a swarm.
WARNING: The Docker Engine you're using is running in swarm mode.

Compose does not use swarm mode to deploy services to multiple nodes in a swarm. All containers will be scheduled on the current node.

To deploy your application across the swarm, use docker stack deploy.

Starting qichacha-spider_crawler_1 ... error

ERROR: for qichacha-spider_crawler_1 Cannot start service crawler: Could not attach to network qichacha-spider_default: rpc error: code = PermissionDenied desc = network qichacha-spider_default not manually attachable

ERROR: for crawler Cannot start service crawler: Could not attach to network qichacha-spider_default: rpc error: code = PermissionDenied desc = network qichacha-spider_default not manually attachable
ERROR: Encountered errors while bringing up the project.

rpc error: code = PermissionDenied desc = network

$ docker-compose up
WARNING: Some services (crawler) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use docker stack deploy to deploy to a swarm.
WARNING: The Docker Engine you're using is running in swarm mode.

Compose does not use swarm mode to deploy services to multiple nodes in a swarm. All containers will be scheduled on the current node.

To deploy your application across the swarm, use docker stack deploy.

Starting qichacha-spider_crawler_1 ... error

ERROR: for qichacha-spider_crawler_1 Cannot start service crawler: Could not attach to network qichacha-spider_default: rpc error: code = PermissionDenied desc = network qichacha-spider_default not manually attachable

ERROR: for crawler Cannot start service crawler: Could not attach to network qichacha-spider_default: rpc error: code = PermissionDenied desc = network qichacha-spider_default not manually attachable
ERROR: Encountered errors while bringing up the project.

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.