1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-28 13:57:42 +00:00

Added google scholar as metadata provider

This commit is contained in:
Ozzie Isaacs
2021-05-16 13:24:42 +02:00
parent decc2a9c79
commit 251780bed6
8 changed files with 415 additions and 313 deletions

View File

@@ -54,6 +54,12 @@ try:
except ImportError:
greenlet_Version = None
try:
from scholarly import scholarly
scholarly_version = _(u'installed')
except ImportError:
scholarly_version = _(u'not installed')
from . import services
about = flask.Blueprint('about', __name__)
@@ -79,6 +85,7 @@ _VERSIONS = OrderedDict(
iso639=isoLanguages.__version__,
pytz=pytz.__version__,
Unidecode = unidecode_version,
Scholarly = scholarly_version,
Flask_SimpleLDAP = u'installed' if bool(services.ldap) else None,
python_LDAP = services.ldapVersion if bool(services.ldapVersion) else None,
Goodreads = u'installed' if bool(services.goodreads_support) else None,