Update i24news.tv

This commit is contained in:
freearhey
2023-11-20 09:37:33 +03:00
parent fd58996a15
commit af5bcb18d8
2 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -11,9 +11,9 @@ module.exports = {
site: 'i24news.tv',
days: 2,
url: function ({ channel }) {
const [lang] = channel.site_id.split('#')
const [lang, region] = channel.site_id.split('#')
return `https://api.i24news.tv/v2/${lang}/schedules/world`
return `https://api.i24news.tv/v2/${lang}/schedules/${region}`
},
parser: function ({ content, date }) {
let programs = []