From 53b5a804e2a0878616e9cdcf4d9cc336a79af018 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Mon, 7 Mar 2022 19:49:16 +0100 Subject: [PATCH] [fix] engine mediathekviewweb: replace http links by https Signed-off-by: Markus Heiser --- searx/engines/mediathekviewweb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/searx/engines/mediathekviewweb.py b/searx/engines/mediathekviewweb.py index e28ce16c1..5570ebe24 100644 --- a/searx/engines/mediathekviewweb.py +++ b/searx/engines/mediathekviewweb.py @@ -64,11 +64,11 @@ def response(resp): results.append( { - 'url': item['url_video_hd'], + 'url': item['url_video_hd'].replace("http://", "https://"), 'title': "%(channel)s: %(title)s (%(hms)s)" % item, 'length': item['hms'], 'content': "%(description)s" % item, - 'iframe_src': item['url_video_hd'], + 'iframe_src': item['url_video_hd'].replace("http://", "https://"), 'template': 'videos.html', } )