scrapyduler
Scrapyd launcher module that schedules scrapy spiders by time.
Install
pip install scrapyduler
Config
To start using this library you just need to override
the launcher option in your scrapyd.conf file:
[scrapyd]
launcher = scrapyduler.launcher.Launcher
and then add the schedulers configuration, e.g.:
[scheduler.1]
cron = * * * * *
project = quotesbot
spider = toscrape-xpath
settings = HTTPPROXY_ENABLED=True
args = key1=value1 key2=value2 start_url=http://quotes.toscrape.com/
[scheduler.2]
interval = weeks=0 days=0 hours=0 minutes=0 seconds=30
project = quotesbot
spider = toscrape-css
settings = HTTPPROXY_ENABLED=True
args = key1=value1 key2=value2 start_url=http://quotes.toscrape.com/
In the examples above, we set up two schedulers.
The first scheduler uses cron syntax to run spiders.
The second scheduler triggers on specified intervals,
starting on start_date if specified, datetime.now() + interval otherwise.
See https://github.com/agronholm/apscheduler for more information.
Metadata
Release files for scrapyduler 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| scrapyduler-2.0.0.tar.gz | 4.8 kB | Without provenance | Details for scrapyduler-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scrapyduler-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for scrapyduler-2.0.0-py3-none-any.whl |
Total release size: 8.2 kB
Release files / scrapyduler-2.0.0.tar.gz
| Download URL | scrapyduler-2.0.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
908f50d58af6afa351b8f0fbf50dd58ee222edd01a9c76ad1a61aa79a53a1dc1
|
|
BLAKE2b-256 checksum How to use checksums |
f9046bc5b72d846fa0b064a4f3a4ce91264de5b2f0d9a02d07e695c77de94a26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / scrapyduler-2.0.0-py3-none-any.whl
| Download URL | scrapyduler-2.0.0-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6073ad2a9ad656c224da7a5dea0ff8de0f16a1ba34e95f5e78047823ba2d13a2
|
|
BLAKE2b-256 checksum How to use checksums |
22e6b470472be2075ac28a2352071b7ef1b9743140baf0a675f1c06ed79e2c1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for scrapyduler 2.0.0
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.