summaryrefslogtreecommitdiff
path: root/searx/engines/mediathekviewweb.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2022-02-12 18:45:15 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2022-02-19 00:50:54 +0100
commit943a7fdcb5645a7f9108a6d2d7979f55d751d1e0 (patch)
treecdb242d06fdf40d27ac0ccd65139c04e765e9493 /searx/engines/mediathekviewweb.py
parentbf2a2ed48faf511a609d3b084b02066d69549015 (diff)
downloadsearxng-943a7fdcb5645a7f9108a6d2d7979f55d751d1e0.tar.gz
searxng-943a7fdcb5645a7f9108a6d2d7979f55d751d1e0.zip
[mod] mediathekviewweb engine: add iframe_src and use videos template
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/engines/mediathekviewweb.py')
-rw-r--r--searx/engines/mediathekviewweb.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/engines/mediathekviewweb.py b/searx/engines/mediathekviewweb.py
index 991dcbc7b..e28ce16c1 100644
--- a/searx/engines/mediathekviewweb.py
+++ b/searx/engines/mediathekviewweb.py
@@ -68,6 +68,8 @@ def response(resp):
'title': "%(channel)s: %(title)s (%(hms)s)" % item,
'length': item['hms'],
'content': "%(description)s" % item,
+ 'iframe_src': item['url_video_hd'],
+ 'template': 'videos.html',
}
)