Remove crawler from feed parsers

This commit is contained in:
2016-08-20 13:08:02 +02:00
parent 10d087ad70
commit e805e59c10
3 changed files with 19 additions and 3 deletions

View File

@@ -76,7 +76,9 @@ class IWLADisplayFeeds(IPlugin):
table = display.createBlock(DisplayHTMLBlockTable, self.iwla._(u'All feeds parsers'), [self.iwla._(u'Host'), self.iwla._(u'Pages'), self.iwla._(u'Hits')])
table.setColsCSSClass(['', 'iwla_page', 'iwla_hit'])
for super_hit in hits.values():
if not super_hit['feed_parser']: continue
if not super_hit.get('feed_parser', False): continue
if super_hit['feed_parser'] == IWLAPostAnalysisFeeds.BAD_FEED_PARSER:
continue
nb_feeds_parsers += 1
address = super_hit['remote_addr']
if display_visitor_ip and\