Skip to main content

Saves Scrapy exceptions in your Database

Project description

scrapy-toolbox

Saves Scrapy exceptions in a Database

Requisites:

  • settings.py with a dict for DATABASE_DEV and DATABASE

Installation

pip install scrapy-toolbox

Setup

Add scrapy_toolbox.errorhandling.ErrorSavingMiddleware extension to your Scrapy Project settings.py.

Example:

# settings.py
SPIDER_MIDDLEWARES = {
    'scrapy_toolbox.error_handling.ErrorSavingMiddleware': 1000,
}

Supported versions

This package works with Python 3. It has been tested with Scrapy up to version 1.4.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scrapy-toolbox-0.0.1.tar.gz (2.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page