Very nice result
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import re
|
||||
from iwla import IWLA
|
||||
|
||||
from awstats_robots_data import awstats_robots
|
||||
|
||||
@@ -21,7 +22,8 @@ def load():
|
||||
|
||||
# Basic rule to detect robots
|
||||
|
||||
def hook(hits):
|
||||
def hook(iwla):
|
||||
hits = iwla.getCurrentVisists()
|
||||
for k in hits.keys():
|
||||
super_hit = hits[k]
|
||||
|
||||
|
@@ -1,4 +1,5 @@
|
||||
import re
|
||||
from iwla import IWLA
|
||||
|
||||
# Remove logo from indefero
|
||||
logo_re = re.compile(r'^.+/logo/$')
|
||||
@@ -19,7 +20,9 @@ def load():
|
||||
|
||||
# Basic rule to detect robots
|
||||
|
||||
def hook(hits):
|
||||
def hook(iwla):
|
||||
hits = iwla.getCurrentVisists()
|
||||
|
||||
for k in hits.keys():
|
||||
super_hit = hits[k]
|
||||
|
||||
|
Reference in New Issue
Block a user