|
|
@ -2393,8 +2393,8 @@ function erji() { |
|
|
|
} |
|
|
|
} |
|
|
|
var easy = $("").lazyRule(() => { |
|
|
|
var easy = $("").lazyRule(() => { |
|
|
|
try{ |
|
|
|
try{ |
|
|
|
input=fetch(input,{}).split("('")[1].split("'")[0]; |
|
|
|
//input=fetch(input,{}).split("('")[1].split("'")[0];
|
|
|
|
log(input); |
|
|
|
//log(input);
|
|
|
|
/* |
|
|
|
/* |
|
|
|
if(input.match(/ixigua|iqiyi|qq.com|mgtv|le\.com|bili|sohu|youku|pptv|cctv|1905\.com/)){ |
|
|
|
if(input.match(/ixigua|iqiyi|qq.com|mgtv|le\.com|bili|sohu|youku|pptv|cctv|1905\.com/)){ |
|
|
|
input=input.split("?")[0]; |
|
|
|
input=input.split("?")[0]; |
|
|
@ -2403,20 +2403,20 @@ function erji() { |
|
|
|
}else if(input.match(/migu/)){ |
|
|
|
}else if(input.match(/migu/)){ |
|
|
|
input=input.replace(/http/,'https').split("&from")[0]; |
|
|
|
input=input.replace(/http/,'https').split("&from")[0]; |
|
|
|
}*/ |
|
|
|
}*/ |
|
|
|
/* |
|
|
|
|
|
|
|
if (input.indexOf('sa.sogou') != -1) { |
|
|
|
if (input.indexOf('sa.sogou') != -1) { |
|
|
|
input = parseDomForHtml(request(input), 'video&&src'); |
|
|
|
input = parseDomForHtml(request(input), 'video&&src'); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
input = request(input, {}).split("('")[1].split("',")[0]; |
|
|
|
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)){ |
|
|
|
if(!/^http/.test(input)){ |
|
|
|
return "toast://本集无播放地址,可从更多片源中寻找"; |
|
|
|
return "toast://本集无播放地址,可从更多片源中寻找"; |
|
|
|
} |
|
|
|
} |
|
|
|