diff --git a/SrcJuying.js b/SrcJuying.js index 5e612817..e59d6fdc 100644 --- a/SrcJuying.js +++ b/SrcJuying.js @@ -2393,8 +2393,8 @@ function erji() { } var easy = $("").lazyRule(() => { try{ - input=fetch(input,{}).split("('")[1].split("'")[0]; - log(input); + //input=fetch(input,{}).split("('")[1].split("'")[0]; + //log(input); /* if(input.match(/ixigua|iqiyi|qq.com|mgtv|le\.com|bili|sohu|youku|pptv|cctv|1905\.com/)){ input=input.split("?")[0]; @@ -2403,20 +2403,20 @@ function erji() { }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]; + } } - */ - 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://本集无播放地址,可从更多片源中寻找"; }