mirror of https://github.com/scrapy/scrapy.git
typo
This commit is contained in:
parent
4c89d8b298
commit
02d08722e7
|
|
@ -246,7 +246,7 @@ class FilesPipeline(MediaPipeline):
|
|||
spider.crawler.stats.inc_value('file_count', spider=spider)
|
||||
spider.crawler.stats.inc_value('file_status_count/%s' % status, spider=spider)
|
||||
|
||||
### Overradiable Interface
|
||||
### Overridable Interface
|
||||
def get_media_requests(self, item, info):
|
||||
return [Request(x) for x in item.get('file_urls', [])]
|
||||
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ class MediaPipeline(object):
|
|||
for wad in info.waiting.pop(fp):
|
||||
defer_result(result).chainDeferred(wad)
|
||||
|
||||
### Overradiable Interface
|
||||
### Overridable Interface
|
||||
def media_to_download(self, request, info):
|
||||
"""Check request before starting download"""
|
||||
pass
|
||||
|
|
|
|||
Loading…
Reference in New Issue