Skip to content

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

Added FAQ entry about feed exports

Pablo Hoffmanb3753d34eb4f
diff --git a/docs/faq.rst b/docs/faq.rst
index 95371615b..240668184 100644
--- a/docs/faq.rst
+++ b/docs/faq.rst
@@ -199,3 +199,20 @@ Yes, but you can also use the Scrapy shell which allows you too quickly analyze
often, more useful than plain old ``pdb.set_trace()``.
For more info see :ref:`topics-shell-inspect-response`.
+
+Simplest way to dump all my scraped items into a JSON/CSV/XML file?
+-------------------------------------------------------------------
+
+To dump into a JSON file::
+
+ scrapy crawl myspider --set FEED_URI=items.json --set FEED_FORMAT=json
+
+To dump into a CSV file::
+
+ scrapy crawl myspider --set FEED_URI=items.csv --set FEED_FORMAT=csv
+
+To dump into a XML file::
+
+ scrapy crawl myspider --set FEED_URI=items.xml --set FEED_FORMAT=xml
+
+For more information see :ref:`topics-feed-exports`