From b7b0c495202e1ebb053d77dc408b559b4402997b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gra=C3=B1a?= Date: Mon, 6 Aug 2012 09:10:16 -0300 Subject: [PATCH] append parse command to example code sections in docs. closes #162 --- docs/topics/debug.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/topics/debug.rst b/docs/topics/debug.rst index 6d94093c8..821b279f1 100644 --- a/docs/topics/debug.rst +++ b/docs/topics/debug.rst @@ -46,7 +46,7 @@ simple to use, but does not allow debugging code inside a method. In order to see the item scraped from a specific url:: - $ scrapy --spider=myspider -c parse_item -d 2 + $ scrapy parse --spider=myspider -c parse_item -d 2 [ ... scrapy log lines crawling example.com spider ... ] >>> STATUS DEPTH LEVEL 2 <<< @@ -58,7 +58,7 @@ In order to see the item scraped from a specific url:: Using the ``--verbose`` or ``-v`` option we can see the status at each depth level:: - $ scrapy --spider=myspider -c parse_item -d 2 -v + $ scrapy parse --spider=myspider -c parse_item -d 2 -v [ ... scrapy log lines crawling example.com spider ... ] >>> DEPTH LEVEL: 1 <<< @@ -79,7 +79,7 @@ Using the ``--verbose`` or ``-v`` option we can see the status at each depth lev Checking items scraped from a single start_url, can also be easily achieved using:: - $ scrapy --spider=myspider -d 3 'http://example.com/page1' + $ scrapy parse --spider=myspider -d 3 'http://example.com/page1' Scrapy Shell