Scrapy extension that logs errors to Sentry
Project description
city-scrapers-sentry
A Scrapy extension that logs spider errors to Sentry.
This project began as a fork of scrapy-sentry, which was developed by Jordi Llonch. We are grateful for their work and contributions.
Note: while this extension captures errors from Scrapy spiders, it does not capture errors elsewhere in Scrapy's operation (e.g. the Scrapy pipeline).
Requisites:
Installation
pip install city-scrapers-sentry
Setup
Add SENTRY_DSN
and city_scrapers_sentry.extensions.Errors
extension to your Scrapy Project settings.py
.
Example:
# sentry dsn
SENTRY_DSN = 'http://public:secret@example.com/1'
EXTENSIONS = {
"city_scrapers_sentry.extensions.Errors": 10,
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for city-scrapers-sentry-1.0.0a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36627a7ddfbe776a90bf89844fe211435abb51dc8bef7c1de5dccaee958610e9 |
|
MD5 | dfeaaeb14f0022bd4476f770afd7ee1f |
|
BLAKE2b-256 | 8a394718d75bc5993d5213c0b3998a18d7f37f8e3234d0144f2d8fa2fe1cbfca |
Close
Hashes for city_scrapers_sentry-1.0.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4b9c584deea3dc288d177c6c1bd852ed912a3c87952ef585900df1b554e5635 |
|
MD5 | 2087e047ae6ad9749c670e0630b6877e |
|
BLAKE2b-256 | a3b5cc7c94b49369958699ddc9a829683dc6823166f2ab580da2926cb937bbd2 |