Update tivie.id Api guide and channels.

Signed-off-by: Toha <tohenk@yahoo.com>
This commit is contained in:
Toha
2026-07-04 22:16:31 +07:00
parent 41a54452e8
commit 517c50646a
4 changed files with 15 additions and 17 deletions
+1 -4
View File
@@ -5,14 +5,11 @@ const utc = require('dayjs/plugin/utc')
const timezone = require('dayjs/plugin/timezone')
const customParseFormat = require('dayjs/plugin/customParseFormat')
const doFetch = require('@ntlab/sfetch')
const debug = require('debug')('site:tivie.id')
dayjs.extend(utc)
dayjs.extend(timezone)
dayjs.extend(customParseFormat)
doFetch.setDebugger(debug)
const tz = 'Asia/Jakarta'
let $
@@ -76,7 +73,7 @@ module.exports = {
// program description
const desc = info.find('div[class=""] > p')
if (desc.length) {
queue.i.description = parseText(prune(desc, '.hidden'))
queue.i.description = parseText(prune(desc, '.hide'))
}
// program categories
const cat = info.find('div[class=""] > a')