mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-27 03:45:06 +01:00
fix cover in empik
This commit is contained in:
parent
a030faea35
commit
1bb04e2af9
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ def search(self, query, max_results=10, timeout=60):
|
|||
if not id:
|
||||
continue
|
||||
|
||||
cover_url = ''.join(data.xpath('.//div[@class="productBox-450Pic"]/a/img/@src'))
|
||||
cover_url = ''.join(data.xpath('.//div[@class="productBox-450Pic"]/a/img/@data-original'))
|
||||
title = ''.join(data.xpath('.//a[@class="productBox-450Title"]/text()'))
|
||||
title = re.sub(r' \(ebook\)', '', title)
|
||||
author = ''.join(data.xpath('.//div[@class="productBox-450Author"]/a/text()'))
|
||||
|
|
|
|||
Loading…
Reference in a new issue