Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

docs/tutorial: added reminder about adding pipeline to ITEM_PIPELINES settings (thanks jamie)

Pablo Hoffmanbefd28eef479
diff --git a/docs/intro/tutorial.rst b/docs/intro/tutorial.rst
index 1aa87e532..6d2533ff0 100644
--- a/docs/intro/tutorial.rst
+++ b/docs/intro/tutorial.rst
@@ -416,7 +416,7 @@ creation step, it's in ``dmoz/pipelines.py`` and looks like this::
We have to override the ``process_item`` method in order to store our Items
somewhere.
-Here's an example pipeline for storing the scraped items into a CSV (comma
+Here's a simple pipeline for storing the scraped items into a CSV (comma
separated values) file using the standard library `csv module`_::
import csv
@@ -432,6 +432,12 @@ separated values) file using the standard library `csv module`_::
.. _csv module: http://docs.python.org/library/csv.html
+
+Don't forget to enable the pipeline by adding it to the
+:setting:`ITEM_PIPELINES` setting in your settings.py, like this::
+
+ ITEM_PIPELINES = ['dmoz.pipelines.CsvWriterPipeline']
+
Finale
======