Skip to content

SpazioDati/scrapy-sentry

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scrapy-sentry

Logs Scrapy exceptions into Sentry

A python library that glues Sentry with Scrapy.

Requisites:

Installation

pip install scrapy-sentry

Setup

Add SENTRY_DSN and scrapy_sentry.extensions.Errors extension to your Scrapy Project settings.py.

Example:

# sentry dsn
SENTRY_DSN = 'http://public:secret@example.com/1'
EXTENSIONS = {
    "scrapy_sentry.extensions.Errors":10,
}

Packages

No packages published

Languages

  • Python 77.0%
  • Shell 23.0%