mirror of https://github.com/scrapy/scrapy.git
Fixed docs typo in SpiderOpenCloseLogging example
This commit is contained in:
parent
da7e414fe9
commit
097aea04a4
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue