diff --git a/TODO b/TODO index 9e7b605..7f71f61 100644 --- a/TODO +++ b/TODO @@ -6,4 +6,5 @@ Limit hits/pages/downloads by rate Automatic tests quiet mode Add Licence -Free memory as soon as possible \ No newline at end of file +Free memory as soon as possible +gzip output files \ No newline at end of file diff --git a/iwla.py b/iwla.py index 42f5f2c..5a20786 100755 --- a/iwla.py +++ b/iwla.py @@ -533,7 +533,8 @@ class IWLA(object): else: stats['viewed_hits'] += 1 if (conf.count_hit_only_visitors or\ - viewed_pages): + viewed_pages) and\ + not super_hit['robot']: stats['nb_visitors'] += 1 print "== Stats for %d/%02d/%d ==" % (cur_time.tm_year, cur_time.tm_mon, cur_time.tm_mday)