Skip to main content

Send HTTP notifications on spider actions

Project description

A Scrapy extension to be used, for example, with HTTP Callback Tasks of Celery project.


Install via pip:

pip install scrapy-notifications

Tested with

  • Python 2.7+
  • Scrapy 0.16


Basically you need configure SPIDER_NOTIFICATION_ENABLED, SPIDER_NOTIFICATION_URL and add the scrapy_notifications.extensions.SpiderNotification extension to your Scrapy project


    'scrapy_notifications.extensions.SpiderNotification': 500,

By default HTTP requests are sent with the spider name attribute as an URL parameter. But optionally you can also specify a list of spider attributes passed as URL parameters on SPIDER_NOTIFICATION_ATTRS.:



For example crawling with the dmoz spider used in the Scrapy tutorial:

scrapy crawl -a jobid=fe648c57f8 dmoz

will generate a HTTP request like this:


Want to contribute? Great! Bug reports and code and documentation patches are greatly appretiated. Please file bugs and send pull requests using the issue tracker.

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 scrapy-notifications, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size scrapy-notifications-0.1.0.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page