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://本集无播放地址,可从更多片源中寻找"; }