From a18705900700ad1ea90b03218d21bfced9f5077f Mon Sep 17 00:00:00 2001 From: hjdhnx Date: Thu, 5 Jan 2023 12:31:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=93=94=E5=93=A9=E8=A7=A3=E6=9E=90=E5=A2=9E?= =?UTF-8?q?=E5=BC=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "jiexi/\345\223\224\345\223\251.js" | 5 ++++- js/version.txt | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git "a/jiexi/\345\223\224\345\223\251.js" "b/jiexi/\345\223\224\345\223\251.js" index 53c3f1d..cfa0f09 100644 --- "a/jiexi/\345\223\224\345\223\251.js" +++ "b/jiexi/\345\223\224\345\223\251.js" @@ -77,7 +77,10 @@ if(!/bilibili/.test(vipUrl)){ print(r); let purl = r['data']['durl'][0]['url']; print('purl:' + purl); - realUrl = purl; + // realUrl = purl; + // https://upos-szbyjkm8g1.bilivideo.com + realUrl = purl.replace(/.*bilivideo.*?\/(.*)/,'https://upos-szbyjkm8g1.bilivideo.com/$1'); + } catch (e) { print(e.message); realUrl = vipUrl; diff --git a/js/version.txt b/js/version.txt index 7c78c92..a48ad12 100644 --- a/js/version.txt +++ b/js/version.txt @@ -1 +1 @@ -3.9.34beta3 \ No newline at end of file +3.9.34beta4 \ No newline at end of file -- GitLab