Status mailer extension for Scrapy
Send an email when a crawler finishes or breaks.
Install
The quick way:
pip install scrapy-status-mailer
Or install from GitHub:
pip install git+git://github.com/light4/scrapy-status-mailer.git@master
Or checkout the source and run:
python setup.py install
settings.py
settings for send email
STATUSMAILER_RECIPIENTS = []
STATUSMAILER_COMPRESSION = 'gzip'
# STATUSMAILER_COMPRESSION = None
MAIL_FROM = ''
MAIL_HOST = 'smtp.qq.com'
MAIL_PORT = 465
MAIL_USER = ''
MAIL_PASS = ''
MAIL_TLS = True
MAIL_SSL = True
EXTENSIONS = {
'scrapy_status_mailer.StatusMailer': 80,
}
# all bots send email by default
# BOTS_SEND_EMAIL = ['first_bot', 'second_bot']
Thanks
Metadata
Release files for scrapy-status-mailer 0.3
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 |
|---|---|---|---|---|
| scrapy_status_mailer-0.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for scrapy_status_mailer-0.3-py2.py3-none-any.whl |
Release files / scrapy_status_mailer-0.3-py2.py3-none-any.whl
| Download URL | scrapy_status_mailer-0.3-py2.py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ec63aeda1d1a5891508d6ef86025b6aaa27f1f9992717536434bbef4369fbbdb
|
|
BLAKE2b-256 checksum How to use checksums |
1a25098da4fcb97cbc057c1c959f4af2a330e8742b5333c3a6e703a4d9262d9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for scrapy-status-mailer 0.3
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.