mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
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:
parent
758725699a
commit
f52b5f8835
@ -12,7 +12,7 @@ from calibre.ebooks.metadata.sources.base import Source
|
|||||||
class OpenLibrary(Source):
|
class OpenLibrary(Source):
|
||||||
|
|
||||||
name = 'Open Library'
|
name = 'Open Library'
|
||||||
version = (1, 0, 0)
|
version = (1, 0, 1)
|
||||||
minimum_calibre_version = (2, 80, 0)
|
minimum_calibre_version = (2, 80, 0)
|
||||||
description = _('Downloads covers from The Open Library')
|
description = _('Downloads covers from The Open Library')
|
||||||
|
|
||||||
@ -22,6 +22,7 @@ class OpenLibrary(Source):
|
|||||||
|
|
||||||
def download_cover(self, log, result_queue, abort,
|
def download_cover(self, log, result_queue, abort,
|
||||||
title=None, authors=None, identifiers={}, timeout=30, get_best_cover=False):
|
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:
|
if 'isbn' not in identifiers:
|
||||||
return
|
return
|
||||||
isbn = identifiers['isbn']
|
isbn = identifiers['isbn']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user