Scrapy Status Mailer: Status mailer extension for Scrapy
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for scrapy_status_mailer-0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec63aeda1d1a5891508d6ef86025b6aaa27f1f9992717536434bbef4369fbbdb |
|
MD5 | 2f40af28f596f66dc6e0a0e7d87ec5a9 |
|
BLAKE2b-256 | 1a25098da4fcb97cbc057c1c959f4af2a330e8742b5333c3a6e703a4d9262d9d |