diff --git a/sites/indihometv.com/indihometv.com.channels.xml b/sites/indihometv.com/indihometv.com.channels.xml index 49ab1c73..2a8316a6 100644 --- a/sites/indihometv.com/indihometv.com.channels.xml +++ b/sites/indihometv.com/indihometv.com.channels.xml @@ -1,23 +1,31 @@ - Animal Planet - Curiosity - Discovery Asia - Love Nature + Antara + Flik + I-Konser + Kungfu TV + Maxstream + Musik Indonesia + Prambors + UseeSports + UseeSports2 + ABC Australia Aljazeera + Animal Planet Animax Aniplus - Antara ANTV Arirang Asian Food Network + ATV AXN + Bali TV beIN Sports 1 beIN Sports 3 Bioskop Indonesia Bloomberg - Boomerang BTV + Boomerang Cartoon Network CCTV4 Celestial Movie @@ -28,11 +36,16 @@ News Asia CNBC Asia CNBC Indonesia + CNN Indonesia CNN International Crime Investigation CTI Asia + Curiosity + Daai TV Da Vinci Learning + Discovery Asia Discovery Channel + Dreamworks Dunia anak Dunia Lain DW (English) @@ -41,19 +54,24 @@ Euronews FashionTV Fight Sport - Flik France 24 Formosa Galaxy Galaxy Premium SGEM + GTV HGTV History Hits - HITS Now + HIts Movie + HITS Now Horee + Horizon Sports + IDX IMC FunPlanet + Indonesiana TV + Indosiar iNews Panda TV JakTV @@ -62,11 +80,13 @@ Kix Kompas TV Kplus - Kungfu TV Lifetime Lingua - Maxstream + Love Nature + Mentari TV Metro TV + MNC + MOJI MQTV MTV Live My Cinema @@ -74,18 +94,24 @@ My Family MyKidz NBA + Net. nhk world Japan Nickelodeon Nick Junior Insert + Nusantara TV SONE Paramount - Prambors AlQuran Kareem + Rajawali TV + RCTI Rock Entertainment Rock Action Rodja TV + RRI NET + SCTV SEA Today + Seru! Shenzen SINDO News TV SPOTV2 @@ -99,14 +125,14 @@ TV5Monde TV9 NU TVBS News + Muhammadiyah TV MUI TV TVN TVN Movies TV One TVRI + UChannel AllPlay Ent - UseeSports2 - UseeSports Warner ZBioskop Zhejiang diff --git a/sites/indihometv.com/indihometv.com.config.js b/sites/indihometv.com/indihometv.com.config.js index 5aecd215..b5456d8e 100644 --- a/sites/indihometv.com/indihometv.com.config.js +++ b/sites/indihometv.com/indihometv.com.config.js @@ -10,9 +10,9 @@ dayjs.extend(customParseFormat) module.exports = { site: 'indihometv.com', - days: 2, + days: 1, url({ channel }) { - return `https://www.indihometv.com/tvod/${channel.site_id}` + return `https://www.indihometv.com/livetv/${channel.site_id}` }, parser({ content, date }) { const programs = [] @@ -43,7 +43,7 @@ module.exports = { const axios = require('axios') const cheerio = require('cheerio') const data = await axios - .get('https://www.indihometv.com/tvod') + .get('https://www.indihometv.com/tv/live') .then(response => response.data) .catch(console.error) diff --git a/sites/indihometv.com/indihometv.com.test.js b/sites/indihometv.com/indihometv.com.test.js index 8c80bb6a..8230a917 100644 --- a/sites/indihometv.com/indihometv.com.test.js +++ b/sites/indihometv.com/indihometv.com.test.js @@ -3,7 +3,7 @@ const dayjs = require('dayjs') const utc = require('dayjs/plugin/utc') dayjs.extend(utc) -const date = dayjs.utc('2022-08-08', 'YYYY-MM-DD').startOf('d') +const date = dayjs.utc('2022-08-08').startOf('d') const channel = { site_id: 'metrotv', xmltv_id: 'MetroTV.id' @@ -12,7 +12,7 @@ const content = '
' it('can generate valid url', () => { - expect(url({ channel })).toBe('https://www.indihometv.com/tvod/metrotv') + expect(url({ channel })).toBe('https://www.indihometv.com/livetv/metrotv') }) it('can parse response', () => {