mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
commit
94fd7f7665
@ -1565,6 +1565,7 @@ class StorePublioStore(StoreBase):
|
|||||||
|
|
||||||
headquarters = 'PL'
|
headquarters = 'PL'
|
||||||
formats = ['EPUB', 'MOBI', 'PDF']
|
formats = ['EPUB', 'MOBI', 'PDF']
|
||||||
|
affiliate = True
|
||||||
|
|
||||||
class StoreRW2010Store(StoreBase):
|
class StoreRW2010Store(StoreBase):
|
||||||
name = 'RW2010'
|
name = 'RW2010'
|
||||||
|
@ -56,7 +56,7 @@ class PublioStore(BasicStoreConfig, StorePlugin):
|
|||||||
title2 = ''.join(data.xpath('.//div[@class="desc"]/h5/a/text()'))
|
title2 = ''.join(data.xpath('.//div[@class="desc"]/h5/a/text()'))
|
||||||
if title2:
|
if title2:
|
||||||
title = title + '. ' + title2
|
title = title + '. ' + title2
|
||||||
author = ', '.join(data.xpath('./div[@class="desc"]/div[@class="detailShortList"]/div[@class="row"]/a/text()'))
|
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="priceBoxContener "]/div/ins/text()'))
|
||||||
if not price:
|
if not price:
|
||||||
price = ''.join(data.xpath('.//div[@class="priceBoxContener "]/div/text()'))
|
price = ''.join(data.xpath('.//div[@class="priceBoxContener "]/div/text()'))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user