Disable dupefilter in shell

This commit is contained in:
Νικόλαος-Διγενής Καραγιάννης 2015-06-16 17:31:37 +03:00 committed by Daniel Graña
parent aa239ade8a
commit c0d0734027
1 changed files with 5 additions and 1 deletions

View File

@ -15,7 +15,11 @@ from scrapy.utils.spider import spidercls_for_request, DefaultSpider
class Command(ScrapyCommand):
requires_project = False
default_settings = {'KEEP_ALIVE': True, 'LOGSTATS_INTERVAL': 0}
default_settings = {
'KEEP_ALIVE': True,
'LOGSTATS_INTERVAL': 0,
'DUPEFILTER_CLASS': 'scrapy.dupefilters.BaseDupeFilter',
}
def syntax(self):
return "[url|file]"