Remove feed parser detection by referer
This commit is contained in:
parent
5f96c44edf
commit
3fdbc282c8
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user