mirror of
https://github.com/qist/tvbox.git
synced 2025-01-24 03:04:56 +08:00
更新JS
This commit is contained in:
parent
3c784b1baf
commit
7b2fa18764
@ -1,7 +1,7 @@
|
||||
var rule={
|
||||
title:'厂长资源',
|
||||
// host:'https://czspp.com',
|
||||
host:'http://czzy03.com',
|
||||
host:'https://czzy.fun',
|
||||
url:'/fyclassfyfilter',
|
||||
filterable:1,//是否启用分类筛选,
|
||||
filter_url:'{{fl.cateId}}{{fl.class}}{{fl.area}}/page/fypage',
|
||||
@ -92,4 +92,4 @@ var rule={
|
||||
},
|
||||
搜索:'.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)}',
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
var rule = {
|
||||
title:'麦豆com',
|
||||
host:'https://www.mdoutv.com',
|
||||
host:'https://www.mdoutv.net',
|
||||
url:'/movie_bt_series/fyclass/page/fypage',
|
||||
searchUrl:'/search/**/page/fypage',
|
||||
searchable:2,
|
||||
@ -14,4 +14,4 @@ class_url:'guocanju&gangtai&en&hanju&riju&taiju&tv&movie&ac&zongyi',
|
||||
一级:'.mrb&&ul&&li;img&&alt;img&&data-original;.jidi&&Text;a&&href',
|
||||
二级:{"title":"h1&&Text;.moviedteail_list&&li:eq(2)&&Text;","img":".dyxingq&&img&&src","desc":".moviedteail_list&&li:eq(3)&&Text;.moviedteail_list&&li:eq(4)&&Text","content":".yp_context&&Text","tabs":".fr&&a","lists":".paly_list_btn:eq(#id) a"},
|
||||
搜索:'.search_list&&ul&&li;h3&&Text;img&&data-original;.hdinfo&&span&&Text;a&&href',
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user