Added FAQ entry about feed exports

This commit is contained in:
Pablo Hoffman 2010-08-22 05:59:30 -03:00
parent cbfec4bb0e
commit b3753d34eb
1 changed files with 17 additions and 0 deletions

View File

@ -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`