From ed3ede914c99d12e004bc5484ea459ed7ea88428 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Moret?= <30985701+BellezaEmporium@users.noreply.github.com> Date: Thu, 19 Dec 2024 15:52:56 +0100 Subject: [PATCH] Update i24news.tv.config.js --- sites/i24news.tv/i24news.tv.config.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sites/i24news.tv/i24news.tv.config.js b/sites/i24news.tv/i24news.tv.config.js index 556bea40..b8539910 100644 --- a/sites/i24news.tv/i24news.tv.config.js +++ b/sites/i24news.tv/i24news.tv.config.js @@ -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 = []