Merge pull request #1598 from Digenis/disable_dupefilter_in_shell

[MRG+1] Disable dupefilter in shell to prevent hanging.
This commit is contained in:
Daniel Graña 2015-12-04 09:51:56 -03:00
commit a97f28fbf0
1 changed files with 5 additions and 1 deletions

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]"