1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 20:17:45 +01:00

Merge pull request #947 from return42/fix-mvw

[fix] engine mediathekviewweb: replace http links by https
This commit is contained in:
Markus Heiser 2022-03-07 19:58:13 +01:00 committed by GitHub
commit e1319fc21c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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