Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 70f48050 authored by Nicolas Gelot's avatar Nicolas Gelot
Browse files

Increase dailymotion results per page to 20

parent f0770649
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -24,7 +24,7 @@ language_support = True


# search-url
# search-url
# see http://www.dailymotion.com/doc/api/obj-video.html
# 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
search_url = 'https://api.dailymotion.com/videos?fields=created_time,title,description,duration,url,thumbnail_360_url,id&sort=relevance&limit=20&page={pageno}&{query}'  # noqa
embedded_url = '<iframe frameborder="0" width="540" height="304" ' +\
embedded_url = '<iframe frameborder="0" width="540" height="304" ' +\
    'data-src="https://www.dailymotion.com/embed/video/{videoid}" allowfullscreen></iframe>'
    'data-src="https://www.dailymotion.com/embed/video/{videoid}" allowfullscreen></iframe>'