1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-03-01 03:34:50 +00:00

Disable dupefilter in shell

This commit is contained in:
Νικόλαος-Διγενής Καραγιάννης 2015-06-16 17:31:37 +03:00
parent 54216d7afe
commit f4dd8bcdc2

View File

@ -16,7 +16,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]"