Merge pull request #189 from coagulant/patch-1

Fixed docs typo in SpiderOpenCloseLogging example
This commit is contained in:
Pablo Hoffman 2012-11-10 06:37:54 -08:00
commit 79a8bb6b42
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ Here is the code of such extension::
def spider_closed(self, spider):
spider.log("closed spider %s" % spider.name)
def item_scrapde(self, item, spider):
def item_scraped(self, item, spider):
self.items_scraped += 1
if self.items_scraped == self.item_count:
spider.log("scraped %d items, resetting counter" % self.items_scraped)