added short RFPDupeFilter.request_fingerprint interface description

This commit is contained in:
Alexander Chekunkov 2014-04-26 15:46:53 +03:00
parent baaa077725
commit 4aa6179af7
1 changed files with 3 additions and 1 deletions

View File

@ -410,7 +410,9 @@ 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. In order to change
the way duplicates are checked you could subclass ``RFPDupeFilter`` and
override its ``request_fingerprint`` method.
override its ``request_fingerprint`` method. This method should accept
scrapy :class:`~scrapy.http.Request` object and return its fingerprint
(a string).
.. setting:: DUPEFILTER_DEBUG