update docs for parse command

This commit is contained in:
Alexandru Cepoi 2012-06-12 18:28:10 +02:00
parent e1be9c01bc
commit 3e05a2ecf6
1 changed files with 14 additions and 4 deletions

View File

@ -368,15 +368,25 @@ Supported options:
* ``--nolinks``: don't show scraped items
* ``--depth`` or ``-d``: depth level for which the requests should be followed
recursively (default: 1)
* ``--verbose`` or ``-v``: display information for each depth level
Usage example::
$ scrapy parse http://www.example.com/ -c parse_item
[ ... scrapy log lines crawling example.com spider ... ]
# Scraped Items - callback: parse ------------------------------------------------------------
MyItem({'name': u"Example item",
>>> STATUS DEPTH LEVEL 1 <<<
# Scraped Items ------------------------------------------------------------
[{'name': u'Example item',
'category': u'Furniture',
'length': u'12 cm'}
)
'length': u'12 cm'}]
# Requests -----------------------------------------------------------------
[]
.. command:: settings