mirror of https://github.com/scrapy/scrapy.git
added short RFPDupeFilter.request_fingerprint interface description
This commit is contained in:
parent
baaa077725
commit
4aa6179af7
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue