Small fix because the cleaned up items were not send back
This commit is contained in:
parent
6dd03c293a
commit
f926f86d7d
@ -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)
|
||||
|
Reference in New Issue
Block a user