Make common practices sample code match the comments

This commit is contained in:
Aivars Kalvāns 2015-08-19 16:54:10 +03:00 committed by Daniel Graña
parent 55f71043e1
commit 1b85bcf336
1 changed files with 1 additions and 1 deletions

View File

@ -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