Browse Source

[fix] engine mediathekviewweb: replace http links by https

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Markus Heiser 3 years ago
parent
commit
53b5a804e2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      searx/engines/mediathekviewweb.py

+ 2 - 2
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',
             }
         )