更新源
This commit is contained in:
parent
e238f6303c
commit
ee178cb5b1
@ -19,7 +19,12 @@ VOD.vod_name = pdfh(html1, "h2&&Text");
|
|||||||
VOD.vod_content = "";
|
VOD.vod_content = "";
|
||||||
log(VOD);
|
log(VOD);
|
||||||
input = "https://www.ikanbot.com/api/getResN?videoId=" + input.split("/").pop() + "&mtype=2";
|
input = "https://www.ikanbot.com/api/getResN?videoId=" + input.split("/").pop() + "&mtype=2";
|
||||||
let html = request(input);
|
let html = request(input, {
|
||||||
|
headers: {
|
||||||
|
'User-Agent':'PC_UA',
|
||||||
|
'Referer': input,
|
||||||
|
}
|
||||||
|
});
|
||||||
print(html);
|
print(html);
|
||||||
html = JSON.parse(html);
|
html = JSON.parse(html);
|
||||||
let episodes = html.data.list;
|
let episodes = html.data.list;
|
||||||
|
|||||||
@ -18,7 +18,12 @@ try {
|
|||||||
VOD.vod_content = "";
|
VOD.vod_content = "";
|
||||||
log(VOD);
|
log(VOD);
|
||||||
input = "https://www.ikanbot.com/api/getResN?videoId=" + input.split("/").pop() + "&mtype=2";
|
input = "https://www.ikanbot.com/api/getResN?videoId=" + input.split("/").pop() + "&mtype=2";
|
||||||
let html = request(input);
|
let html = request(input, {
|
||||||
|
headers: {
|
||||||
|
'User-Agent':'PC_UA',
|
||||||
|
'Referer': input,
|
||||||
|
}
|
||||||
|
});
|
||||||
print(html);
|
print(html);
|
||||||
html = JSON.parse(html);
|
html = JSON.parse(html);
|
||||||
let episodes = html.data.list;
|
let episodes = html.data.list;
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
3.9.47beta28
|
3.9.47beta29
|
||||||
42
js/蘑菇.js
42
js/蘑菇.js
@ -1,16 +1,16 @@
|
|||||||
/*
|
/*
|
||||||
永久地址发布 https://www.gvideo.me/label/web.html (失效)
|
永久地址发布 https://www.moguys.xyz
|
||||||
域名1:https://www.moguys.xyz
|
域名1:https://www.muguys.com
|
||||||
域名2:https://www.gvideo.me (维护中)
|
域名2:https://www.movie4k.vip
|
||||||
域名3:https://www.movie4k.pro (失效)
|
|
||||||
*/
|
*/
|
||||||
muban.mxone5.二级.title = 'h1&&Text;.video-info-aux&&Text';
|
muban.mxone5.二级.title = 'h1&&Text;.video-info-aux&&Text';
|
||||||
muban.mxone5.二级.desc = '.video-info-items:eq(4)&&Text;;;.video-info-actor:eq(1)&&Text;.video-info-actor:eq(0)&&Text';
|
muban.mxone5.二级.desc = '.video-info-items:eq(4)&&Text;;;.video-info-actor:eq(1)&&Text;.video-info-actor:eq(0)&&Text';
|
||||||
var rule = {
|
var rule = {
|
||||||
title:'蘑菇',
|
title:'蘑菇',
|
||||||
模板:'mxone5',
|
模板:'mxone5',
|
||||||
host:'https://www.moguys.xyz',
|
host:'https://www.muguys.com',
|
||||||
// host:'https://www.moguys.xyz/label/web.html',
|
// host:'https://www.movie4k.vip',
|
||||||
|
// host:'https://www.moguys.xyz',
|
||||||
// hostJs:'print(HOST);let html=request(HOST,{headers:{"User-Agent":PC_UA}});let src=jsp.pdfh(html,"p:eq(0)&&a:eq(0)&&href");print(src);HOST=src',
|
// hostJs:'print(HOST);let html=request(HOST,{headers:{"User-Agent":PC_UA}});let src=jsp.pdfh(html,"p:eq(0)&&a:eq(0)&&href");print(src);HOST=src',
|
||||||
url:'/vodshow/fyfilter.html',
|
url:'/vodshow/fyfilter.html',
|
||||||
// homeUrl:'/vodshow/13--score---------.html',
|
// homeUrl:'/vodshow/13--score---------.html',
|
||||||
@ -40,10 +40,14 @@ var rule = {
|
|||||||
'User-Agent':'PC_UA'
|
'User-Agent':'PC_UA'
|
||||||
},
|
},
|
||||||
// class_parse: '.library-list&&a;a&&Text;a&&href;/(\\d+)',
|
// class_parse: '.library-list&&a;a&&Text;a&&href;/(\\d+)',
|
||||||
class_parse: 'div.subw500&&a;a&&title;a&&href;/(\\d+)',
|
// class_parse: 'div.subw500&&a;a&&title;a&&href;/(\\d+)',
|
||||||
|
class_parse: 'ul.grid-items&&li;a&&title;a&&href;/(\\d+).html',
|
||||||
lazy:`js:
|
lazy:`js:
|
||||||
var html = JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);
|
var html = JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);
|
||||||
var url = html.url;
|
var url = html.url;
|
||||||
|
var from = html.from;
|
||||||
|
var next = html.link_next;
|
||||||
|
var title = html.vod_data.vod_name;
|
||||||
if (html.encrypt == "1") {
|
if (html.encrypt == "1") {
|
||||||
url = unescape(url)
|
url = unescape(url)
|
||||||
} else if (html.encrypt == "2") {
|
} else if (html.encrypt == "2") {
|
||||||
@ -51,6 +55,30 @@ var rule = {
|
|||||||
}
|
}
|
||||||
if (/m3u8|mp4/.test(url)) {
|
if (/m3u8|mp4/.test(url)) {
|
||||||
input = url
|
input = url
|
||||||
|
} else if (/kmm3u8/.test(from)) {
|
||||||
|
var paurl = request(HOST + '/static/player/' + from + ".js").match(/ src="(.*?)'/)[1];
|
||||||
|
var purl = request(paurl + url + "&next=" + next + "&title=" + title + '&thumb=undefined');
|
||||||
|
var ptime = purl.match(/"time":"(.*?)"/)[1];
|
||||||
|
var pkey = purl.match(/"key":"(.*?)"/)[1];
|
||||||
|
var apiurl = 'https://player.moguys.xyz/111/api_config.php';
|
||||||
|
var pxurl = JSON.parse(request(apiurl, {
|
||||||
|
body: 'url=' + url + '&time=' + ptime + '&key=' + pkey,
|
||||||
|
method: 'POST'
|
||||||
|
})).url;
|
||||||
|
input = {
|
||||||
|
jx: 0,
|
||||||
|
url: pxurl,
|
||||||
|
parse: 0
|
||||||
|
}
|
||||||
|
} else if (/ali/.test(from)) {
|
||||||
|
var paurl = request(HOST + '/static/player/' + from + ".js").match(/ src="(.*?)'/)[1];
|
||||||
|
var purl = request(paurl + url + "&next=" + next + "&title=" + title);
|
||||||
|
var pxurl = purl.match(/"url":"(.*?)"/)[1];
|
||||||
|
input = {
|
||||||
|
jx: 0,
|
||||||
|
url: pxurl,
|
||||||
|
parse: 0
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
input
|
input
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,12 +1,15 @@
|
|||||||
var rule = {
|
var rule = {
|
||||||
title:'酷奇MV',
|
title:'酷奇MV',
|
||||||
host:'https://www.kuqimv.com',
|
host:'https://www.kuqimv.com',
|
||||||
homeUrl:'/play/',
|
// homeUrl:'/play/',
|
||||||
url:'/play/fyclass_fypage.html',
|
url:'/play/fyclass_fypage.html',
|
||||||
searchUrl:'/search.php?key=**&pages=fypage',
|
searchUrl:'/search.php?key=**&pages=fypage',
|
||||||
searchable:2,
|
searchable:2,
|
||||||
quickSearch:0,
|
quickSearch:0,
|
||||||
class_parse:'.main:eq(1)&&li;a&&Text;a&&href;.*/(\\d+)_1.html',
|
// class_parse:'.main:eq(1)&&li;a&&Text;a&&href;.*/(\\d+)_1.html',
|
||||||
|
// class_parse:'.lei_class&&a;a&&Text;a&&href;.*/(\\d+)_1.html',
|
||||||
|
class_name:'华语高清&日韩精选&欧美MV&高清现场&影视MV&夜店视频&车模视频&热舞视频&美女写真&美女打碟',
|
||||||
|
class_url:'1&2&3&4&5&6&7&8&9&10',
|
||||||
headers:{
|
headers:{
|
||||||
'User-Agent':'MOBILE_UA'
|
'User-Agent':'MOBILE_UA'
|
||||||
},
|
},
|
||||||
@ -19,4 +22,4 @@ var rule = {
|
|||||||
一级:'js:var d=[];pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;var html=request(input);let list=pdfa(html,".mv_list&&li");list.forEach((it)=>{d.push({title:pdfh(it,".name&&Text"),desc:"🎤"+pdfh(it,".singer&&Text")+"|"+pdfh(it,".time&&Text"),pic_url:pd(it,"img&&src"),url:pd(it,"a&&href"),})});setResult(d);',
|
一级:'js:var d=[];pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;var html=request(input);let list=pdfa(html,".mv_list&&li");list.forEach((it)=>{d.push({title:pdfh(it,".name&&Text"),desc:"🎤"+pdfh(it,".singer&&Text")+"|"+pdfh(it,".time&&Text"),pic_url:pd(it,"img&&src"),url:pd(it,"a&&href"),})});setResult(d);',
|
||||||
二级:'*',
|
二级:'*',
|
||||||
搜索:'.video_list&&li;a&&title;;.singer&&Text;a&&href;.t_03:eq(1)&&Text',
|
搜索:'.video_list&&li;a&&title;;.singer&&Text;a&&href;.t_03:eq(1)&&Text',
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user