Scrapy, a fast high-level web crawling & scraping framework for Python.
added doc on how to enable an Item Pipeline component
Ismael Carnalesfd41f06056de
diff --git a/docs/topics/item-pipeline.rst b/docs/topics/item-pipeline.rstindex 68c6dd4c1..48aa2d00b 100644--- a/docs/topics/item-pipeline.rst+++ b/docs/topics/item-pipeline.rst@@ -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===============================================