From b8b1e8e5448a05415bba544c6725bc0eaf184165 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aivars=20Kalv=C4=81ns?= Date: Wed, 19 Aug 2015 16:54:10 +0300 Subject: [PATCH] Make common practices sample code match the comments --- docs/topics/practices.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/practices.rst b/docs/topics/practices.rst index 7666a84cf..9ae34f423 100644 --- a/docs/topics/practices.rst +++ b/docs/topics/practices.rst @@ -61,7 +61,7 @@ project as example. process = CrawlerProcess(get_project_settings()) # 'followall' is the name of one of the spiders of the project. - process.crawl('testspider', domain='scrapinghub.com') + process.crawl('followall', domain='scrapinghub.com') process.start() # the script will block here until the crawling is finished There's another Scrapy utility that provides more control over the crawling