mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Get Books: Fix website change at kobo.com causing prices not to be found
This commit is contained in:
parent
48ce2b54f8
commit
e20667cb38
@ -61,7 +61,7 @@ class KoboStore(BasicStoreConfig, StorePlugin):
|
|||||||
if not id:
|
if not id:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
price = ''.join(data.xpath('.//li[@class="OurPrice"]/strong/text()'))
|
price = ''.join(data.xpath('.//span[@class="OurPrice"]/strong/text()'))
|
||||||
if not price:
|
if not price:
|
||||||
price = '$0.00'
|
price = '$0.00'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user