summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2022-03-07 19:58:13 +0100
committerGitHub <noreply@github.com>2022-03-07 19:58:13 +0100
commite1319fc21c713cfb9675389ba38f37e10cf77cd2 (patch)
tree3feeee9f38f849eff9c0f91002a7e2e18dea5b84
parent740e3bc90f0e8672c0c003b03d07e3c08b89064c (diff)
parent53b5a804e2a0878616e9cdcf4d9cc336a79af018 (diff)
downloadsearxng-e1319fc21c713cfb9675389ba38f37e10cf77cd2.tar.gz
searxng-e1319fc21c713cfb9675389ba38f37e10cf77cd2.zip
Merge pull request #947 from return42/fix-mvw
[fix] engine mediathekviewweb: replace http links by https
-rw-r--r--searx/engines/mediathekviewweb.py4
1 files 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',
}
)