ScrapyDD (Scrapy Distributed Daemon)
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:
Download compressed package from github releases.
Decompress the package
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:
db:
image: mysql
command: --default-authentication-plugin=mysql_native_password
restart: always
ports:
- "3306:3306"
volumes:
- "datadb:/var/lib/mysql"
environment:
MYSQL_ROOT_PASSWORD: mysqlPassword
MYSQL_DATABASE: scrapydd
MYSQL_USER: scrapydd
MYSQL_PASSWORD: scrapyddPwd
server:
image: "kevenli/scrapydd"
ports:
- "6800:6800"
volumes:
- "./server:/scrapydd"
- "/var/run/docker.sock:/var/run/docker.sock"
command: scrapydd server
agent:
image: "kevenli/scrapydd"
volumes:
- "./agent:/scrapydd"
- "/var/run/docker.sock:/var/run/docker.sock"
links:
- server
environment:
- SCRAPYDD_SERVER=server
command: scrapydd agent
volumes:
datadb:
Metadata
Release files for scrapydd 0.7.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scrapydd-0.7.5-py3-none-any.whl | Python 3 | none | any | Details for scrapydd-0.7.5-py3-none-any.whl |
Release files / scrapydd-0.7.5-py3-none-any.whl
| Download URL | scrapydd-0.7.5-py3-none-any.whl |
|---|---|
| Size | 954.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6d862f88c6e37e292680cfe2e5dae336930ed79c6782cbd40839dd86156aa0c5
|
|
BLAKE2b-256 checksum How to use checksums |
6a10f8eeb334f1b91ed07f25277f2918813759cf0223c2f6c0f598a35fc4664a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
|
Security for scrapydd 0.7.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.