mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-26 13:05:19 +01:00
improve authors field in legimi
This commit is contained in:
parent
1bb04e2af9
commit
ddfaaf080c
1 changed files with 0 additions and 2 deletions
|
|
@ -61,8 +61,6 @@ def search(self, query, max_results=10, timeout=60):
|
|||
cover_url = ''.join(data.xpath('.//img[1]/@src'))
|
||||
title = ''.join(data.xpath('.//span[@class="bookListTitle ellipsis"]/text()'))
|
||||
author = ''.join(data.xpath('.//span[@class="bookListAuthor ellipsis"]/text()'))
|
||||
author = re.sub(',','',author)
|
||||
author = re.sub(';',',',author)
|
||||
price = ''.join(data.xpath('.//div[@class="bookListPrice"]/span/text()'))
|
||||
formats = []
|
||||
with closing(br.open(id.strip(), timeout=timeout/4)) as nf:
|
||||
|
|
|
|||
Loading…
Reference in a new issue