dongchenys
11 months ago
committed by
Gitee
7 changed files with 285 additions and 0 deletions
@ -0,0 +1,50 @@ |
|||
/** |
|||
* 搜索 > 图片加法验证 |
|||
* 网址导航 https://auete.site
|
|||
*/ |
|||
|
|||
var rule = { |
|||
title: 'Auete', |
|||
// host:'https://haozhansou.com',
|
|||
host: 'https://auete.site', |
|||
hostJs: 'print(HOST);let html=request(HOST,{headers:{"User-Agent":PC_UA}});let src = jsp.pdfh(html,"ul&&li&&a&&href");print(src);HOST=src',//网页域名根动态抓取js代码。通过HOST=赋值
|
|||
// url:'/fyclassfyfilter/indexfypage.html[/fyclassfyfilter/index.html]',
|
|||
url: '/fyclassfyfilter/indexfypage.html[/fyclassfyfilter/index.html]', |
|||
filterable: 1, |
|||
filter_url: '{{fl.class}}', |
|||
filter: { |
|||
"Movie":[{"key":"class","name":"剧情","value":[{"n":"全部","v":""},{"n":"喜剧片","v":"/xjp"},{"n":"动作片","v":"/dzp"},{"n":"爱情片","v":"/aqp"},{"n":"科幻片","v":"/khp"},{"n":"恐怖片","v":"/kbp"},{"n":"惊悚片","v":"/jsp"},{"n":"战争片","v":"/zzp"},{"n":"剧情片","v":"/jqp"}]}], |
|||
"Tv":[{"key":"class","name":"剧情","value":[{"n":"全部","v":""},{"n":"美剧","v":"/oumei"},{"n":"韩剧","v":"/hanju"},{"n":"日剧","v":"/riju"},{"n":"泰剧","v":"/yataiju"},{"n":"网剧","v":"/wangju"},{"n":"台剧","v":"/taiju"},{"n":"国产","v":"/neidi"},{"n":"港剧","v":"/tvbgj"},{"n":"英剧","v":"/yingju"}]}], |
|||
"Zy":[{"key":"class","name":"剧情","value":[{"n":"全部","v":""},{"n":"国综","v":"/guozong"},{"n":"韩综","v":"/hanzong"},{"n":"美综","v":"/meizong"}]}], |
|||
"Dm":[{"key":"class","name":"剧情","value":[{"n":"全部","v":""},{"n":"动画","v":"/donghua"},{"n":"日漫","v":"/riman"},{"n":"国漫","v":"/guoman"},{"n":"美漫","v":"/meiman"}]}], |
|||
"qita":[{"key":"class","name":"剧情","value":[{"n":"全部","v":""},{"n":"记录片","v":"/Jlp"},{"n":"经典片","v":"/Jdp"},{"n":"经典剧","v":"/Jdj"},{"n":"网大电影","v":"/wlp"},{"n":"国产老电影","v":"/laodianying"}]}] |
|||
}, |
|||
searchUrl: '/auete2so.php?page=fypage&searchword=**', |
|||
searchable: 2, |
|||
quickSearch: 1, |
|||
headers: { |
|||
'User-Agent': 'PC_UA', |
|||
'Cookie': 'ssea2_search=ok' |
|||
}, |
|||
class_parse: '.mr-auto li:gt(0):lt(6);a&&Text;a&&href;/(\\w+)/index.html', |
|||
play_parse: true, |
|||
lazy:'js:eval(unescape(base64Decode("anM6CgkJcGRmaCA9IGpzcC5wZGZoOyBwZGZhID0ganNwLnBkZmE7IHBkID0ganNwLnBkOwoJCWxldCBkb2N1bWVudCA9IHt9OwoJCWxldCBuYXZpZ2F0b3IgPSB7CgkJCXVzZXJBZ2VudDogTU9CSUxFX1VBLAoJCX07CgkJbGV0IGJhc2U2NGRlY29kZSA9IGJhc2U2NERlY29kZTsKCQlsZXQgcG4gPSAnJywgbm93ID0gJycsIG5leHRQYWdlID0gJycsIHByZVBhZ2UgPSAnJywgbmV4dCA9ICcnLCB2aWQgPSAnJywgdmZyb20gPSAnJywgdnBhcnQgPSAnJywgc3JjVXJsID0gJyc7CgkJZXZhbChyZXF1ZXN0KEhPU1QgKyAiL2pzL3BsYXkuanMiKSk7CgkJbGV0IGh0bWwgPSByZXF1ZXN0KGlucHV0KTsKCQlldmFsKHBkZmgoaHRtbCwgIi5tYi0yJiZzY3JpcHQmJkh0bWwiKS5yZXBsYWNlQWxsKCd2YXIgJywnJykpOwoJCWV2YWwocGRmaChodG1sLCAiLm1iLTImJnNjcmlwdCwxJiZIdG1sIikucmVwbGFjZUFsbCgndmFyICcsJycpLnNwbGl0KCJkb2N1bWVudCIpWzBdKTsKCQlsZXQgcGFyc2VIdG1sID0gcmVxdWVzdChIT1NUICsgIi9qcy9wbGF5ZXIvIiArIHBuICsgIi5odG1sIik7CgkJbGV0IHBhcmVudCA9IHsKCQkJbm93OiBub3csCgkJCW5leHRQYWdlOiBuZXh0UGFnZSwKCQkJbmV4dDogbmV4dCwKCQkJdmlkOiB2aWQsCgkJCXZmcm9tOiB2ZnJvbSwKCQkJdnBhcnQ6IHZwYXJ0LAoJCX07CgkJbGV0IHBhcmpzID0gcGRmaChwYXJzZUh0bWwsICJib2R5JiZzY3JpcHQmJkh0bWwiKTsKCQlldmFsKCJzcmNVcmwgPSAnIiArIHBkZmgocGFyanMsICJpZnJhbWUmJnNyYyIpICsgIiciKTsKCQlpZiAoc3JjVXJsLmluZGV4T2YoIj91cmw9IikgPiAtMSB8fCBzcmNVcmwuaW5kZXhPZigiP3VpZD0iKSA+IC0xKSB7CgkJCWlucHV0ID0ge2p4OjAsIHVybDpzcmNVcmwuc3BsaXQoIj0iKVsxXSwgcGFyc2U6MH0KCQl9IGVsc2UgewoJCQlsZXQgcHVybCA9IHNyY1VybC5zcGxpdCgiPSIpWzFdLnNwbGl0KCIsIilbMV07CgkJCWlucHV0ID0ge2p4OjAsIHVybDpwdXJsLCBwYXJzZTowfQoJCX0=")))', |
|||
limit: 6, |
|||
推荐: '*', |
|||
一级: '.threadlist .trans_3;.title&&Text;.lazy&&src;.hdtag&&Text;a&&href', |
|||
二级: { |
|||
"title":".cover a&&title;.message&&p:eq(2)&&Text", |
|||
"img": ".cover img&&src", |
|||
"desc":".w-100&&Text;;.message&&p:eq(4)&&Text;.message&&p:eq(5)&&Text;.message&&p:eq(6)&&Text", |
|||
"content": ".message p:eq(-1)&&Text", |
|||
"tabs": `js:
|
|||
TABS = []; |
|||
let tabs = pdfa(html, 'h2'); |
|||
tabs.forEach((it) => { |
|||
TABS.push(pdfh(it, "body&&Text").split('』')[1].split(':')[0]) |
|||
}); |
|||
`,
|
|||
"lists": "#player_list:eq(#id) li" |
|||
}, |
|||
搜索: '.card-body .media;.text-danger&&Text;;.data&&Text;a&&href', |
|||
} |
@ -0,0 +1 @@ |
|||
var rule={title:'A8音乐',host:'http://v.a8.com',url:'/category/fyclass?p=fypage',searchUrl:'/search?t=**',searchable:2,quickSearch:0,headers:{'User-Agent':'MOBILE_UA',},class_parse:'.categorys-inner li:gt(1):lt(7);a&&Text;a&&href;.*/(\\d+)',timeout:5000,limit:6,play_parse:true,lazy:'js:let html=request(input);let purl=jsp.pdfh(html,".video-js&&source&&src");input={jx:0,url:purl,parse:0}',推荐:'.v-list-body:eq(1)&&.v_item;*;*;*;*',一级:'.list-div&&.v_item;img&&alt;img&&data-original;.v-time&&Text;a&&href',二级:'*',搜索:'.v-list-body&&.v_item;*;*;*;*',} |
@ -0,0 +1,72 @@ |
|||
var rule={ |
|||
title:'厂长资源', |
|||
//host:'https://www.czzy.site',
|
|||
host:'https://www.czzy88.com', |
|||
hostJs:'print(HOST);let html=request(HOST,{headers:{"User-Agent":PC_UA}});HOST = jsp.pdfh(html,"h3&&a&&href")', |
|||
url:'/fyclassfyfilter', |
|||
filterable:1,//是否启用分类筛选,
|
|||
filter_url:'{{fl.cateId}}{{fl.class}}{{fl.area}}/page/fypage', |
|||
filter: { |
|||
"movie_bt":[ |
|||
{"key":"area","name":"分类","value":[{"v":"","n":"全部"},{"v":"/movie_bt_series/dyy","n":"电影"},{"v":"/movie_bt_series/dianshiju","n":"电视剧"},{"v":"/movie_bt_series/dohua","n":"动画"},{"v":"/movie_bt_series/guochanju","n":"国产剧"},{"v":"/movie_bt_series/mj","n":"美剧"},{"v":"/movie_bt_series/rj","n":"日剧"},{"v":"/movie_bt_series/hj","n":"韩剧"},{"v":"/movie_bt_series/hwj","n":"海外剧(其他)"},{"v":"/movie_bt_series/huayudianying","n":"华语电影"},{"v":"/movie_bt_series/meiguodianying","n":"欧美电影"},{"v":"/movie_bt_series/ribendianying","n":"日本电影"},{"v":"/movie_bt_series/hanguodianying","n":"韩国电影"},{"v":"/movie_bt_series/yingguodianying","n":"英国电影"},{"v":"/movie_bt_series/faguodianying","n":"法国电影"},{"v":"/movie_bt_series/yindudianying","n":"印度电影"},{"v":"/movie_bt_series/eluosidianying","n":"俄罗斯电影"},{"v":"/movie_bt_series/jianadadianying","n":"加拿大电影"},{"v":"/movie_bt_series/huiyuanzhuanqu","n":"会员专区"}]}, |
|||
{"key":"class","name":"类型","value":[{"n":"全部","v":""},{"n":"传记","v":"/movie_bt_tags/chuanji"},{"n":"儿童","v":"/movie_bt_tags/etet"},{"n":"冒险","v":"/movie_bt_tags/maoxian"},{"n":"剧情","v":"/movie_bt_tags/juqing"},{"n":"动作","v":"/movie_bt_tags/dozuo"},{"n":"动漫","v":"/movie_bt_tags/doman"},{"n":"动画","v":"/movie_bt_tags/dhh"},{"n":"历史","v":"/movie_bt_tags/lishi"},{"n":"古装","v":"/movie_bt_tags/guzhuang"},{"n":"同性","v":"/movie_bt_tags/tongxing"},{"n":"喜剧","v":"/movie_bt_tags/xiju"},{"n":"奇幻","v":"/movie_bt_tags/qihuan"},{"n":"家庭","v":"/movie_bt_tags/jiating"},{"n":"恐怖","v":"/movie_bt_tags/kubu"},{"n":"悬疑","v":"/movie_bt_tags/xuanyi"},{"n":"情色","v":"/movie_bt_tags/qingse"},{"n":"惊悚","v":"/movie_bt_tags/kingsong"},{"n":"战争","v":"/movie_bt_tags/zhanzhen"},{"n":"歌舞","v":"/movie_bt_tags/gw"},{"n":"武侠","v":"/movie_bt_tags/wuxia"},{"n":"灾难","v":"/movie_bt_tags/zainan"},{"n":"爱情","v":"/movie_bt_tags/aiqing"},{"n":"犯罪","v":"/movie_bt_tags/fanzui"},{"n":"短片","v":"/movie_bt_tags/dp"},{"n":"科幻","v":"/movie_bt_tags/kh"},{"n":"纪录片","v":"/movie_bt_tags/jlpp"},{"n":"西部","v":"/movie_bt_tags/xb"},{"n":"运动","v":"/movie_bt_tags/yd"},{"n":"音乐","v":"/movie_bt_tags/yy"}]} |
|||
] |
|||
}, |
|||
searchUrl:'/page/fypage?s=**', |
|||
searchable:2, |
|||
filterable:0, |
|||
headers:{ |
|||
'User-Agent': 'MOBILE_UA', |
|||
'Cookie': 'esc_search_captcha=1' |
|||
}, |
|||
class_name:'全部&豆瓣电影Top250&最新电影&热映中&电影&电视剧&动画&国产剧&日剧&韩剧&美剧&海外剧&俄罗斯电影&加拿大电影&华语电影&印度电影&日本电影&欧美电影&法国电影&英国电影&韩国电影&纪录片', |
|||
class_url:'movie_bt&dbtop250&zuixindianying&reyingzhong&/movie_bt_series/dyy&/movie_bt_series/dianshiju&/movie_bt_series/dohua&/movie_bt_series/guochanju&/movie_bt_series/rj&/movie_bt_series/hj&/movie_bt_series/mj&/movie_bt_series/hwj&/movie_bt_series/eluosidianying&/movie_bt_series/jianadadianying&/movie_bt_series/huayudianying&/movie_bt_series/yindudianying&/movie_bt_series/ribendianying&/movie_bt_series/meiguodianying&/movie_bt_series/faguodianying&/movie_bt_series/yingguodianying&/movie_bt_series/hanguodianying&movie_bt//movie_bt_tags/jlpp', |
|||
play_parse:true, |
|||
|
|||
// lazy代码:源于海阔香雅情大佬 / 小程序:香情影视 https://pastebin.com/L4tHdvFn
|
|||
lazy:`js:
|
|||
pdfh = jsp.pdfh; |
|||
var html = request(input); |
|||
var ohtml = pdfh(html, '.videoplay&&Html'); |
|||
var url = pdfh(ohtml, "body&&iframe&&src"); |
|||
if (/Cloud/.test(url)) { |
|||
var ifrwy = request(url); |
|||
let code = ifrwy.match(/var url = '(.*?)'/)[1].split('').reverse().join(''); |
|||
let temp = ''; |
|||
for (let i = 0x0; i < code.length; i = i + 0x2) { |
|||
temp += String.fromCharCode(parseInt(code[i] + code[i + 0x1], 0x10)) |
|||
} |
|||
input = { |
|||
jx: 0, |
|||
url: temp.substring(0x0, (temp.length - 0x7) / 0x2) + temp.substring((temp.length - 0x7) / 0x2 + 0x7), |
|||
parse: 0 |
|||
} |
|||
} else if (/decrypted/.test(ohtml)) { |
|||
var phtml = pdfh(ohtml, "body&&script:not([src])&&Html"); |
|||
eval(getCryptoJS()); |
|||
var scrpt = phtml.match(/var.*?\\)\\);/g)[0]; |
|||
var data = []; |
|||
eval(scrpt.replace(/md5/g, 'CryptoJS').replace('eval', 'data = ')); |
|||
input = { |
|||
jx: 0, |
|||
url: data.match(/url:.*?[\\'\\"](.*?)[\\'\\"]/)[1], |
|||
parse: 0 |
|||
} |
|||
} else { |
|||
input |
|||
} |
|||
`,
|
|||
推荐:'.bt_img;ul&&li;*;*;*;*', |
|||
double:true, |
|||
一级:'.bt_img&&ul&&li;h3.dytit&&Text;img.lazy&&data-original;.jidi&&Text;a&&href', |
|||
二级:{ |
|||
"title": "h1&&Text;.moviedteail_list li&&a&&Text", |
|||
"img": "div.dyimg img&&src", |
|||
"desc": ".moviedteail_list li:eq(3) a&&Text;.moviedteail_list li:eq(2) a&&Text;.moviedteail_list li:eq(1) a&&Text;.moviedteail_list li:eq(7)&&Text;.moviedteail_list li:eq(5)&&Text", |
|||
"content": ".yp_context&&Text", |
|||
"tabs": ".mi_paly_box span", |
|||
"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)}',
|
|||
} |
@ -0,0 +1,136 @@ |
|||
var lists = `js:
|
|||
log(TABS); |
|||
let d = []; |
|||
pdfh = jsp.pdfh; |
|||
pdfa = jsp.pdfa; |
|||
if (typeof play_url === "undefined") { |
|||
var play_url = "" |
|||
} |
|||
|
|||
function getLists(html) { |
|||
let src = pdfh(html, ".wp-playlist-script&&Html"); |
|||
src = JSON.parse(src).tracks; |
|||
let list1 = []; |
|||
let list2 = []; |
|||
let url1 = ""; |
|||
let url2 = ""; |
|||
src.forEach(function(it) { |
|||
let src0 = it.src0; |
|||
let src1 = it.src1; |
|||
let title = it.caption; |
|||
url1 = "https://v.ddys.pro" + src0; |
|||
url2 = "https://ddys.pro/getvddr2/video?id=" + src1 + "&type=mix"; |
|||
let zm = "https://ddys.pro/subddr/" + it.subsrc; |
|||
list1.push({ |
|||
title: title, |
|||
url: url1, |
|||
desc: zm |
|||
}); |
|||
list2.push({ |
|||
title: title, |
|||
url: url2, |
|||
desc: zm |
|||
}) |
|||
}); |
|||
return { |
|||
list1: list1, |
|||
list2: list2 |
|||
} |
|||
} |
|||
var data = getLists(html); |
|||
var list1 = data.list1; |
|||
var list2 = data.list2; |
|||
let nums = pdfa(html, "body&&.post-page-numbers"); |
|||
nums.forEach(function(it) { |
|||
let num = pdfh(it, "body&&Text"); |
|||
log(num); |
|||
let nurl = input + num + "/"; |
|||
if (num == 1) { |
|||
return |
|||
} |
|||
log(nurl); |
|||
let html = request(nurl); |
|||
let data = getLists(html); |
|||
list1 = list1.concat(data.list1); |
|||
list2 = list2.concat(data.list2) |
|||
}); |
|||
list1 = list1.map(function(item) { |
|||
return item.title + "$" + play_url + urlencode(item.url + "|" + input + "|" + item.desc) |
|||
}); |
|||
list2 = list2.map(function(item) { |
|||
return item.title + "$" + play_url + urlencode(item.url + "|" + input + "|" + item.desc) |
|||
}); |
|||
LISTS = [list1, list2]; |
|||
`;
|
|||
|
|||
var lazy = `js:
|
|||
let purl = input.split("|")[0]; |
|||
let referer = input.split("|")[1]; |
|||
let zm = input.split("|")[2]; |
|||
print("purl:" + purl); |
|||
print("referer:" + referer); |
|||
print("zm:" + zm); |
|||
if (/getvddr/.test(purl)) { |
|||
let html = request(purl, { |
|||
headers: { |
|||
Referer: HOST, |
|||
"User-Agent": MOBILE_UA |
|||
} |
|||
}); |
|||
print(html); |
|||
try { |
|||
input = {jx:0,url:JSON.parse(html).url,parse:0} || {} |
|||
} catch (e) { |
|||
input = purl |
|||
} |
|||
} else { |
|||
input = { |
|||
jx: 0, |
|||
url: purl, |
|||
parse: 0, |
|||
header: JSON.stringify({ |
|||
'user-agent': MOBILE_UA, |
|||
'referer': HOST |
|||
}) |
|||
} |
|||
} |
|||
`;
|
|||
|
|||
// 网址发布页 https://ddys.site
|
|||
// 网址发布页 https://ddys.wiki
|
|||
var rule={ |
|||
title:'ddys', |
|||
// host:'https://ddys.wiki',
|
|||
// hostJs:'print(HOST);let html=request(HOST,{headers:{"User-Agent":MOBILE_UA}});HOST = jsp.pdfh(html,"a:eq(1)&&href")',
|
|||
host:'https://ddys.pro', |
|||
// host:'https://ddys.mov',
|
|||
url:'/fyclass/page/fypage/', |
|||
searchUrl:'/?s=**&post_type=post', |
|||
searchable:2, |
|||
quickSearch:0, |
|||
filterable:0, |
|||
headers:{ |
|||
'User-Agent':'MOBILE_UA', |
|||
}, |
|||
class_parse:'#primary-menu li.menu-item;a&&Text;a&&href;\.pro/(.*)', |
|||
cate_exclude:'站长|^其他$|关于|^电影$|^剧集$|^类型$', |
|||
play_parse:true, |
|||
// lazy:'js:let purl=input.split("|")[0];let referer=input.split("|")[1];let zm=input.split("|")[2];print("purl:"+purl);print("referer:"+referer);print("zm:"+zm);let myua="okhttp/3.15";if(/ddrkey/.test(purl)){let ret=request(purl,{Referer:referer,withHeaders:true,"User-Agent":myua});log(ret);input=purl}else{let html=request(purl,{headers:{Referer:referer,"User-Agent":myua}});print(html);try{input=JSON.parse(html).url||{}}catch(e){input=purl}}',
|
|||
lazy:lazy, |
|||
limit:6, |
|||
推荐:'*', |
|||
double:true, // 推荐内容是否双层定位
|
|||
一级:'.post-box-list&&article;a:eq(-1)&&Text;.post-box-image&&style;a:eq(0)&&Text;a:eq(-1)&&href', |
|||
二级:{ |
|||
"title":".post-title&&Text;.cat-links&&Text", |
|||
"img":".doulist-item&&img&&data-cfsrc", |
|||
"desc":".published&&Text", |
|||
"content":".abstract&&Text", |
|||
// "tabs":"js:TABS=['国内','海外(貌似不能播放)']",
|
|||
"tabs":"js:TABS=['国内(改Exo播放器)','国内2']", |
|||
// "lists":"js:log(TABS);let d=[];pdfh=jsp.pdfh;pdfa=jsp.pdfa;if(typeof play_url===\"undefined\"){var play_url=\"\"}function getLists(html){let src=pdfh(html,\".wp-playlist-script&&Html\");src=JSON.parse(src).tracks;let list1=[];let list2=[];src.forEach(function(it){let src0=it.src0;let src1=it.src1;let src2=it.src2;let title=it.caption;let url1=\"https://ddys.tv/getvddr/video?id=\"+src1+\"&dim=1080P+&type=mix\";let url2=\"https://w.ddys.tv\"+src0+\"?ddrkey=\"+src2;let zm=\"https://ddys.tv/subddr/\"+it.subsrc;list1.push({title:title,url:url1,desc:zm});list2.push({title:title,url:url2,desc:zm})});return{list1:list1,list2:list2}}var data=getLists(html);var list1=data.list1;var list2=data.list2;let nums=pdfa(html,\"body&&.post-page-numbers\");nums.forEach(function(it){let num=pdfh(it,\"body&&Text\");log(num);let nurl=input+num+\"/\";if(num==1){return}log(nurl);let html=request(nurl);let data=getLists(html);list1=list1.concat(data.list1);list2=list2.concat(data.list2)});list1=list1.map(function(item){return item.title+\"$\"+play_url+urlencode(item.url+\"|\"+input+\"|\"+item.desc)});list2=list2.map(function(item){return item.title+\"$\"+play_url+urlencode(item.url+\"|\"+input+\"|\"+item.desc)});LISTS=[list1,list2];",
|
|||
// lists:'js:log(TABS);let d=[];pdfh=jsp.pdfh;pdfa=jsp.pdfa;if(typeof play_url==="undefined"){var play_url=""}function getLists(html){let src=pdfh(html,".wp-playlist-script&&Html");src=JSON.parse(src).tracks;let list1=[];let list2=[];src.forEach(function(it){let src0=it.src0;let src1=it.src1;let src2=it.src2;let title=it.caption;let url1="https://ddys.pro/getvddr/video?id="+src1+"&dim=1080P+&type=mix";let url2="https://w.ddys.pro"+src0+"?ddrkey="+src2;let zm="https://ddys.pro/subddr/"+it.subsrc;list1.push({title:title,url:url1,desc:zm});list2.push({title:title,url:url2,desc:zm})});return{list1:list1,list2:list2}}var data=getLists(html);var list1=data.list1;var list2=data.list2;let nums=pdfa(html,"body&&.post-page-numbers");nums.forEach(function(it){let num=pdfh(it,"body&&Text");log(num);let nurl=input+num+"/";if(num==1){return}log(nurl);let html=request(nurl);let data=getLists(html);list1=list1.concat(data.list1);list2=list2.concat(data.list2)});list1=list1.map(function(item){return item.title+"$"+play_url+urlencode(item.url+"|"+input+"|"+item.desc)});list2=list2.map(function(item){return item.title+"$"+play_url+urlencode(item.url+"|"+input+"|"+item.desc)});LISTS=[list1,list2];',
|
|||
"lists":lists |
|||
}, |
|||
搜索:'#main&&article;.post-title&&Text;;.published&&Text;a&&href' |
|||
} |
1
js/drpy.min.js
File diff suppressed because one or more lines are too long
View File
File diff suppressed because one or more lines are too long
View File
1
js/drpy2.min.js
File diff suppressed because one or more lines are too long
View File
File diff suppressed because one or more lines are too long
View File
@ -0,0 +1,24 @@ |
|||
// 搜寻验证
|
|||
var rule = { |
|||
title:'短视频', |
|||
host:'http://www.sharenice.net', |
|||
url:'/fyclass?page=fypage', |
|||
//searchUrl:'/video/search?search_key=**',
|
|||
searchable:0, |
|||
quickSearch:0, |
|||
headers:{ |
|||
'User-Agent':'PC_UA' |
|||
}, |
|||
timeout:5000, |
|||
// class_name:'抖音&快手&微视&火山&场库&体育&美拍&秒拍&全民&梨&好兔&美女&正能量&搞笑&社会&游戏&娱乐&旅游&萌系&生活&音乐&美食&明星&动漫&影视&时尚',
|
|||
class_name:'抖音&快手&微视&火山&场库&美拍&秒拍&全民&澎湃&好兔&开眼&美女&搞笑&社会&影视&音乐&娱乐&正能量&生活&动漫&体育&美食&萌系&旅游&游戏&明星&时尚', |
|||
// class_url:'douyin&kuaishou&weishi&huoshan&changku&tags/t-5L2T6IKy.html&meipai&miaopai&quanmin&lishipin&haotu&tags/t-576O5aWz.html&tags/t-5q2j6IO96YeP.html&tags/t-5pCe56yR.html&tags/t-56S+5Lya.html&tags/t-5ri45oiP.html&tags/t-5aix5LmQ.html&tags/t-5peF5ri4.html&tags/t-6JCM57O7.html&tags/t-55Sf5rS7.html&tags/t-6Z+z5LmQ.html&tags/t-576O6aOf.html&tags/t-5piO5pif.html&tags/t-5Yqo5ryr.html&tags/t-5b2x6KeG.html&tags/t-5pe25bCa.html',
|
|||
class_url:'douyin&kuaishou&weishi&huoshan&changku&meipai&miaopai&quanmin&lishipin&haotu&kaiyan&t-576O5aWz&t-5pCe56yR&t-56S+5Lya&t-5b2x6KeG&t-6Z+z5LmQ&t-5aix5LmQ&t-5q2j6IO96YeP&t-55Sf5rS7&t-5Yqo5ryr&t-5L2T6IKy&t-576O6aOf&t-6JCM57O7&t-5peF5ri4&t-5ri45oiP&t-5piO5pif&t-5pe25bCa', |
|||
play_parse:true, |
|||
lazy:'js:/kuaishou/.test(input)?input=jsp.pdfh(request("http://m.sharenice.net/mobile"+input.split("net")[1]),".video-play-box&&video&&src"):input=jsp.pdfh(request("http://m.sharenice.net/mobile"+input.split("net")[1]),".video-play-box&&video&&src")+"#.mp4"', |
|||
limit:6, |
|||
double:false, |
|||
推荐:'*', |
|||
一级:'.item-box&&ul&&li;a&&title;img&&data-original;;a&&href', |
|||
二级:'*', |
|||
} |
Loading…
Reference in new issue