Fix Feedbooks displaying author

This commit is contained in:
John Schember 2011-02-27 16:29:57 -05:00
parent 81b734c5c1
commit d22139cabc

View File

@ -55,8 +55,8 @@ class FeedbooksStore(StorePlugin):
if not id:
continue
title = ''.join(data.xpath('//h5/a/text()'))
author = ''.join(data.xpath('//h6/a/text()'))
title = ''.join(data.xpath('//h5//a/text()'))
author = ''.join(data.xpath('//h6//a/text()'))
price = ''.join(data.xpath('//a[@class="buy"]/text()'))
if not price:
price = '$0.00'