Merge pull request #1441 from aivarsk/fix-common-practices

Make common practices sample code match the comments
This commit is contained in:
Mikhail Korobov 2015-08-23 17:36:09 +05:00
commit cfae62f9cc
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