mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Restore Open Library as the server seems to be functional again
This commit is contained in:
parent
b80bf35b0e
commit
7c1b4e9c0b
@ -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, 1)
|
version = (1, 0, 2)
|
||||||
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,7 +22,6 @@ 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