Skip to content

Instantly share code, notes, and snippets.

@nramirezuy
Created March 18, 2015 20:57
Show Gist options
  • Save nramirezuy/81e0875079e5889d2a86 to your computer and use it in GitHub Desktop.
Save nramirezuy/81e0875079e5889d2a86 to your computer and use it in GitHub Desktop.
diff --git a/scrapy/commands/shell.py b/scrapy/commands/shell.py
index 7c07064..d57643a 100644
--- a/scrapy/commands/shell.py
+++ b/scrapy/commands/shell.py
@@ -16,7 +16,8 @@ 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.dupefilter.BaseDupeFilter'}
def syntax(self):
return "[url|file]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment