mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 09:00:07 -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"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<channels>
|
<channels>
|
||||||
<channel site="i24news.tv" lang="ar" xmltv_id="I24NewsArabic.il" site_id="ar#">i24News Arabic</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="I24NewsEnglish.il" site_id="en#">i24News English</channel>
|
<channel site="i24news.tv" lang="en" xmltv_id="i24NEWSEnglishUSA.il" site_id="en#usa">I24NEWS English (USA)</channel>
|
||||||
<channel site="i24news.tv" lang="fr" xmltv_id="I24NewsFrench.il" site_id="fr#">i24 News Français</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>
|
</channels>
|
||||||
|
|
|
@ -11,9 +11,9 @@ module.exports = {
|
||||||
site: 'i24news.tv',
|
site: 'i24news.tv',
|
||||||
days: 2,
|
days: 2,
|
||||||
url: function ({ channel }) {
|
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 }) {
|
parser: function ({ content, date }) {
|
||||||
let programs = []
|
let programs = []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue