mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update i24news.tv
This commit is contained in:
parent
fd58996a15
commit
af5bcb18d8
2 changed files with 6 additions and 5 deletions
|
@ -1,6 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<channels>
|
||||
<channel site="i24news.tv" lang="ar" xmltv_id="I24NewsArabic.il" site_id="ar#">i24News Arabic</channel>
|
||||
<channel site="i24news.tv" lang="en" xmltv_id="I24NewsEnglish.il" site_id="en#">i24News English</channel>
|
||||
<channel site="i24news.tv" lang="fr" xmltv_id="I24NewsFrench.il" site_id="fr#">i24 News Français</channel>
|
||||
<channel site="i24news.tv" lang="ar" xmltv_id="i24NEWSArabic.il" site_id="ar#world">I24NEWS عربى</channel>
|
||||
<channel site="i24news.tv" lang="en" xmltv_id="i24NEWSEnglishUSA.il" site_id="en#usa">I24NEWS English (USA)</channel>
|
||||
<channel site="i24news.tv" lang="en" xmltv_id="i24NEWSEnglishWorld.il" site_id="en#world">I24NEWS English (World)</channel>
|
||||
<channel site="i24news.tv" lang="fr" xmltv_id="i24NEWSFrench.il" site_id="fr#world">I24NEWS Français</channel>
|
||||
</channels>
|
||||
|
|
|
@ -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 = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue