diff --git a/SrcJuying.js b/SrcJuying.js index 60bd5e4b..8c6b1155 100644 --- a/SrcJuying.js +++ b/SrcJuying.js @@ -2393,15 +2393,7 @@ function erji() { } var easy = $("").lazyRule(() => { try{ - //input=fetch(input,{}).split("('")[1].split("'")[0]; - if (input.indexOf('sa.sogou') != -1) { - input = parseDomForHtml(request(input), 'video&&src'); - } else { - input = request(input, {}).split("('")[1].split("',")[0]; - } - - log(input) - + /*input=fetch(input,{}).split("('")[1].split("'")[0]; if(!/^http/.test(input)){ return "toast://本集无播放地址,可从更多片源中寻找"; } @@ -2411,7 +2403,20 @@ function erji() { input=input.split("&")[0]; }else if(input.match(/migu/)){ input=input.replace(/http/,'https').split("&from")[0]; + }*/ + if (input.indexOf('sa.sogou') != -1) { + input = parseDomForHtml(request(input), 'video&&src'); + } 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]; + } + log(input) require(config.依赖.match(/https.*\//)[0] + 'SrcParseS.js'); return SrcParseS.聚影(input); }catch(e){