Skip to content

m-vdb/sentry-scrapy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sentry-scrapy

Build Status Coverage Status Pypi version

Scrapy integration with latest Sentry SDK

Requirements

Installation

Install with pip:

$ pip install sentry-scrapy

And in your Scrapy settings, configure Sentry as follows:

# configure the extensions
# https://doc.scrapy.org/en/latest/topics/extensions.html
EXTENSIONS = {
    "sentry_scrapy.extension.SentryExtension": 10,
}

# initialize Sentry
# https://docs.sentry.io/quickstart?platform=python
import sentry_sdk
sentry_sdk.init(dsn='your dsn')