Add hasBeenViewed() function
This commit is contained in:
@@ -21,9 +21,11 @@ class IWLAPostAnalysisTopDownloads(IPlugin):
|
||||
for (k, super_hit) in stats.items():
|
||||
if super_hit['robot']: continue
|
||||
for r in super_hit['requests']:
|
||||
if not self.iwla.isValidForCurrentAnalysis(r) or\
|
||||
not self.iwla.hasBeenViewed(r):
|
||||
continue
|
||||
if r['is_page']: continue
|
||||
|
||||
if not self.iwla.isValidForCurrentAnalysis(r): continue
|
||||
|
||||
if not int(r['status']) in viewed_http_codes: continue
|
||||
|
||||
|
Reference in New Issue
Block a user