mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Get Books: Fix Woblink store
This commit is contained in:
commit
70ff56c1b2
@ -56,7 +56,7 @@ class WoblinkStore(BasicStoreConfig, StorePlugin):
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
cover_url = ''.join(data.xpath('.//td[@class="w10 va-t"]/a[1]/img/@src'))
|
cover_url = ''.join(data.xpath('.//td[@class="w10 va-t"]/a[1]/img/@src'))
|
||||||
title = ''.join(data.xpath('.//h3[@class="title"]/a[1]/text()'))
|
title = ''.join(data.xpath('.//h2[@class="title"]/a[1]/text()'))
|
||||||
author = ', '.join(data.xpath('.//p[@class="author"]/a/text()'))
|
author = ', '.join(data.xpath('.//p[@class="author"]/a/text()'))
|
||||||
price = ''.join(data.xpath('.//div[@class="prices"]/p[1]/span/text()'))
|
price = ''.join(data.xpath('.//div[@class="prices"]/p[1]/span/text()'))
|
||||||
price = re.sub('PLN', ' zł', price)
|
price = re.sub('PLN', ' zł', price)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user