This commit is contained in:
Kovid Goyal 2022-07-28 22:30:20 +05:30
parent 3f550d5382
commit 17b65bbc49
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -185,7 +185,7 @@ def to_metadata(browser, log, entry_, timeout): # {{{
class GoogleBooks(Source):
name = 'Google'
version = (1, 0, 4)
version = (1, 0, 5)
minimum_calibre_version = (2, 80, 0)
description = _('Downloads metadata and covers from Google Books')
@ -439,8 +439,8 @@ class GoogleBooks(Source):
continue
ans.source_relevance = relevance
goog = ans.identifiers['google']
for isbn in getattr(ans, 'all_isbns', []):
self.cache_isbn_to_identifier(isbn, goog)
for isbnx in getattr(ans, 'all_isbns', []):
self.cache_isbn_to_identifier(isbnx, goog)
if getattr(ans, 'has_google_cover', False):
self.cache_identifier_to_cover_url(
goog, self.GOOGLE_COVER % goog