From 9932e046bece9ff6d7af9f9fb76cc0756a80f59e Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Mon, 11 Jul 2022 04:51:33 +0000 Subject: [PATCH] update SrcJuying.js. --- SrcJuying.js | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/SrcJuying.js b/SrcJuying.js index b7949ac0..1d8e2dbd 100644 --- a/SrcJuying.js +++ b/SrcJuying.js @@ -2376,23 +2376,9 @@ function erji() { }else if(input.match(/huanxi/)){ input=input.split("&")[0]; }else if(input.match(/migu/)){ - //input=input.replace(/http/,'https').split("&from")[0]; input = "https://m.miguvideo.com/mgs/msite/prd/detail.html" + input.replace(/\\?.*cid/, '?cid').split("&")[0] + "&mgdbid="; } - /* - if (input.indexOf('sa.sogou') != -1) { - input = fetch(input,{}).split("('")[1].split("'")[0]; - } else { - input = request(input, {}).split("('")[1].split("',")[0]; - if (input.match(/huanxi/)) { - input = input.split("&")[0]; - } else if (input.match(/migu/)) { - input = "https://m.miguvideo.com/mgs/msite/prd/detail.html" + input.replace(/\\?.*cid/, '?cid').split("&")[0] + "&mgdbid="; - } else { - input = input.split("?")[0]; - } - } - */ + if(!/^http/.test(input)){ return "toast://本集无播放地址,可从更多片源中寻找"; }