From f78b40d23c57af5daec90fbc8df5f299c07a1c3a Mon Sep 17 00:00:00 2001 From: FongMi Date: Thu, 22 Feb 2024 10:31:31 +0800 Subject: [PATCH] Add example --- README.md | 3 ++- other/sample/live/offline.json | 6 ++++++ other/sample/live/online.json | 6 ++++++ other/sample/live/tvbus.json | 3 +-- 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fa5c87998..343cb6544 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ https://github.com/CatVodTVOfficial/CatVodTVJarLoader | timeout | 15 | 播放超時 | 單位:秒 | | header | none | 請求標頭 | 格式:json | | click | none | 點擊js | javascript | +| catchup | none | 回看參數 | | ### 樣式 @@ -164,5 +165,5 @@ scheme://username:password@host:port [發布頻道](https://t.me/fongmi_release) ### 贊助 -![photo_2024-01-10_11-39-12](https://github.com/FongMi/TV/assets/3471963/fdc12771-386c-4d5d-9a4d-d0bec0276fa7) +![photo_2024-01-10_11-39-12](https://github.com/FongMi/TV/assets/3471963/fdc12771-386c-4d5d-9a4d-d0bec0276fa7) \ No newline at end of file diff --git a/other/sample/live/offline.json b/other/sample/live/offline.json index 7f1e5fc72..9662933f2 100644 --- a/other/sample/live/offline.json +++ b/other/sample/live/offline.json @@ -43,6 +43,12 @@ "header": { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36", "Referer": "https://github.com/" + }, + "catchup": { + "days": "7", + "type": "append", + "regex": "/PLTV/", + "source": "?playseek=${(b)yyyyMMddHHmmss}-${(e)yyyyMMddHHmmss}" } }, { diff --git a/other/sample/live/online.json b/other/sample/live/online.json index ec4969eda..689f5bbc5 100644 --- a/other/sample/live/online.json +++ b/other/sample/live/online.json @@ -43,6 +43,12 @@ "header": { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36", "Referer": "https://github.com/" + }, + "catchup": { + "days": "7", + "type": "append", + "regex": "/PLTV/", + "source": "?playseek=${(b)yyyyMMddHHmmss}-${(e)yyyyMMddHHmmss}" } }, { diff --git a/other/sample/live/tvbus.json b/other/sample/live/tvbus.json index 91ec818ae..3f65283d6 100644 --- a/other/sample/live/tvbus.json +++ b/other/sample/live/tvbus.json @@ -8,8 +8,7 @@ "core": { "auth": "", "name": "", - "pass": "", - "broker": "" + "pass": "" } } ]