From eebc070fe41023bce6e345cc4144a2c77217163a Mon Sep 17 00:00:00 2001 From: Daniel Grana Date: Thu, 22 Jan 2009 14:28:20 +0000 Subject: [PATCH] tutorial: fix reference to scrapy-ctl. contributed by Patrick Mezard --HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40758 --- scrapy/trunk/docs/intro/tutorial/tutorial2.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scrapy/trunk/docs/intro/tutorial/tutorial2.rst b/scrapy/trunk/docs/intro/tutorial/tutorial2.rst index e0ef25925..4465daa09 100644 --- a/scrapy/trunk/docs/intro/tutorial/tutorial2.rst +++ b/scrapy/trunk/docs/intro/tutorial/tutorial2.rst @@ -6,7 +6,7 @@ Our first spider Ok, the time to write our first spider has come. Make sure that you're standing on your project's directory and run:: - ./scrapy-ctl genspider google_directory google.com + ./scrapy-ctl.py genspider google_directory google.com This should create a file called google_directory.py under the *spiders* directory looking like this:: @@ -118,7 +118,7 @@ Until now, our spider would look something like:: You can try crawling with this little code, by running:: - ./scrapy-ctl crawl google.com + ./scrapy-ctl.py crawl google.com and it will actually work, altough it won't do any parsing, since parse_category is not defined, and that's exactly what we're going to do in the next part of the tutorial: :ref:`intro-tutorial3`.