Skip to main content

distributed scrapy spider scheduling system

Project description

PyPI Version Build Status Coverage report

Scrapydd is a system for scrapy spiders distributed running and scheduleing system, including server and client agent.

Advantages:

  • Distributed, easily add runner(agent) to scale out.
  • Project requirements auto install on demand.
  • Cron expression time driven trigger, run your spider on time.
  • Webhook loosely couple the data crawling and data processing.
  • Spider status insight, system will look into the log to clarify spider run status.

Installing Scrapydd

By pip:

pip install scrapydd

You can also install scrapydd manually:

  1. Download compressed package from github releases.
  2. Decompress the package
  3. Run python setup.py install

Run Scrapydd Server

scrapydd server

The server default serve on 0.0.0.0:6800, with both api and web ui. Add –daemon parameter in commmand line to run in background.

Run Scrapydd Agent

scrapydd agent

Add –daemon parameter in commmand line to run in background.

Docs

The docs is hosted here

Docker-Compose

version: '3'
services:
  scrapydd-server:
    image: "kevenli/scrapydd"
    ports:
      - "6800:6800"
    volumes:
      - "/scrapydd/server:/scrapydd"
    command: scrapydd server

  scrapydd-agent:
    image: "kevenli/scrapydd"
    volumes:
      - "/scrapydd/server:/scrapydd"
    links:
      - scrapydd-server
    environment:
      - SCRAPYDD_SERVER=scrapydd-server
    command: scrapydd agent

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for scrapydd, version 0.6.5
Filename, size File type Python version Upload date Hashes
Filename, size scrapydd-0.6.5-py2.7.egg (982.6 kB) File type Egg Python version 2.7 Upload date Hashes View hashes
Filename, size scrapydd-0.6.5.tar.gz (832.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page