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:
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…
x
Reference in New Issue
Block a user