Merge branch 'master' of soutade.fr:iwla
This commit is contained in:
commit
f13ba43dae
3
TODO
3
TODO
|
@ -6,4 +6,5 @@ Limit hits/pages/downloads by rate
|
||||||
Automatic tests
|
Automatic tests
|
||||||
quiet mode
|
quiet mode
|
||||||
Add Licence
|
Add Licence
|
||||||
Free memory as soon as possible
|
Free memory as soon as possible
|
||||||
|
gzip output files
|
3
iwla.py
3
iwla.py
|
@ -533,7 +533,8 @@ class IWLA(object):
|
||||||
else:
|
else:
|
||||||
stats['viewed_hits'] += 1
|
stats['viewed_hits'] += 1
|
||||||
if (conf.count_hit_only_visitors or\
|
if (conf.count_hit_only_visitors or\
|
||||||
viewed_pages):
|
viewed_pages) and\
|
||||||
|
not super_hit['robot']:
|
||||||
stats['nb_visitors'] += 1
|
stats['nb_visitors'] += 1
|
||||||
|
|
||||||
print "== Stats for %d/%02d/%d ==" % (cur_time.tm_year, cur_time.tm_mon, cur_time.tm_mday)
|
print "== Stats for %d/%02d/%d ==" % (cur_time.tm_year, cur_time.tm_mon, cur_time.tm_mday)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user