Add files via upload
This commit is contained in:
parent
a7bf49a6ce
commit
26b51325e2
@ -45,8 +45,9 @@ try {
|
||||
|
||||
var rule = {
|
||||
title: 'HG影院[V2]', // csp_AppYsV2
|
||||
host: 'https://www.hgyx.vip',
|
||||
hostJs:'print(HOST);let html=request(HOST,{headers:{"User-Agent":PC_UA}});let src=jsp.pdfh(html,"a:eq(0)&&href");print(src);HOST=src',
|
||||
host: 'https://hong.hgyx.vip',
|
||||
// host: 'https://www.hgyx.vip',
|
||||
// hostJs:'print(HOST);let html=request(HOST,{headers:{"User-Agent":PC_UA}});let src=jsp.pdfh(html,"a:eq(0)&&href");print(src);HOST=src',
|
||||
homeUrl:'/api.php/v1.vod/vodPhbAll',
|
||||
// url: '/api.php/v1.vod?type=fyclass&limit=20&page=fypage',
|
||||
url: '/api.php/v1.vod?type=fyclassfyfilter&limit=20&page=fypage',
|
||||
@ -67,15 +68,17 @@ var rule = {
|
||||
class_name:'4k影视剧&4k影视片&综艺&4k动漫', // 分类筛选 /api.php/v1.vod/types
|
||||
class_url:'2&1&3&4',
|
||||
play_parse:true,
|
||||
// lazy:'`js:input=/hgyx.vip/.test(input)?{jx:0,url:JSON.parse(request(input)).data.redirect_url,parse:0,header:JSON.stringify({"user-agent":"Lavf/58.12.100"})}:/m3u8|mp4/.test(input)?input:{jx:0,url:"https://jx.hgyx.vip/?url="+input,parse:1}',
|
||||
lazy:`js:
|
||||
input = /hgyx.vip/.test(input) ? {
|
||||
input = /m3u8|mp4/.test(input) ? {
|
||||
jx: 0,
|
||||
url: JSON.parse(request(input)).data.redirect_url,
|
||||
parse: 1,
|
||||
header: JSON.stringify({
|
||||
"user-agent": "Lavf/58.12.100"
|
||||
})
|
||||
} : /m3u8|mp4/.test(input) ? input : input
|
||||
url: input,
|
||||
parse: 0
|
||||
} : {
|
||||
jx: 0,
|
||||
url: "https://jx.hgyx.vip/?url=" + input,
|
||||
parse: 1
|
||||
}
|
||||
`,
|
||||
limit:6,
|
||||
推荐:'json:data.list;vod_list;*;*;*;*',
|
||||
|
@ -1,5 +1,5 @@
|
||||
// 搜索验证码 -> drpy_ocr验证码接口 成功过验证
|
||||
muban.mxpro.二级.desc = ';;;.module-info-item-content:eq(1)&&Text;.module-info-item-content:eq(0)&&Text'
|
||||
// 搜索验证码 pass
|
||||
muban.mxpro.二级.desc = '.module-info-item:eq(5)&&Text;;;.module-info-item-content:eq(1)&&Text;.module-info-item-content:eq(0)&&Text'
|
||||
var rule = {
|
||||
title:'南柯电影网',
|
||||
模板:'mxpro',
|
||||
@ -39,13 +39,43 @@ var rule = {
|
||||
}
|
||||
}
|
||||
`,
|
||||
预处理:`js:
|
||||
var html = request(HOST, {
|
||||
withHeaders: true
|
||||
});
|
||||
let json = JSON.parse(html);
|
||||
let setCk = Object.keys(json).find(it => it.toLowerCase() === "set-cookie");
|
||||
let cookie = setCk ? json[setCk].split(";")[0] : "";
|
||||
rule_fetch_params.headers.Cookie = cookie;
|
||||
预处理:`
|
||||
rule_fetch_params.headers.Cookie = "3d1899503da128319d46484900974d61=2260e8918a83e15f322f083e71586517";
|
||||
let new_html = request(HOST);
|
||||
if (/检测中/.test(new_html)) {
|
||||
let hhtml = request(HOST, {
|
||||
withHeaders: true
|
||||
});
|
||||
let json = JSON.parse(hhtml);
|
||||
let setCk = Object.keys(json).find(it => it.toLowerCase() === "set-cookie");
|
||||
let cookie = setCk ? json[setCk].split(";")[0] : "";
|
||||
rule_fetch_params.headers.Cookie = cookie;
|
||||
setItem(RULE_CK, cookie)
|
||||
} else if (/正在进行人机识别/.test(new_html)) {
|
||||
let new_src = pd(new_html, "script&&src", HOST);
|
||||
let hhtml = request(new_src, {
|
||||
withHeaders: true
|
||||
});
|
||||
let json = JSON.parse(hhtml);
|
||||
let html = json.body;
|
||||
let key = html.match(new RegExp(\'var key="(.*?)"\'))[1];
|
||||
let avalue = html.match(new RegExp(\'value="(.*?)"\'))[1];
|
||||
let c = "";
|
||||
for (let i = 0; i < avalue.length; i++) {
|
||||
let a = avalue[i];
|
||||
let b = a.charCodeAt();
|
||||
c += b
|
||||
}
|
||||
let value = md5(c);
|
||||
let yz_url = HOST + "/a20be899_96a6_40b2_88ba_32f1f75f1552_yanzheng_ip.php?type=96c4e20a0e951f471d32dae103e83881&key=" + key + "&value=" + value;
|
||||
hhtml = request(yz_url, {
|
||||
withHeaders: true
|
||||
});
|
||||
json = JSON.parse(hhtml);
|
||||
let setCk = Object.keys(json).find(it => it.toLowerCase() === "set-cookie");
|
||||
let cookie = setCk ? json[setCk].split(";")[0] : "";
|
||||
rule_fetch_params.headers.Cookie = cookie;
|
||||
setItem(RULE_CK, cookie)
|
||||
}
|
||||
`,
|
||||
}
|
@ -1,24 +1,64 @@
|
||||
var rule={
|
||||
title:'异世界动漫',
|
||||
host:'http://www.ysjdm.net',
|
||||
url:'/index.php/vod/show/class/fyclass/id/20/page/fypage.html',
|
||||
searchUrl:'/index.php/vod/search.html?wd=**&submit=',
|
||||
searchable:2,//是否启用全局搜索,
|
||||
quickSearch:0,//是否启用快速搜索,
|
||||
filterable:0,//是否启用分类筛选,
|
||||
headers:{//网站的请求头,完整支持所有的,常带ua和cookies
|
||||
'User-Agent':'MOBILE_UA',
|
||||
// "Cookie": "searchneed=ok"
|
||||
homeUrl:'/index.php/vod/show/id/22.html',
|
||||
// url:'/index.php/vod/show/class/fyclass/id/20/page/fypage.html',
|
||||
url:'/index.php/vod/show/fyclassfyfilter.html',
|
||||
filterable:1,
|
||||
filter_url:'{{fl.type}}/id/20/page/fypage{{fl.year}}',
|
||||
filter: {
|
||||
"area/日本":[{"key":"type","name":"类型","value":[{"n":"全部","v":""},{"n":"OVA","v":"/class/OVA"},{"n":"剧场版","v":"/class/剧场版"},{"n":"无修","v":"/class/BD无修"},{"n":"萝莉","v":"/class/萝莉"},{"n":"学園","v":"/class/学園"},{"n":"后宫","v":"/class/后宫"},{"n":"恋爱","v":"/class/恋爱"},{"n":"热血","v":"/class/热血"},{"n":"神魔","v":"/class/神魔"},{"n":"奇幻","v":"/class/奇幻"},{"n":"治愈","v":"/class/治愈"},{"n":"搞笑","v":"/class/搞笑"},{"n":"百合","v":"/class/百合"},{"n":"冒险","v":"/class/冒险"},{"n":"魔法","v":"/class/魔法"},{"n":"机战","v":"/class/机战"},{"n":"战争","v":"/class/战争"},{"n":"犯罪","v":"/class/犯罪"},{"n":"悬疑","v":"/class/悬疑"},{"n":"推理","v":"/class/推理"},{"n":"科幻","v":"/class/科幻"},{"n":"竞技","v":"/class/竞技"},{"n":"运动","v":"/class/运动"},{"n":"耽美","v":"/class/耽美"},{"n":"其他","v":"/class/其他"}]},{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2023","v":"/year/2023"},{"n":"2022","v":"/year/2022"},{"n":"2021","v":"/year/2021"},{"n":"2020","v":"/year/2020"},{"n":"2019","v":"/year/2019"},{"n":"2018","v":"/year/2018"},{"n":"2017","v":"/year/2017"},{"n":"2016","v":"/year/2016"},{"n":"2015","v":"/year/2015"},{"n":"2014","v":"/year/2014"},{"n":"2013","v":"/year/2013"},{"n":"2012","v":"/year/2012"},{"n":"2011","v":"/year/2011"},{"n":"2010","v":"/year/2010"},{"n":"2009","v":"/year/2009"},{"n":"2008","v":"/year/2008"}]}],
|
||||
"area/中國":[{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2023","v":"/year/2023"},{"n":"2022","v":"/year/2022"},{"n":"2021","v":"/year/2021"},{"n":"2020","v":"/year/2020"},{"n":"2019","v":"/year/2019"},{"n":"2018","v":"/year/2018"},{"n":"2017","v":"/year/2017"},{"n":"2016","v":"/year/2016"},{"n":"2015","v":"/year/2015"},{"n":"2014","v":"/year/2014"},{"n":"2013","v":"/year/2013"},{"n":"2012","v":"/year/2012"},{"n":"2011","v":"/year/2011"},{"n":"2010","v":"/year/2010"},{"n":"2009","v":"/year/2009"},{"n":"2008","v":"/year/2008"}]}]
|
||||
},
|
||||
class_name:'BD无修&萝莉&学園&后宫&恋爱&热血&神魔&奇幻&治愈&搞笑&百合冒险&魔法&机战&战争&战斗&犯罪&悬疑&推理&科幻&竞技&运动&耽美&其他&OVA&剧场版&国产动漫',
|
||||
class_url:'BD无修&萝莉&学園&后宫&恋爱&热血&神魔&奇幻&治愈&搞笑&百合冒险&魔法&机战&战争&战斗&犯罪&悬疑&推理&科幻&竞技&运动&耽美&其他&OVA&剧场版&国产动漫',
|
||||
cate_exclude:'',
|
||||
searchUrl:'/index.php/vod/search/page/fypage/wd/**.html',
|
||||
searchable:2,
|
||||
quickSearch:0,
|
||||
headers:{
|
||||
'User-Agent':'MOBILE_UA'
|
||||
},
|
||||
timeout:5000,//网站的全局请求超时,默认是3000毫秒
|
||||
class_name:'日漫&国漫',
|
||||
class_url:'area/日本&area/中國',
|
||||
play_parse:true,
|
||||
lazy:'',
|
||||
lazy:`js:
|
||||
var html = JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);
|
||||
var url = html.url;
|
||||
var from = html.from;
|
||||
if (html.encrypt == '1') {
|
||||
url = unescape(url)
|
||||
} else if (html.encrypt == '2') {
|
||||
url = unescape(base64Decode(url))
|
||||
}
|
||||
if (/m3u8|mp4/.test(url)) {
|
||||
input = url
|
||||
} else {
|
||||
var MacPlayerConfig={};
|
||||
eval(fetch(HOST + "/static/js/playerconfig.js").replace('var Mac','Mac'));
|
||||
var jx = MacPlayerConfig.player_list[from].parse;
|
||||
if (jx == '') {
|
||||
jx = MacPlayerConfig.parse
|
||||
};
|
||||
if (jx.startsWith("/")) {
|
||||
jx = "https:" + jx;
|
||||
}
|
||||
input={jx:0,url:jx+url,parse:1,
|
||||
header: JSON.stringify({
|
||||
'referer': 'https://ysjdm.net/'
|
||||
})}
|
||||
}
|
||||
`,
|
||||
limit:6,
|
||||
推荐:'.vodlist;li;a&&title;a&&data-original;.text_right&&Text;a&&href',
|
||||
double:true, // 推荐内容是否双层定位
|
||||
一级:'.vodlist&&li;a&&title;a&&data-original;.text_right&&Text;a&&href',
|
||||
二级:{"title":"h2&&Text","img":".lazyload&&data-original","desc":"li.data:eq(0)&&Text;li.data:eq(1)&&Text;li.data:eq(2)&&Text;li.data:eq(3)&&Text","content":".content&&span&&Text","tabs":".play_source_tab","lists":".content_playlist:eq(#id) a"},
|
||||
搜索:'.container&&ul&&li;h4&&title;.lazyload&&data-original;.pic_text&&Text;a&&href',
|
||||
图片来源:'@Referer=https://api.douban.com/@User-Agent=Mozilla/5.0%20(Windows%20NT%2010.0;%20Win64;%20x64)%20AppleWebKit/537.36%20(KHTML,%20like%20Gecko)%20Chrome/113.0.0.0%20Safari/537.36',
|
||||
推荐:'*',
|
||||
一级:'.vodlist_wi&&li;.lazyload&&title;.lazyload&&data-original;.pic_text&&Text;a&&href',
|
||||
二级:{
|
||||
"title": "h2&&Text;li.data--span:eq(0)&&Text",
|
||||
"img": ".lazyload&&data-original",
|
||||
"desc": "li.data--span:eq(1)&&Text;;;li.data--span:eq(2)&&Text;li.data--span:eq(3)&&Text",
|
||||
"content": ".full_text&&span&&Text",
|
||||
"tabs": ".play_source_tab",
|
||||
"tab_text": "a--i&&Text",
|
||||
"lists": ".content_playlist:eq(#id)&&a"
|
||||
},
|
||||
搜索:'li.searchlist_item;*;*;*;*',
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user