Update indihometv.com guide.

Signed-off-by: Toha <tohenk@yahoo.com>
This commit is contained in:
Toha
2023-12-08 15:34:09 +07:00
parent 10b0ba20f0
commit 59750c9620
3 changed files with 44 additions and 18 deletions

View File

@@ -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)