1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-25 00:24:31 +00:00

added doc on how to enable an Item Pipeline component

This commit is contained in:
Ismael Carnales 2009-09-16 14:19:16 -03:00
parent 404e7e09d7
commit fd41f06056

View File

@ -58,6 +58,16 @@ attribute), and drops those items which don't contain a price::
raise DropItem("Missing price in %s" % item)
Activating a Item Pipeline component
====================================
To activate an Item Pipeline component you must add its class to the
:setting:`ITEM_PIPELINES` list, like in the following example::
ITEM_PIPELINES = [
'myproject.pipeline.PricePipeline',
]
Item pipeline example with resources per domain
===============================================