mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
update Woblink store
This commit is contained in:
parent
2bc13c3fad
commit
197b99c1e8
@ -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