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
|
isFeedParser = self.FEED_PARSER
|
||||||
break
|
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:
|
if self.merge_feeds_parsers:
|
||||||
self.mergeFeedsParsers(isFeedParser, hit)
|
self.mergeFeedsParsers(isFeedParser, hit)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user