diff --git a/iwla.py b/iwla.py index aba885f..44f4b73 100755 --- a/iwla.py +++ b/iwla.py @@ -310,7 +310,9 @@ class IWLA(object): self._createVisitor(hit) super_hit = self.current_analysis['visits'][remote_addr] - super_hit['requests'].append(hit) + # Don't keep all requests for robots + if not super_hit['robot']: + super_hit['requests'].append(hit) super_hit['bandwidth'] += int(hit['body_bytes_sent']) super_hit['last_access'] = self.meta_infos['last_time']