Archived
1
0

Small fix because the cleaned up items were not send back

This commit is contained in:
Bas Vb 2014-04-23 12:14:20 +02:00
parent 6dd03c293a
commit f926f86d7d

View File

@ -46,8 +46,7 @@ class WikipediaParser(Parser):
items.append(item)
log.msg('Wiki prop: |%s| |%s| |%s|' % (item['attribute'], item['value'], item['source']), level=log.DEBUG)
items=filter(lambda a: a['value']!='', items) #remove items with an empty value
self.cleanitems(items)
return items
return self.cleanitems(items)
def new_compound_request(self, compound):
return Request(url=self.website[:-1] + compound, callback=self.parse)