mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
embedded iframe (youtube, dailymotion, vimeo): use https
This commit is contained in:
@@ -23,7 +23,7 @@ base_url = 'https://www.googleapis.com/youtube/v3/search'
|
||||
search_url = base_url + '?part=snippet&{query}&maxResults=20&key={api_key}'
|
||||
|
||||
embedded_url = '<iframe width="540" height="304" ' +\
|
||||
'data-src="//www.youtube-nocookie.com/embed/{videoid}" ' +\
|
||||
'data-src="https://www.youtube-nocookie.com/embed/{videoid}" ' +\
|
||||
'frameborder="0" allowfullscreen></iframe>'
|
||||
|
||||
base_youtube_url = 'https://www.youtube.com/watch?v='
|
||||
|
||||
Reference in New Issue
Block a user