From 27984da63816eed634a01353e77e9a979691896f Mon Sep 17 00:00:00 2001 From: test Date: Thu, 25 Sep 2025 19:48:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9720p?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fetchURLByAndroid720p.js | 2 +- utils/ddCalcuURL.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fetchURLByAndroid720p.js b/fetchURLByAndroid720p.js index 2225cc9..88647d7 100644 --- a/fetchURLByAndroid720p.js +++ b/fetchURLByAndroid720p.js @@ -22,7 +22,7 @@ async function fetchURLByAndroid() { `\n`) // 写入开头 - appendFile(path, `#EXTM3U x-tvg-url="https://develop202.github.io/migu_video/playback.xml,https://raw.githubusercontent.com/develop202/migu_video/refs/heads/main/playback.xml,https://gh-proxy.com/https://raw.githubusercontent.com/develop202/migu_video/refs/heads/main/playback.xml" catchup="append" catchup-source="&playbackbegin=\${(b)yyyyMMddHHmmss}&playbackend=\${(e)yyyyMMddHHmmss}"\n`) + appendFile(path, `#EXTM3U x-tvg-url="https://gh-proxy.com/https://raw.githubusercontent.com/develop202/migu_video/refs/heads/main/playback.xml" catchup="append" catchup-source="&playbackbegin=\${(b)yyyyMMddHHmmss}&playbackend=\${(e)yyyyMMddHHmmss}"\n`) // 分类列表 for (let i = 0; i < datas.length; i++) { diff --git a/utils/ddCalcuURL.js b/utils/ddCalcuURL.js index 3d971e7..8b32bc7 100644 --- a/utils/ddCalcuURL.js +++ b/utils/ddCalcuURL.js @@ -205,7 +205,7 @@ function getddCalcu720p(puData, programId) { return "" } - const words = ["e","2","","0"] + const words = ["e", "2", "", "0"] const thirdReplaceIndex = 2 puData = puData.split(""); @@ -223,7 +223,7 @@ function getddCalcu720p(puData, programId) { ddCalcu.push(words[i - 1]) break; case 2: - ddCalcu.push(words[i - 1]) + ddCalcu.push(keys[parseInt(getDateString(new Date())[6])]) break; case 3: ddCalcu.push(keys[programId[thirdReplaceIndex]])