mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
update publio plugin
This commit is contained in:
parent
9e6c33961d
commit
acfe6eb4a3
@ -60,9 +60,9 @@ class PublioStore(BasicStoreConfig, StorePlugin):
|
|||||||
series = ''.join(data.xpath('./div[@class="desc"]/div[@class="detailShortList"]/div[last()]/a/@title'))
|
series = ''.join(data.xpath('./div[@class="desc"]/div[@class="detailShortList"]/div[last()]/a/@title'))
|
||||||
title = title + ' (seria ' + series + ')'
|
title = title + ' (seria ' + series + ')'
|
||||||
author = ', '.join(data.xpath('./div[@class="desc"]/div[@class="detailShortList"]/div[@class="row"][1]/a/@title'))
|
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:
|
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'))
|
formats = ', '.join(data.xpath('.//div[@class="formats"]/a/img/@alt'))
|
||||||
|
|
||||||
counter -= 1
|
counter -= 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user