Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.01 KB

README.md

File metadata and controls

38 lines (26 loc) · 1.01 KB

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')