Get Books: Fix website change at kobo.com causing prices not to be found

This commit is contained in:
Kovid Goyal 2012-05-19 21:31:02 +05:30
parent 48ce2b54f8
commit e20667cb38

View File

@ -61,7 +61,7 @@ class KoboStore(BasicStoreConfig, StorePlugin):
if not id:
continue
price = ''.join(data.xpath('.//li[@class="OurPrice"]/strong/text()'))
price = ''.join(data.xpath('.//span[@class="OurPrice"]/strong/text()'))
if not price:
price = '$0.00'