summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorMichael Ilsaas <mikeri@mikeri.net>2020-08-02 13:30:38 +0200
committerMichael Ilsaas <mikeri@mikeri.net>2020-08-02 13:30:38 +0200
commit0305fe0dd5a5aaad5965e87e80c6cc5a2ce0e17f (patch)
tree971614b121fb11243c3b0674d27597f19a9d2088 /searx
parentd75f98c764be8290f2ae241aa67321bcce938cd6 (diff)
downloadsearxng-0305fe0dd5a5aaad5965e87e80c6cc5a2ce0e17f.tar.gz
searxng-0305fe0dd5a5aaad5965e87e80c6cc5a2ce0e17f.zip
include author in invidious results
Diffstat (limited to 'searx')
-rw-r--r--searx/engines/invidious.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/engines/invidious.py b/searx/engines/invidious.py
index 8d81691fc..e94d7c17d 100644
--- a/searx/engines/invidious.py
+++ b/searx/engines/invidious.py
@@ -7,6 +7,7 @@
# @results JSON
# @stable yes
# @parse url, title, content, publishedDate, thumbnail, embedded
+# @parse url, title, content, publishedDate, thumbnail, embedded, author
from searx.url_utils import quote_plus
from dateutil import parser
@@ -91,6 +92,7 @@ def response(resp):
"title": result.get("title", ""),
"content": result.get("description", ""),
"template": "videos.html",
+ "author": result.get("author"),
"publishedDate": publishedDate,
"embedded": embedded,
"thumbnail": thumbnail,