mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 07:13:08 +02:00
Get Books: Fix Woblink store
This commit is contained in:
commit
70ff56c1b2
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ def search(self, query, max_results=10, timeout=60):
|
|||
continue
|
||||
|
||||
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()'))
|
||||
price = ''.join(data.xpath('.//div[@class="prices"]/p[1]/span/text()'))
|
||||
price = re.sub('PLN', ' zł', price)
|
||||
|
|
|
|||
Loading…
Reference in a new issue