Update i24news.tv.config.js
This commit is contained in:
1 parent
7a9ece8e59
commit
ed3ede914c
1 file changed
+1
-3
@@ -11,9 +11,7 @@ module.exports = {
|
||||
site: 'i24news.tv',
|
||||
days: 2,
|
||||
url: function ({ channel }) {
|
||||
const [lang, region] = channel.site_id.split('#')
|
||||
|
||||
return `https://api.i24news.tv/v2/${lang}/schedules/${region}`
|
||||
return `https://api.i24news.tv/v2/${channel.site_id}/schedules`
|
||||
},
|
||||
parser: function ({ content, date }) {
|
||||
let programs = []
|
||||
|
||||
Reference in new issue
Block a user