forked from zaclys/searxng
include author in invidious results
This commit is contained in:
parent
d75f98c764
commit
0305fe0dd5
|
@ -7,6 +7,7 @@
|
||||||
# @results JSON
|
# @results JSON
|
||||||
# @stable yes
|
# @stable yes
|
||||||
# @parse url, title, content, publishedDate, thumbnail, embedded
|
# @parse url, title, content, publishedDate, thumbnail, embedded
|
||||||
|
# @parse url, title, content, publishedDate, thumbnail, embedded, author
|
||||||
|
|
||||||
from searx.url_utils import quote_plus
|
from searx.url_utils import quote_plus
|
||||||
from dateutil import parser
|
from dateutil import parser
|
||||||
|
@ -91,6 +92,7 @@ def response(resp):
|
||||||
"title": result.get("title", ""),
|
"title": result.get("title", ""),
|
||||||
"content": result.get("description", ""),
|
"content": result.get("description", ""),
|
||||||
"template": "videos.html",
|
"template": "videos.html",
|
||||||
|
"author": result.get("author"),
|
||||||
"publishedDate": publishedDate,
|
"publishedDate": publishedDate,
|
||||||
"embedded": embedded,
|
"embedded": embedded,
|
||||||
"thumbnail": thumbnail,
|
"thumbnail": thumbnail,
|
||||||
|
|
Loading…
Reference in New Issue