summaryrefslogtreecommitdiff
path: root/searx/engines/dailymotion.py
diff options
context:
space:
mode:
authorDalf <alex@al-f.net>2019-07-13 07:57:10 +0200
committerDalf <alex@al-f.net>2019-07-13 15:49:59 +0200
commit45702b77ca4759043f3b87f24983039f21ba2c32 (patch)
tree14c27be89360b938264033658070589bc5539a30 /searx/engines/dailymotion.py
parent609ac5795ab16ab8a80a89feb54a9e23d4dec725 (diff)
downloadsearxng-45702b77ca4759043f3b87f24983039f21ba2c32.tar.gz
searxng-45702b77ca4759043f3b87f24983039f21ba2c32.zip
embedded iframe (youtube, dailymotion, vimeo): use https
Diffstat (limited to 'searx/engines/dailymotion.py')
-rw-r--r--searx/engines/dailymotion.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/dailymotion.py b/searx/engines/dailymotion.py
index 06a9c41f3..069aceaa3 100644
--- a/searx/engines/dailymotion.py
+++ b/searx/engines/dailymotion.py
@@ -26,7 +26,7 @@ language_support = True
# see http://www.dailymotion.com/doc/api/obj-video.html
search_url = 'https://api.dailymotion.com/videos?fields=created_time,title,description,duration,url,thumbnail_360_url,id&sort=relevance&limit=5&page={pageno}&{query}' # noqa
embedded_url = '<iframe frameborder="0" width="540" height="304" ' +\
- 'data-src="//www.dailymotion.com/embed/video/{videoid}" allowfullscreen></iframe>'
+ 'data-src="https://www.dailymotion.com/embed/video/{videoid}" allowfullscreen></iframe>'
supported_languages_url = 'https://api.dailymotion.com/languages'