From cd06a3faf46a35a2b7f8c2a1393a694dbcad06e4 Mon Sep 17 00:00:00 2001 From: John Schember Date: Sun, 29 Apr 2012 11:46:14 -0400 Subject: [PATCH] Store: Amazon fix price. --- src/calibre/gui2/store/stores/amazon_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/store/stores/amazon_plugin.py b/src/calibre/gui2/store/stores/amazon_plugin.py index 89a6278535..a5912d04ba 100644 --- a/src/calibre/gui2/store/stores/amazon_plugin.py +++ b/src/calibre/gui2/store/stores/amazon_plugin.py @@ -147,7 +147,7 @@ class AmazonKindleStore(StorePlugin): asin_xpath = './/div[@class="image"]/a[1]' cover_xpath = './/img[@class="productImage"]/@src' title_xpath = './/a[@class="title"]/text()' - price_xpath = './/span[@class="price"]/text()' + price_xpath = './/span[contains(@class, "price")]/text()' # Old style list. Search "martin" else: data_xpath = '//div[contains(@class, "result")]'