forked from zaclys/searxng
[fix] engine mediathekviewweb: replace http links by https
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
740e3bc90f
commit
53b5a804e2
|
@ -64,11 +64,11 @@ def response(resp):
|
||||||
|
|
||||||
results.append(
|
results.append(
|
||||||
{
|
{
|
||||||
'url': item['url_video_hd'],
|
'url': item['url_video_hd'].replace("http://", "https://"),
|
||||||
'title': "%(channel)s: %(title)s (%(hms)s)" % item,
|
'title': "%(channel)s: %(title)s (%(hms)s)" % item,
|
||||||
'length': item['hms'],
|
'length': item['hms'],
|
||||||
'content': "%(description)s" % item,
|
'content': "%(description)s" % item,
|
||||||
'iframe_src': item['url_video_hd'],
|
'iframe_src': item['url_video_hd'].replace("http://", "https://"),
|
||||||
'template': 'videos.html',
|
'template': 'videos.html',
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue