Remove feed parser detection by referer

This commit is contained in:
Gregory Soutade 2023-03-11 20:41:55 +01:00
parent 5f96c44edf
commit 3fdbc282c8

View File

@ -171,14 +171,6 @@ class IWLAPostAnalysisFeeds(IPlugin):
isFeedParser = self.FEED_PARSER
break
if isFeedParser == self.NOT_A_FEED_PARSER and\
request.get('extract_referer', False):
referer = request['extract_referer']['extract_uri'].lower()
for uri in self.referers_uri:
if referer == uri:
isFeedParser = self.FEED_PARSER
break
if self.merge_feeds_parsers:
self.mergeFeedsParsers(isFeedParser, hit)
else: