UNKNOWN
Project description
Item definition and utils for storing items in CDR format for scrapy.
Install
pip install scrapy-cdr
Usage
from scrapy_cdr import text_cdr_item def parse(response): yield text_cdr_item( response, crawler_name='my scrapy crawler', team_name='my team', metadata={'extra': 'metadata'}, # optional )
There is also scrapy_cdr.cdr_item for non-text items, and item definition in scrapy_cdr.CDRItem.
License
License is MIT.
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
scrapy-cdr-0.1.0.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for scrapy_cdr-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f14329966d1413e69ade8773623fe0ed750e399e99eb9436168752b1ea126de |
|
MD5 | d2b596fad341b4440f32e694f2985998 |
|
BLAKE2b-256 | 8fc8d5fd2c207c13e4896daa5c9e6f764cc29a1fce736e50fadbad25f485bf6b |