Notice!
PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities.
Create your free Platform account
to download ActivePython or customize Python with the packages you require and get automatic updates.
Download
ActivePython
INSTALL>
pypm install scrapy-sentry
How to install scrapy-sentry
- Download and install ActivePython
- Open Command Prompt
- Type
pypm install scrapy-sentry
| Python 2.7 | Python 3.2 | Python 3.3 |
---|
Windows (32-bit) | | | |
---|
Windows (64-bit) | | | |
---|
Mac OS X (10.5+) | | | |
---|
Linux (32-bit) | | | |
---|
Linux (64-bit) | | | |
---|
Lastest release
version 0.6.1 on Jan 9th, 2014
Logs Scrapy exceptions into Sentry
A python library that glues [Sentry](http://www.getsentry.com) with [Scrapy](http://www.scrapy.org).
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 = {
System Message: WARNING/2 (<string>, line 28); backlink
Inline literal start-string without end-string.
System Message: ERROR/3 (<string>, line 32)
Unexpected indentation.
"scrapy_sentry.extensions.Errors":10,
System Message: WARNING/2 (<string>, line 33)
Block quote ends without a blank line; unexpected unindent.
}
```
System Message: WARNING/2 (<string>, line 35); backlink
Inline literal start-string without end-string.
System Message: WARNING/2 (<string>, line 35); backlink
Inline interpreted text or phrase reference start-string without end-string.