1
This commit is contained in:
parent
348293a20c
commit
5c70986258
1
JS/js/555dy_open.js
Normal file
1
JS/js/555dy_open.js
Normal file
File diff suppressed because one or more lines are too long
@ -70,5 +70,5 @@ var rule={
|
||||
"lists": ".paly_list_btn:eq(#id) a"
|
||||
},
|
||||
搜索:'.search_list&&ul&&li;*;*;*;*',
|
||||
// 预处理:'rule_fetch_params.headers.Cookie="68148872828e9f4d64e7a296f6c6b6d7=5429da9a54375db451f7f9e4f16ce0ea;esc_search_captcha=1";let new_host="https://czspp.com";let new_html=request(new_host);if(/正在进行人机识别/.test(new_html)){let new_src=pd(new_html,"script&&src",new_host);log(new_src);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);log(value);let yz_url="https://czspp.com/a20be899_96a6_40b2_88ba_32f1f75f1552_yanzheng_ip.php?type=96c4e20a0e951f471d32dae103e83881&key="+key+"&value="+value;log(yz_url);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]:"";log("cookie:"+cookie);rule_fetch_params.headers.Cookie=cookie;setItem(RULE_CK,cookie)}',
|
||||
预处理:'rule_fetch_params.headers.Cookie="68148872828e9f4d64e7a296f6c6b6d7=5429da9a54375db451f7f9e4f16ce0ea;esc_search_captcha=1";let new_host="https://czspp.com";let new_html=request(new_host);if(/正在进行人机识别/.test(new_html)){let new_src=pd(new_html,"script&&src",new_host);log(new_src);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);log(value);let yz_url="https://czspp.com/a20be899_96a6_40b2_88ba_32f1f75f1552_yanzheng_ip.php?type=96c4e20a0e951f471d32dae103e83881&key="+key+"&value="+value;log(yz_url);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]:"";log("cookie:"+cookie);rule_fetch_params.headers.Cookie=cookie;setItem(RULE_CK,cookie)}',
|
||||
}
|
||||
|
1
JS/js/猫农民.js
Normal file
1
JS/js/猫农民.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
87
JS/js/量子资源.js
Normal file
87
JS/js/量子资源.js
Normal file
@ -0,0 +1,87 @@
|
||||
var rule = {
|
||||
title: '量子资源',
|
||||
host: 'https://cj.lzcaiji.com',
|
||||
homeUrl: '/api.php/provide/vod?ac=detail',
|
||||
searchUrl: '/api.php/provide/vod?ac=detail&wd=**&pg=fypage',
|
||||
detailUrl: '/api.php/provide/vod?ac=detail&ids=fyid', //非必填,二级详情拼接链接
|
||||
searchable: 2,
|
||||
quickSearch: 0,
|
||||
filterable: 1,
|
||||
play_parse: false,
|
||||
lazy: '',
|
||||
multi: 1,
|
||||
timeout: 5000,
|
||||
limit: 6,
|
||||
url: '/api.php/provide/vod?ac=detail&t=fyclass&pg=fypage&f=',
|
||||
class_name: '国产剧&香港剧&韩国剧&动作片&剧情片&喜剧片&爱情片&国产动漫',
|
||||
class_url: '13&14&15&6&11&7&8&29',
|
||||
推荐: 'json:list;vod_name;vod_pic;vod_remarks;vod_id', // double: true, // 推荐内容是否双层定位
|
||||
// 一级: 'json:list;vod_name;vod_pic;vod_remarks;vod_id',
|
||||
一级: `js:
|
||||
function getParam(url,name) {
|
||||
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
|
||||
var r = url.split('?')[1].match(reg); //获取url中"?"符后的字符串并正则匹配
|
||||
var context = "";
|
||||
if (r != null)
|
||||
context = decodeURIComponent(r[2]);
|
||||
reg = null;
|
||||
r = null;
|
||||
return context == null || context == "" || context == "undefined" ? "" : context;
|
||||
}
|
||||
let d = [];
|
||||
// 忽略分类
|
||||
let cate_exclude = '34,35,45';
|
||||
let type_id = getParam(input,'t');
|
||||
if(!cate_exclude.match(type_id)){
|
||||
let html = request(input);
|
||||
let list = JSON.parse(html).list;
|
||||
list.forEach(function (it){
|
||||
if(!cate_exclude.match(it.type_id)){
|
||||
d.push({
|
||||
title:it.vod_name,
|
||||
img:it.vod_pic,
|
||||
desc:it.vod_remarks,
|
||||
url:it.vod_id
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
setResult(d);
|
||||
// log(input);
|
||||
`,
|
||||
/**
|
||||
* 资源采集站,二级链接解析
|
||||
*/
|
||||
// 二级: `json:list;vod_name;vod_pic;vod_remarks;vod_id`,
|
||||
二级: `js:
|
||||
let html = request(input);
|
||||
let list = JSON.parse(html).list;
|
||||
if(list.length===1){
|
||||
VOD = list[0];
|
||||
VOD.vod_blurb = VOD.vod_blurb.replace(/ /g, '').replace(/<[^>]*>/g, '');
|
||||
VOD.vod_content = VOD.vod_content.replace(/ /g, '').replace(/<[^>]*>/g, '');
|
||||
}
|
||||
`,
|
||||
/**
|
||||
* 搜索解析 过滤部分资源
|
||||
*/
|
||||
// 搜索: 'json:list;vod_name;vod_pic;vod_remarks;vod_id',
|
||||
搜索: `js:
|
||||
let d = [];
|
||||
// 忽略分类
|
||||
let cate_exclude = '34,35,45';
|
||||
let html = request(input);
|
||||
let list = JSON.parse(html).list;
|
||||
list.forEach(function (it){
|
||||
if(!cate_exclude.match(it.type_id)){
|
||||
d.push({
|
||||
title:it.vod_name,
|
||||
img:it.vod_pic,
|
||||
desc:it.vod_remarks,
|
||||
url:it.vod_id
|
||||
});
|
||||
}
|
||||
});
|
||||
setResult(d);
|
||||
`,
|
||||
}
|
106
tvbox2.json
106
tvbox2.json
@ -289,43 +289,6 @@
|
||||
"简介": "<p>&&</p>"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "csp_XBP美剧",
|
||||
"name": "美剧┃BPQ",
|
||||
"type": 3,
|
||||
"api": "csp_XBPQ",
|
||||
"jar": "./JAR/XBPQ1.jar;md5;bb155c3f0133bbce4756ad52003f5968",
|
||||
"searchable": 1,
|
||||
"quickSearch": 1,
|
||||
"filterable": 1,
|
||||
"ext": {
|
||||
"站名": "爱美剧影视",
|
||||
"主页url": "http://172.247.44.75:8083/appto/v1/home/cateData?id=1",
|
||||
"请求头": "User-Agent$Dart/2.19 (dart:io)",
|
||||
"二次截取": "\"data\"*[&&]",
|
||||
"数组": "{&&}",
|
||||
"图片": "\"vod_pic\"*\"&&\"",
|
||||
"标题": "\"vod_name\"*\"&&\"",
|
||||
"副标题": "\"vod_remarks\"*\"&&\"",
|
||||
"链接": "http://172.247.44.75:8083/appto/v1/vod/getVod?id=+\"vod_id\":&&,+&__platform=android&__ic=fgDdxSaYjcm9bcB3EEDb6yZpi3jPJnlNesR48t8u7KR5Zg9t7oOP3OhXcUqfdcf30TDbuK9cx6wO%2BuqDzCOMWm8OU6m6jjMQd5W56peu5OtP1CfYHz5b1EdzI1HH2qobNv6dQZYtbvBK9Y%2F37El1%2Bw%3D%3D",
|
||||
"线路数组": "\"player_info\":{&&}",
|
||||
"线路标题": "\"show\"*\"&&\"",
|
||||
"导演": "vod_director\"*\"&&\"",
|
||||
"主演": "vod_actor\"*\"&&\"",
|
||||
"简介": "vod_blurb\"*\"&&\"",
|
||||
"播放二次截取": "&&[替换]",
|
||||
"播放数组": "urls*\\[&&\\]",
|
||||
"播放列表": "{&&}",
|
||||
"跳转播放链接": "\"url\"*\"&&\"",
|
||||
"播放标题": "\"name\"*\"&&\"",
|
||||
"跳转解析": "美剧线路1$https://bfq.erting.net//TX_video//gzc_1000144.php?url=#美剧线路2$https://www.erting.net//ALI_jiexi//ali_jiexi.php?url=",
|
||||
"播放链接": "解析+\"url\"*\"&&\"",
|
||||
"搜索url": "http://172.247.44.75:8083/appto/v1/vod/getVodSearch?wd={wd}&page=1&type",
|
||||
"搜索模式": "1",
|
||||
"分类url": "http://172.247.44.75:8083/appto/v1/vod/getLists?area={area}&lang={lang}&year={year}&type_id={cateId}&area=&order=time&type_name=&page={catePg}&pageSize=21;;u0",
|
||||
"分类": "短剧$41#电影$1#电视剧$2#动漫$4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "爱看",
|
||||
"name": "爱看┃BPQ",
|
||||
@ -435,30 +398,6 @@
|
||||
"分类url": "http://fagmn.com/list/{cateId}_{catePg}.html?order=time"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "mougu",
|
||||
"name": "蘑菇┃BPQ",
|
||||
"type": 3,
|
||||
"changeable": 1,
|
||||
"jar": "./JAR/XBPQ1.jar;md5;bb155c3f0133bbce4756ad52003f5968",
|
||||
"api": "csp_XBPQ",
|
||||
"playerType": "2",
|
||||
"ext": {
|
||||
"主页url": "https://www.moguys.xyz",
|
||||
"请求头": "User-Agent$Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36",
|
||||
"副标题": "pic-text text-right\">&&</b>",
|
||||
"搜索模式": "1",
|
||||
"搜索url": "https://www.moguys.xyz/vodsearch/{wd}----------1---.html",
|
||||
"图片": "data-original=\"&&\"",
|
||||
"嗅探词": ".mp4#m3u8#.m3u8#/tos/",
|
||||
"播放请求头": "User-Agent$Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36",
|
||||
"影片类型": "<div class=\"module-info-tag\">&&立即播放",
|
||||
"导演": "导演:&&</div>",
|
||||
"主演": "主演:&&</div>",
|
||||
"分类": "电影$movie#连续剧$tv#综艺$variety#动漫$cartoon",
|
||||
"分类url": "https://www.moguys.xyz/vodshow/{cateId}-{area}-------{catePg}---{year}.html"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "淘剧",
|
||||
"name": "淘剧┃BPQ",
|
||||
@ -521,14 +460,23 @@
|
||||
"ext": "./JS/js/JustLive.js"
|
||||
},
|
||||
{
|
||||
"key": "csp_SP33",
|
||||
"name": "三三┃解析",
|
||||
"key": "drpy_js_量子资源",
|
||||
"name": "量子[js]",
|
||||
"type": 3,
|
||||
"api": "csp_SP33",
|
||||
"searchable": 1,
|
||||
"quickSearch": 1,
|
||||
"filterable": 1,
|
||||
"changeable": 0
|
||||
"api": "./lib/drpy2.min.js",
|
||||
"ext": "./JS/js/量子资源.js"
|
||||
},
|
||||
{
|
||||
"key": "猫农民",
|
||||
"name": "农民┃[cat]",
|
||||
"type": 3,
|
||||
"api": "/JS/js/猫农民.js"
|
||||
},
|
||||
{
|
||||
"key": "555",
|
||||
"name": "三五┃[cat]",
|
||||
"type": 3,
|
||||
"api": "./JS/js/555dy_open.js"
|
||||
},
|
||||
{
|
||||
"key": "csp_Dm84",
|
||||
@ -625,8 +573,26 @@
|
||||
"timeout": 30,
|
||||
"jar": "https://ghproxy.net/https://github.com/gaotianliuyun/gao/blob/master/jar/1023.repl.jar;md5;bab8f39fda844e7b2a8a423010aec3dd"
|
||||
},
|
||||
//{"key":"PanSearch","name":"盘Se┃搜索","type":3,"api":"csp_PanSearch","searchable":1,"quickSearch":1,"changeable":0,"ext":"http://127.0.0.1:9978/file/tvbox/token.txt+4k|auto|fhd"},
|
||||
//{"key":"七夜","name":"七夜┃搜索","type":3,"api":"csp_Dovx","searchable":1,"quickSearch":1,"changeable":0,"ext":"http://127.0.0.1:9978/file/tvbox/token.txt+4k|auto|fhd"},
|
||||
{
|
||||
"key": "PanSearch",
|
||||
"name": "盘Se┃搜索",
|
||||
"type": 3,
|
||||
"api": "csp_PanSearch",
|
||||
"searchable": 1,
|
||||
"quickSearch": 1,
|
||||
"changeable": 0,
|
||||
"ext": "http://127.0.0.1:9978/file/tvbox/token.txt+4k|auto|fhd"
|
||||
},
|
||||
{
|
||||
"key": "七夜",
|
||||
"name": "七夜┃搜索",
|
||||
"type": 3,
|
||||
"api": "csp_Dovx",
|
||||
"searchable": 1,
|
||||
"quickSearch": 1,
|
||||
"changeable": 0,
|
||||
"ext": "http://127.0.0.1:9978/file/tvbox/token.txt+4k|auto|fhd"
|
||||
},
|
||||
{
|
||||
"key": "push_agent",
|
||||
"name": "手机┃推送",
|
||||
|
Loading…
x
Reference in New Issue
Block a user