mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 22:06:02 +02:00
Merge branch 'master' of https://github.com/lifanxi/calibre
This commit is contained in:
commit
288c1d8c39
1 changed files with 2 additions and 2 deletions
|
|
@ -72,7 +72,7 @@ def get_text(extra, x):
|
|||
log.exception('Programming error:')
|
||||
return None
|
||||
|
||||
id_url = entry_id(entry_)[0].text
|
||||
id_url = entry_id(entry_)[0].text.replace('http://', 'https://')
|
||||
douban_id = id_url.split('/')[-1]
|
||||
title_ = ': '.join([x.text for x in title(entry_)]).strip()
|
||||
authors = [x.text.strip() for x in creator(entry_) if x.text]
|
||||
|
|
@ -156,7 +156,7 @@ class Douban(Source):
|
|||
minimum_calibre_version = (2, 80, 0)
|
||||
|
||||
description = _('Downloads metadata and covers from Douban.com. '
|
||||
'Useful only for chinese language books.')
|
||||
'Useful only for Chinese language books.')
|
||||
|
||||
capabilities = frozenset(['identify', 'cover'])
|
||||
touched_fields = frozenset(['title', 'authors', 'tags',
|
||||
|
|
|
|||
Loading…
Reference in a new issue