From baaa077725f4eab38227999a0eaf4d0b9df16f99 Mon Sep 17 00:00:00 2001 From: Alexander Chekunkov Date: Sat, 15 Feb 2014 17:48:32 +0200 Subject: [PATCH] added note about RFPDupeFilter.request_fingerprint overriding to the settings documentation --- docs/topics/settings.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/topics/settings.rst b/docs/topics/settings.rst index 12dda4322..78728ac97 100644 --- a/docs/topics/settings.rst +++ b/docs/topics/settings.rst @@ -408,7 +408,9 @@ Default: ``'scrapy.dupefilter.RFPDupeFilter'`` The class used to detect and filter duplicate requests. The default (``RFPDupeFilter``) filters based on request fingerprint using -the ``scrapy.utils.request.request_fingerprint`` function. +the ``scrapy.utils.request.request_fingerprint`` function. In order to change +the way duplicates are checked you could subclass ``RFPDupeFilter`` and +override its ``request_fingerprint`` method. .. setting:: DUPEFILTER_DEBUG