From acfe6eb4a37f574aea8d9d0fe72e03cdb7b04ace Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20D=C5=82ugosz?= Date: Thu, 6 Dec 2012 22:59:42 +0100 Subject: [PATCH] update publio plugin --- src/calibre/gui2/store/stores/publio_plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/gui2/store/stores/publio_plugin.py b/src/calibre/gui2/store/stores/publio_plugin.py index 868496366c..eb00f231ea 100644 --- a/src/calibre/gui2/store/stores/publio_plugin.py +++ b/src/calibre/gui2/store/stores/publio_plugin.py @@ -60,9 +60,9 @@ class PublioStore(BasicStoreConfig, StorePlugin): series = ''.join(data.xpath('./div[@class="desc"]/div[@class="detailShortList"]/div[last()]/a/@title')) title = title + ' (seria ' + series + ')' author = ', '.join(data.xpath('./div[@class="desc"]/div[@class="detailShortList"]/div[@class="row"][1]/a/@title')) - price = ''.join(data.xpath('.//div[@class="priceBoxContener "]/div/ins/text()')) + price = ''.join(data.xpath('.//div[@class="priceBox tk-museo-slab"]/ins/text()')) if not price: - price = ''.join(data.xpath('.//div[@class="priceBoxContener "]/div/text()')) + price = ''.join(data.xpath('.//div[@class="priceBox tk-museo-slab"]/text()')).strip() formats = ', '.join(data.xpath('.//div[@class="formats"]/a/img/@alt')) counter -= 1