Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m-vdb/sentry-scrapy
Scrapy integration with latest Sentry SDK
https://github.com/m-vdb/sentry-scrapy
error-handling integration scrapy sentry
Last synced: 2 months ago
JSON representation
Scrapy integration with latest Sentry SDK
- Host: GitHub
- URL: https://github.com/m-vdb/sentry-scrapy
- Owner: m-vdb
- License: mit
- Created: 2018-09-26T08:28:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-26T11:59:02.000Z (over 6 years ago)
- Last Synced: 2024-10-03T10:24:36.761Z (3 months ago)
- Topics: error-handling, integration, scrapy, sentry
- Language: Python
- Size: 8.79 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sentry-scrapy
[![Build Status](https://travis-ci.org/m-vdb/sentry-scrapy.svg?branch=master)](https://travis-ci.org/m-vdb/sentry-scrapy)
[![Coverage Status](https://coveralls.io/repos/github/m-vdb/sentry-scrapy/badge.svg?branch=master)](https://coveralls.io/github/m-vdb/sentry-scrapy?branch=master)
[![Pypi version](https://img.shields.io/pypi/v/sentry-scrapy.svg)](https://pypi.python.org/pypi/sentry-scrapy)Scrapy integration with latest Sentry SDK
## Requirements
- Python3
- [`Scrapy`](https://docs.scrapy.org/en/latest/)
- [`sentry-sdk`](https://docs.sentry.io/quickstart?platform=python)## Installation
Install with `pip`:
```bash
$ pip install sentry-scrapy
```And in your Scrapy settings, configure Sentry as follows:
```python
# 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')
```