Disable Open Library as the site is down

Hopefully it's temporary otherwise the plugin will have to be removed
This commit is contained in:
Kovid Goyal 2024-10-18 15:18:30 +05:30
parent 758725699a
commit f52b5f8835
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -12,7 +12,7 @@ from calibre.ebooks.metadata.sources.base import Source
class OpenLibrary(Source):
name = 'Open Library'
version = (1, 0, 0)
version = (1, 0, 1)
minimum_calibre_version = (2, 80, 0)
description = _('Downloads covers from The Open Library')
@ -22,6 +22,7 @@ class OpenLibrary(Source):
def download_cover(self, log, result_queue, abort,
title=None, authors=None, identifiers={}, timeout=30, get_best_cover=False):
return # site is currently down and timing out leading to slow metadata retrieval
if 'isbn' not in identifiers:
return
isbn = identifiers['isbn']