Forgot Firefox icon
This commit is contained in:
@@ -125,6 +125,11 @@ class IWLAPreAnalysisRobots(IPlugin):
|
||||
# 2) Less than 1 hit per page
|
||||
if super_hit['viewed_pages'][0] and (super_hit['viewed_hits'][0] < super_hit['viewed_pages'][0]):
|
||||
isRobot = True
|
||||
for hit in super_hit['requests']:
|
||||
if hit['server_name'] == 'indefero.soutade.fr':
|
||||
if super_hit['viewed_hits'][0]*3 >= super_hit['viewed_pages'][0]:
|
||||
isRobot = False
|
||||
break
|
||||
|
||||
if isRobot:
|
||||
self._setRobot(k, super_hit)
|
||||
|
||||
Reference in New Issue
Block a user