From 517c50646ace99509ff153024a91cd6c213865f7 Mon Sep 17 00:00:00 2001 From: Toha Date: Sat, 4 Jul 2026 22:16:31 +0700 Subject: [PATCH] Update tivie.id Api guide and channels. Signed-off-by: Toha --- sites/tivie.id/__data__/program01.html | 13 +++++++------ sites/tivie.id/__data__/program02.html | 13 +++++++------ sites/tivie.id/tivie.id.channels.xml | 1 - sites/tivie.id/tivie.id.config.js | 5 +---- 4 files changed, 15 insertions(+), 17 deletions(-) diff --git a/sites/tivie.id/__data__/program01.html b/sites/tivie.id/__data__/program01.html index 9b0c4fcd2..94bf056cb 100644 --- a/sites/tivie.id/__data__/program01.html +++ b/sites/tivie.id/__data__/program01.html @@ -25,6 +25,7 @@ + @@ -76,7 +77,7 @@

Episode 3

-

Di pedalaman Montana, tim memburu seorang pembunuh berantai nan kejam bernama Lowe yang terobsesi dengan kawanan serigala.

+

TiViE.id | Di pedalaman Montana, tim memburu seorang pembunuh berantai nan kejam bernama Lowe yang terobsesi dengan kawanan serigala.

@@ -99,13 +100,13 @@
  • -
    +
    - Hari Ini + 29 Apr
    15:20 @@ -143,7 +144,7 @@ e),x,g,d,n,G,A=c.body.clientHeight>e.innerHeight,h=e;for(;h;){try{var J=M(h.perf
    @@ -199,6 +200,6 @@ function toTop() { crossorigin="anonymous"> - + \ No newline at end of file diff --git a/sites/tivie.id/__data__/program02.html b/sites/tivie.id/__data__/program02.html index 1a6b319d9..2bbfd31a6 100644 --- a/sites/tivie.id/__data__/program02.html +++ b/sites/tivie.id/__data__/program02.html @@ -25,6 +25,7 @@ + @@ -76,7 +77,7 @@

    Episode 6

    -

    Grey memberi Tim dan Lucy suatu tugas yang tak menyenangkan, sementara John dan Celina melacak keberadaan seorang gadis yang menghilang. Beberapa hubungan asmara berakhir di suatu acara amal.

    +

    TiViE.id | Grey memberi Tim dan Lucy suatu tugas yang tak menyenangkan, sementara John dan Celina melacak keberadaan seorang gadis yang menghilang. Beberapa hubungan asmara berakhir di suatu acara amal.

    @@ -99,13 +100,13 @@
    • -
      +
      - Hari Ini + 29 Apr
      05:00 @@ -143,7 +144,7 @@ e),x,g,d,n,G,A=c.body.clientHeight>e.innerHeight,h=e;for(;h;){try{var J=M(h.perf
      @@ -199,6 +200,6 @@ function toTop() { crossorigin="anonymous"> - + \ No newline at end of file diff --git a/sites/tivie.id/tivie.id.channels.xml b/sites/tivie.id/tivie.id.channels.xml index b31f0ae9c..d440e6ebb 100644 --- a/sites/tivie.id/tivie.id.channels.xml +++ b/sites/tivie.id/tivie.id.channels.xml @@ -35,7 +35,6 @@ MNC TV Moji Nusantara TV - ONE RTV RCTI Rock Action diff --git a/sites/tivie.id/tivie.id.config.js b/sites/tivie.id/tivie.id.config.js index 4c5844abe..92f8a0ff8 100644 --- a/sites/tivie.id/tivie.id.config.js +++ b/sites/tivie.id/tivie.id.config.js @@ -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')