Commit 278ef974 authored by Bastien Nocera's avatar Bastien Nocera

euronews: Update for site changes

The scheme is now missing from the json URLs and HTTPs is used.
parent 6158eb5a
Pipeline #57321 passed with stage
in 3 minutes and 30 seconds
......@@ -21,7 +21,7 @@
--]]
LANG_EN = "en"
EURONEWS_URL = 'http://%s.euronews.com/api/watchlive.json'
EURONEWS_URL = 'https://%s.euronews.com/api/watchlive.json'
local langs = {
arabic = "Arabic",
......@@ -96,7 +96,7 @@ function euronews_initial_fetch_cb(results, lang)
return
end
grl.fetch(json.url, euronews_fetch_cb, lang)
grl.fetch("https:" .. json.url, euronews_fetch_cb, lang)
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment