Skip to content

pjsier/scrapy-sentry

This branch is up to date with llonchj/scrapy-sentry:master.

Folders and files

NameName
Last commit message
Last commit date
Nov 23, 2017
Nov 23, 2017
Jun 28, 2018
Nov 23, 2017
Feb 4, 2013
May 29, 2013
Dec 7, 2016
Nov 23, 2017
Nov 23, 2017
Jul 3, 2016

Repository files navigation

scrapy-sentry

Logs Scrapy exceptions into Sentry

A python library that glues Sentry with Scrapy. Any spider errors will get pushed to Sentry. Please note that currently, exceptions anywhere else (e.g. the Scrapy pipeline) are not being reported to Sentry.

Requisites:

Installation

pip install scrapy-sentry

Setup

Add SENTRY_DSN and scrapy_sentry.extensions.Errors extension to your Scrapy Project settings.py.

Example:

# sentry dsn
SENTRY_DSN = 'http://public:[email protected]/1'
EXTENSIONS = {
    "scrapy_sentry.extensions.Errors":10,
}

Supported versions

This package works with Python 2.7, 3.4 and 3.5. It has been tested with Scrapy up to version 1.2.1.

About

Sentry component for Scrapy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%