0

Imagine I have dont_filter = False and for current domain it will not send duplicate requests for already encountered URLs, but lets say I move to a different domain, will it send a new request?

Actually I just want to log URL's that have duplicate requests along with their referrer. What should be the appropriate place to capture these duplicate requests?

Umar Iqbal
  • 669
  • 1
  • 11
  • 31

1 Answers1

0

Duplicate Requests are already being filtered and logged, set DUPEFILTER_DEBUG=True on settings to check those logs.

You could also create your own dupefilter implementation, check here.

There you could check the referers with on the Requests headers:

request.headers.get('referer')
Community
  • 1
  • 1
eLRuLL
  • 18,488
  • 9
  • 73
  • 99