mirror of
https://github.com/iptv-org/epg
synced 2026-09-17 14:36:24 -04:00
Update i24news.tv.config.js
This commit is contained in:
@@ -11,9 +11,7 @@ module.exports = {
|
|||||||
site: 'i24news.tv',
|
site: 'i24news.tv',
|
||||||
days: 2,
|
days: 2,
|
||||||
url: function ({ channel }) {
|
url: function ({ channel }) {
|
||||||
const [lang, region] = channel.site_id.split('#')
|
return `https://api.i24news.tv/v2/${channel.site_id}/schedules`
|
||||||
|
|
||||||
return `https://api.i24news.tv/v2/${lang}/schedules/${region}`
|
|
||||||
},
|
},
|
||||||
parser: function ({ content, date }) {
|
parser: function ({ content, date }) {
|
||||||
let programs = []
|
let programs = []
|
||||||
|
|||||||
Reference in New Issue
Block a user