mirror of https://github.com/scrapy/scrapy.git
Added FAQ entry about feed exports
This commit is contained in:
parent
cbfec4bb0e
commit
b3753d34eb
17
docs/faq.rst
17
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`
|
||||
|
|
|
|||
Loading…
Reference in New Issue