1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-23 19:43:39 +00:00

Fixed docs typo in SpiderOpenCloseLogging example

This commit is contained in:
Ilya Baryshev 2012-11-10 12:24:53 +04:00
parent da7e414fe9
commit 097aea04a4

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)