sentry-scrapy

Scrapy integration with latest Sentry SDK

MIT License

Downloads
58
Stars
7
Committers
1

sentry-scrapy

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