mirror of
https://github.com/scrapy/scrapy.git
synced 2025-03-01 10:03:14 +00:00
Disable dupefilter in shell
This commit is contained in:
parent
54216d7afe
commit
f4dd8bcdc2
@ -16,7 +16,11 @@ from scrapy.utils.spider import spidercls_for_request, DefaultSpider
|
|||||||
class Command(ScrapyCommand):
|
class Command(ScrapyCommand):
|
||||||
|
|
||||||
requires_project = False
|
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):
|
def syntax(self):
|
||||||
return "[url|file]"
|
return "[url|file]"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user