Update python search Metadata

This commit is contained in:
Ozzie Isaacs
2021-07-10 07:38:16 +02:00
parent aa2d3d2b36
commit ec7803fa76
6 changed files with 52 additions and 21 deletions
+2 -1
View File
@@ -24,6 +24,7 @@ from cps.services.Metadata import Metadata
class Google(Metadata):
__name__ = "Google"
__id__ = "google"
def search(self, query):
if self.active:
@@ -44,7 +45,7 @@ class Google(Metadata):
else:
v['cover'] = "/../../../static/generic_cover.jpg"
v['source'] = {
"id": "google",
"id": self.__id__,
"description": "Google Books",
"link": "https://books.google.com/"}
v['url'] = ""