mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Store: ebooks.com fix cover image.
This commit is contained in:
parent
35972b3267
commit
bc5904f560
@ -64,11 +64,7 @@ class EbookscomStore(BasicStoreConfig, StorePlugin):
|
||||
continue
|
||||
id = mo.group()
|
||||
|
||||
cover_url = ''
|
||||
cover_load = ''.join(data.xpath('.//div[@class="img"]//img/@onload'))
|
||||
mo = re.search('(?<=\').+?(?=\')', cover_load)
|
||||
if mo:
|
||||
cover_url = mo.group();
|
||||
cover_url = ''.join(data.xpath('.//div[@class="img"]//img/@src'))
|
||||
|
||||
title = ''
|
||||
author = ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user