Add files via upload

This commit is contained in:
alantang 2023-08-23 12:06:48 +08:00 committed by GitHub
parent bce67a0a94
commit 51fce9b5ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 720 additions and 66 deletions

View file

@ -54,6 +54,12 @@ d.forEach(function(it) {
tabse = true; tabse = true;
} }
}); });
if (tabsm === true){
TABS.push("磁力");
}
if (tabse === true){
TABS.push("電驢");
}
let tmpIndex; let tmpIndex;
tmpIndex=1; tmpIndex=1;
tabsa.forEach(function(it){ tabsa.forEach(function(it){
@ -65,12 +71,6 @@ tabsq.forEach(function(it){
TABS.push(it + tmpIndex); TABS.push(it + tmpIndex);
tmpIndex = tmpIndex + 1; tmpIndex = tmpIndex + 1;
}); });
if (tabsm === true){
TABS.push("磁力");
}
if (tabse === true){
TABS.push("電驢");
}
log('4khdr TABS >>>>>>>>>>>>>>>>>>' + TABS); log('4khdr TABS >>>>>>>>>>>>>>>>>>' + TABS);
`, `,
lists:`js: lists:`js:
@ -85,15 +85,23 @@ let liste = [];
d.forEach(function(it){ d.forEach(function(it){
let burl = pdfh(it, 'a&&href'); let burl = pdfh(it, 'a&&href');
let title = pdfh(it, 'a&&Text'); let title = pdfh(it, 'a&&Text');
log('dygang title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title); log('4khdr title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title);
log('dygang burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl); log('4khdr burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
let loopresult = title + '$' + burl; let loopresult = title + '$' + burl;
if (burl.startsWith("https://www.aliyundrive.com/s/")){ if (burl.startsWith("https://www.aliyundrive.com/s/")){
burl = "http://127.0.0.1:9978/proxy?do=ali&type=push&url=" + encodeURIComponent(burl); if (TABS.length==1){
burl = "http://127.0.0.1:9978/proxy?do=ali&type=push&confirm=0&url=" + encodeURIComponent(burl);
}else{
burl = "http://127.0.0.1:9978/proxy?do=ali&type=push&url=" + encodeURIComponent(burl);
}
loopresult = title + '$' + burl; loopresult = title + '$' + burl;
lista.push(loopresult); lista.push(loopresult);
}else if (burl.startsWith("https://pan.quark.cn/s/")){ }else if (burl.startsWith("https://pan.quark.cn/s/")){
burl = "http://127.0.0.1:9978/proxy?do=quark&type=push&url=" + encodeURIComponent(burl); if (TABS.length==1){
burl = "http://127.0.0.1:9978/proxy?do=quark&type=push&confirm=0&url=" + encodeURIComponent(burl);
}else{
burl = "http://127.0.0.1:9978/proxy?do=quark&type=push&url=" + encodeURIComponent(burl);
}
loopresult = title + '$' + burl; loopresult = title + '$' + burl;
listq.push(loopresult); listq.push(loopresult);
}else if (burl.startsWith("magnet")){ }else if (burl.startsWith("magnet")){
@ -102,22 +110,21 @@ d.forEach(function(it){
liste.push(loopresult); liste.push(loopresult);
} }
}); });
lista.forEach(function(it){
LISTS.push([it]);
});
listq.forEach(function(it){
LISTS.push([it]);
});
if (listm.length>0){ if (listm.length>0){
LISTS.push(listm); LISTS.push(listm);
} }
if (liste.length>0){ if (liste.length>0){
LISTS.push(liste); LISTS.push(liste);
} }
lista.forEach(function(it){
LISTS.push([it]);
});
listq.forEach(function(it){
LISTS.push([it]);
});
`, `,
}, },
一级:'ul#waterfall li;a&&title;img&&src;div.auth.cl&&Text;a&&href',
搜索:`js: 搜索:`js:
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd; pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
if (rule_fetch_params.headers.Cookie.startsWith("http")){ if (rule_fetch_params.headers.Cookie.startsWith("http")){

View file

@ -1,11 +1,11 @@
var rule = { var rule = {
title:'磁力熊[磁]', title:'磁力熊[磁]',
//host:'https://www.cilixiong.com', host:'https://www.cilixiong.com',
//homeUrl:'/', homeUrl:'/',
//url: '/fyclassfyfilter-(fypage-1).html', url: '/fyclassfyfilter-(fypage-1).html',
host:'http://127.0.0.1:10079', //host:'http://127.0.0.1:10079',
homeUrl:'/p/0/socks5%253A%252F%252F192.168.101.1%253A1080/https://www.cilixiong.com', //homeUrl:'/p/0/socks5%253A%252F%252F192.168.101.1%253A1080/https://www.cilixiong.com',
url:'/p/0/socks5%253A%252F%252F192.168.101.1%253A1080/https://www.cilixiong.com/fyclassfyfilter-(fypage-1).html', //url:'/p/0/socks5%253A%252F%252F192.168.101.1%253A1080/https://www.cilixiong.com/fyclassfyfilter-(fypage-1).html',
filter_url:'-{{fl.class or "0"}}-{{fl.area or "0"}}', filter_url:'-{{fl.class or "0"}}-{{fl.area or "0"}}',
filter:{ filter:{
"1":[{"key":"class","name":"类型","value":[{"n":"全部","v":"0"},{"n":"剧情","v":"1"},{"n":"喜剧","v":"2"},{"n":"惊悚","v":"3"},{"n":"动作","v":"4"},{"n":"爱情","v":"5"},{"n":"犯罪","v":"6"},{"n":"恐怖","v":"7"},{"n":"冒险","v":"8"},{"n":"悬疑","v":"9"},{"n":"科幻","v":"10"},{"n":"家庭","v":"11"},{"n":"奇幻","v":"12"},{"n":"动画","v":"13"},{"n":"战争","v":"14"},{"n":"历史","v":"15"},{"n":"传记","v":"16"},{"n":"音乐","v":"17"},{"n":"歌舞","v":"18"},{"n":"运动","v":"19"},{"n":"西部","v":"20"},{"n":"灾难","v":"21"},{"n":"古装","v":"22"},{"n":"情色","v":"23"},{"n":"同性","v":"24"},{"n":"儿童","v":"25"},{"n":"纪录片","v":"26"}]},{"key":"area","name":"地区","value":[{"n":"全部","v":"0"},{"n":"大陆","v":"1"},{"n":"香港","v":"2"},{"n":"台湾","v":"3"},{"n":"美国","v":"4"},{"n":"日本","v":"5"},{"n":"韩国","v":"6"},{"n":"英国","v":"7"},{"n":"法国","v":"8"},{"n":"德国","v":"9"},{"n":"印度","v":"10"},{"n":"泰国","v":"11"},{"n":"丹麦","v":"12"},{"n":"瑞典","v":"13"},{"n":"巴西","v":"14"},{"n":"加拿大","v":"15"},{"n":"俄罗斯","v":"16"},{"n":"意大利","v":"17"},{"n":"比利时","v":"18"},{"n":"爱尔兰","v":"19"},{"n":"西班牙","v":"20"},{"n":"澳大利亚","v":"21"},{"n":"波兰","v":"22"},{"n":"土耳其","v":"23"},{"n":"越南","v":"24"}]}], "1":[{"key":"class","name":"类型","value":[{"n":"全部","v":"0"},{"n":"剧情","v":"1"},{"n":"喜剧","v":"2"},{"n":"惊悚","v":"3"},{"n":"动作","v":"4"},{"n":"爱情","v":"5"},{"n":"犯罪","v":"6"},{"n":"恐怖","v":"7"},{"n":"冒险","v":"8"},{"n":"悬疑","v":"9"},{"n":"科幻","v":"10"},{"n":"家庭","v":"11"},{"n":"奇幻","v":"12"},{"n":"动画","v":"13"},{"n":"战争","v":"14"},{"n":"历史","v":"15"},{"n":"传记","v":"16"},{"n":"音乐","v":"17"},{"n":"歌舞","v":"18"},{"n":"运动","v":"19"},{"n":"西部","v":"20"},{"n":"灾难","v":"21"},{"n":"古装","v":"22"},{"n":"情色","v":"23"},{"n":"同性","v":"24"},{"n":"儿童","v":"25"},{"n":"纪录片","v":"26"}]},{"key":"area","name":"地区","value":[{"n":"全部","v":"0"},{"n":"大陆","v":"1"},{"n":"香港","v":"2"},{"n":"台湾","v":"3"},{"n":"美国","v":"4"},{"n":"日本","v":"5"},{"n":"韩国","v":"6"},{"n":"英国","v":"7"},{"n":"法国","v":"8"},{"n":"德国","v":"9"},{"n":"印度","v":"10"},{"n":"泰国","v":"11"},{"n":"丹麦","v":"12"},{"n":"瑞典","v":"13"},{"n":"巴西","v":"14"},{"n":"加拿大","v":"15"},{"n":"俄罗斯","v":"16"},{"n":"意大利","v":"17"},{"n":"比利时","v":"18"},{"n":"爱尔兰","v":"19"},{"n":"西班牙","v":"20"},{"n":"澳大利亚","v":"21"},{"n":"波兰","v":"22"},{"n":"土耳其","v":"23"},{"n":"越南","v":"24"}]}],

View file

@ -43,7 +43,7 @@ var rule = {
d.push({ d.push({
title: title, title: title,
desc: pdfh(it, 'table:eq(1)&&Text'), desc: pdfh(it, 'table:eq(1)&&Text'),
pic_url: pdfh(it, 'table.border1 img&&src'), pic_url: pd(it, 'table.border1 img&&src', HOST),
url: pdfh(it, 'a&&href') url: pdfh(it, 'a&&href')
}); });
} }
@ -53,8 +53,8 @@ var rule = {
二级:{ 二级:{
title:"div.title a&&Text", title:"div.title a&&Text",
img:"#dede_content img&&src", img:"#dede_content img&&src",
desc:"#dede_content p:eq(3)&&Text", desc:"#dede_content&&Text",
content:"#dede_content p:eq(2)&&Text", content:"#dede_content&&Text",
tabs:`js: tabs:`js:
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd; pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
TABS=[] TABS=[]
@ -63,6 +63,7 @@ let tabsa = [];
let tabsq = []; let tabsq = [];
let tabsm = false; let tabsm = false;
let tabse = false; let tabse = false;
let tabm3u8 = [];
d.forEach(function(it) { d.forEach(function(it) {
let burl = pdfh(it, 'a&&href'); let burl = pdfh(it, 'a&&href');
if (burl.startsWith("https://www.aliyundrive.com/s/")){ if (burl.startsWith("https://www.aliyundrive.com/s/")){
@ -75,6 +76,12 @@ d.forEach(function(it) {
tabse = true; tabse = true;
} }
}); });
if (false){
d = pdfa(html, 'div:has(>div#post_content) div.widget:has(>h3)');
d.forEach(function(it) {
tabm3u8.push(pdfh(it, 'h3&&Text'));
});
}
if (tabsm === true){ if (tabsm === true){
TABS.push("磁力"); TABS.push("磁力");
} }
@ -92,6 +99,9 @@ tabsq.forEach(function(it){
TABS.push(it + tmpIndex); TABS.push(it + tmpIndex);
tmpIndex = tmpIndex + 1; tmpIndex = tmpIndex + 1;
}); });
tabm3u8.forEach(function(it){
TABS.push(it);
});
log('dygang TABS >>>>>>>>>>>>>>>>>>' + TABS); log('dygang TABS >>>>>>>>>>>>>>>>>>' + TABS);
`, `,
lists:`js: lists:`js:
@ -103,6 +113,7 @@ let lista = [];
let listq = []; let listq = [];
let listm = []; let listm = [];
let liste = []; let liste = [];
let listm3u8 = {};
d.forEach(function(it){ d.forEach(function(it){
let burl = pdfh(it, 'a&&href'); let burl = pdfh(it, 'a&&href');
let title = pdfh(it, 'a&&Text'); let title = pdfh(it, 'a&&Text');
@ -131,6 +142,42 @@ d.forEach(function(it){
liste.push(loopresult); liste.push(loopresult);
} }
}); });
if (false){
d = pdfa(html, 'div:has(>div#post_content) div.widget:has(>h3)');
d.forEach(function(it){
let index = pdfh(it, 'h3&&Text');
let burl = pd(it, 'a&&href', HOST);
let title = pdfh(it, 'a&&Text');
log('xb6v title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title);
log('xb6v burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
let m3u8_html = request(burl);
let playerUrl = pd(m3u8_html, 'div.video&&iframe&&src', HOST);
log('xb6v playerUrl >>>>>>>>>>>>>>>>>>>>>>>>>>' + playerUrl);
if (!listm3u8.hasOwnProperty(index)){
listm3u8[index] = [];
}
let loopresult = title + '$' + ' ';
if (/(\/player\/|\/share\/)/.test(playerUrl)){
let player_html = request(playerUrl);
let m3u8Url="";
try{
m3u8Url = player_html.match(/'([^']*.m3u8)'/)[1];
}catch(e){
try{
m3u8Url = player_html.match(/"([^"]*.m3u8)"/)[1];
}catch(e){
m3u8Url = "";
}
}
if (m3u8Url !== ""){
m3u8Url = urljoin2(playerUrl, m3u8Url);
log('xb6v m3u8Url >>>>>>>>>>>>>>>>>>>>>>>>>>' + m3u8Url);
loopresult = title + '$' + m3u8Url;
}
}
listm3u8[index].push(loopresult);
});
}
if (listm.length>0){ if (listm.length>0){
LISTS.push(listm); LISTS.push(listm);
} }
@ -143,6 +190,11 @@ lista.forEach(function(it){
listq.forEach(function(it){ listq.forEach(function(it){
LISTS.push([it]); LISTS.push([it]);
}); });
for ( const key in listm3u8 ){
if (listm3u8.hasOwnProperty(key)){
LISTS.push(listm3u8[key]);
}
};
`, `,
}, },

View file

@ -1,11 +1,11 @@
var rule = { var rule = {
title:'极影网[磁]', title:'极影网[磁]',
//host:'https://www.jiyingw.net', host:'https://www.jiyingw.vip',
//homeUrl:'/', homeUrl:'/',
//url: '/fyclass/page/fypage?', url: '/fyclass/page/fypage?',
host:'http://127.0.0.1:10079', //host:'http://127.0.0.1:10079',
homeUrl:'/p/0/socks5%253A%252F%252F192.168.101.1%253A1080/https://www.jiyingw.net', //homeUrl:'/p/0/socks5%253A%252F%252F192.168.101.1%253A1080/https://www.jiyingw.vip',
url: '/p/0/socks5%253A%252F%252F192.168.101.1%253A1080/https://www.jiyingw.net/fyclass/page/fypage?', //url: '/p/0/socks5%253A%252F%252F192.168.101.1%253A1080/https://www.jiyingw.vip/fyclass/page/fypage?',
filter_url:'{{fl.class}}', filter_url:'{{fl.class}}',
filter:{ filter:{
"movie":[{"key":"class","name":"标签","value":[{"n":"全部","v":"movie"},{"n":"4k","v":"tag/4k"}, {"n":"人性","v":"tag/人性"}, {"n":"传记","v":"tag/chuanji"}, {"n":"儿童","v":"tag/儿童"}, {"n":"冒险","v":"tag/adventure"}, {"n":"剧情","v":"tag/剧情"}, {"n":"加拿大","v":"tag/加拿大"}, {"n":"动作","v":"tag/dongzuo"}, {"n":"动漫","v":"tag/动漫"}, {"n":"励志","v":"tag/励志"}, {"n":"历史","v":"tag/history"}, {"n":"古装","v":"tag/古装"}, {"n":"同性","v":"tag/gay"}, {"n":"喜剧","v":"tag/comedy"}, {"n":"国剧","v":"tag/国剧"}, {"n":"奇幻","v":"tag/qihuan"}, {"n":"女性","v":"tag/女性"}, {"n":"家庭","v":"tag/family"}, {"n":"德国","v":"tag/德国"}, {"n":"恐怖","v":"tag/kongbu"}, {"n":"悬疑","v":"tag/xuanyi"}, {"n":"惊悚","v":"tag/jingsong"}, {"n":"意大利","v":"tag/意大利"}, {"n":"战争","v":"tag/zhanzheng"}, {"n":"战斗","v":"tag/战斗"}, {"n":"搞笑","v":"tag/搞笑"}, {"n":"故事","v":"tag/故事"}, {"n":"文艺","v":"tag/文艺"}, {"n":"日常","v":"tag/日常"}, {"n":"日本","v":"tag/日本"}, {"n":"日语","v":"tag/日语"}, {"n":"校园","v":"tag/校园"}, {"n":"武侠","v":"tag/wuxia"}, {"n":"法国","v":"tag/法国"}, {"n":"游戏","v":"tag/游戏"}, {"n":"灾难","v":"tag/zainan"}, {"n":"爱情","v":"tag/爱情"}, {"n":"犯罪","v":"tag/crime"}, {"n":"真人秀","v":"tag/zhenrenxiu"}, {"n":"短片","v":"tag/duanpian"}, {"n":"科幻","v":"tag/kehuan"}, {"n":"纪录","v":"tag/jilu"}, {"n":"美剧","v":"tag/meiju"}, {"n":"舞台","v":"tag/stage"}, {"n":"西部","v":"tag/xibu"}, {"n":"运动","v":"tag/yundong"}, {"n":"韩剧","v":"tag/韩剧"}, {"n":"韩国","v":"tag/韩国"}, {"n":"音乐","v":"tag/yinyue"}, {"n":"高清电影","v":"tag/高清电影"}]}] "movie":[{"key":"class","name":"标签","value":[{"n":"全部","v":"movie"},{"n":"4k","v":"tag/4k"}, {"n":"人性","v":"tag/人性"}, {"n":"传记","v":"tag/chuanji"}, {"n":"儿童","v":"tag/儿童"}, {"n":"冒险","v":"tag/adventure"}, {"n":"剧情","v":"tag/剧情"}, {"n":"加拿大","v":"tag/加拿大"}, {"n":"动作","v":"tag/dongzuo"}, {"n":"动漫","v":"tag/动漫"}, {"n":"励志","v":"tag/励志"}, {"n":"历史","v":"tag/history"}, {"n":"古装","v":"tag/古装"}, {"n":"同性","v":"tag/gay"}, {"n":"喜剧","v":"tag/comedy"}, {"n":"国剧","v":"tag/国剧"}, {"n":"奇幻","v":"tag/qihuan"}, {"n":"女性","v":"tag/女性"}, {"n":"家庭","v":"tag/family"}, {"n":"德国","v":"tag/德国"}, {"n":"恐怖","v":"tag/kongbu"}, {"n":"悬疑","v":"tag/xuanyi"}, {"n":"惊悚","v":"tag/jingsong"}, {"n":"意大利","v":"tag/意大利"}, {"n":"战争","v":"tag/zhanzheng"}, {"n":"战斗","v":"tag/战斗"}, {"n":"搞笑","v":"tag/搞笑"}, {"n":"故事","v":"tag/故事"}, {"n":"文艺","v":"tag/文艺"}, {"n":"日常","v":"tag/日常"}, {"n":"日本","v":"tag/日本"}, {"n":"日语","v":"tag/日语"}, {"n":"校园","v":"tag/校园"}, {"n":"武侠","v":"tag/wuxia"}, {"n":"法国","v":"tag/法国"}, {"n":"游戏","v":"tag/游戏"}, {"n":"灾难","v":"tag/zainan"}, {"n":"爱情","v":"tag/爱情"}, {"n":"犯罪","v":"tag/crime"}, {"n":"真人秀","v":"tag/zhenrenxiu"}, {"n":"短片","v":"tag/duanpian"}, {"n":"科幻","v":"tag/kehuan"}, {"n":"纪录","v":"tag/jilu"}, {"n":"美剧","v":"tag/meiju"}, {"n":"舞台","v":"tag/stage"}, {"n":"西部","v":"tag/xibu"}, {"n":"运动","v":"tag/yundong"}, {"n":"韩剧","v":"tag/韩剧"}, {"n":"韩国","v":"tag/韩国"}, {"n":"音乐","v":"tag/yinyue"}, {"n":"高清电影","v":"tag/高清电影"}]}]
@ -16,7 +16,7 @@ var rule = {
filterable:1, filterable:1,
headers:{ headers:{
'User-Agent': 'PC_UA', 'User-Agent': 'PC_UA',
'Referer': 'https://www.jiyingw.net/' 'Referer': 'https://www.jiyingw.vip/'
}, },
timeout:5000, timeout:5000,
class_name:'电影&电视剧&动漫&综艺&影评', class_name:'电影&电视剧&动漫&综艺&影评',
@ -37,7 +37,7 @@ var rule = {
title:"h1&&Text", title:"h1&&Text",
img:"#post_content img&&src", img:"#post_content img&&src",
desc:"#post_content&&Text", desc:"#post_content&&Text",
content:".movie-introduce&&Text", content:"#post_content&&Text",
tabs:`js: tabs:`js:
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd; pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
TABS=[] TABS=[]
@ -45,7 +45,7 @@ let tabsa = [];
let tabsq = []; let tabsq = [];
let tabsm = false; let tabsm = false;
let tabse = false; let tabse = false;
let d = pdfa(html, '.movie-introduce p a'); let d = pdfa(html, '#post_content p a');
d.forEach(function(it) { d.forEach(function(it) {
let burl = pdfh(it, 'a&&href'); let burl = pdfh(it, 'a&&href');
if (burl.startsWith("https://www.aliyundrive.com/s/")){ if (burl.startsWith("https://www.aliyundrive.com/s/")){
@ -71,6 +71,12 @@ d.forEach(function(it) {
tabse = true; tabse = true;
} }
}); });
if (tabsm === true){
TABS.push("磁力");
}
if (tabse === true){
TABS.push("電驢");
}
let tmpIndex; let tmpIndex;
tmpIndex=1; tmpIndex=1;
tabsa.forEach(function(it){ tabsa.forEach(function(it){
@ -82,12 +88,6 @@ tabsq.forEach(function(it){
TABS.push(it + tmpIndex); TABS.push(it + tmpIndex);
tmpIndex = tmpIndex + 1; tmpIndex = tmpIndex + 1;
}); });
if (tabsm === true){
TABS.push("磁力");
}
if (tabse === true){
TABS.push("電驢");
}
log('jiyingw TABS >>>>>>>>>>>>>>>>>>' + TABS); log('jiyingw TABS >>>>>>>>>>>>>>>>>>' + TABS);
`, `,
lists:`js: lists:`js:
@ -98,7 +98,7 @@ let lista = [];
let listq = []; let listq = [];
let listm = []; let listm = [];
let liste = []; let liste = [];
let d = pdfa(html, '.movie-introduce p'); let d = pdfa(html, '#post_content p a');
d.forEach(function(it){ d.forEach(function(it){
let burl = pdfh(it, 'a&&href'); let burl = pdfh(it, 'a&&href');
let title = pdfh(it, 'a&&Text'); let title = pdfh(it, 'a&&Text');
@ -106,11 +106,19 @@ d.forEach(function(it){
log('dygang burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl); log('dygang burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
let loopresult = title + '$' + burl; let loopresult = title + '$' + burl;
if (burl.startsWith("https://www.aliyundrive.com/s/")){ if (burl.startsWith("https://www.aliyundrive.com/s/")){
burl = "http://127.0.0.1:9978/proxy?do=ali&type=push&url=" + encodeURIComponent(burl); if (TABS.length==1){
burl = "http://127.0.0.1:9978/proxy?do=ali&type=push&confirm=0&url=" + encodeURIComponent(burl);
}else{
burl = "http://127.0.0.1:9978/proxy?do=ali&type=push&url=" + encodeURIComponent(burl);
}
loopresult = title + '$' + burl; loopresult = title + '$' + burl;
lista.push(loopresult); lista.push(loopresult);
}else if (burl.startsWith("https://pan.quark.cn/s/")){ }else if (burl.startsWith("https://pan.quark.cn/s/")){
burl = "http://127.0.0.1:9978/proxy?do=quark&type=push&url=" + encodeURIComponent(burl); if (TABS.length==1){
burl = "http://127.0.0.1:9978/proxy?do=quark&type=push&confirm=0&url=" + encodeURIComponent(burl);
}else{
burl = "http://127.0.0.1:9978/proxy?do=quark&type=push&url=" + encodeURIComponent(burl);
}
loopresult = title + '$' + burl; loopresult = title + '$' + burl;
listq.push(loopresult); listq.push(loopresult);
}else if (burl.startsWith("magnet")){ }else if (burl.startsWith("magnet")){
@ -127,11 +135,19 @@ d.forEach(function(it){
log('dygang burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl); log('dygang burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
let loopresult = title + '$' + burl; let loopresult = title + '$' + burl;
if (burl.startsWith("https://www.aliyundrive.com/s/")){ if (burl.startsWith("https://www.aliyundrive.com/s/")){
burl = "http://127.0.0.1:9978/proxy?do=ali&type=push&url=" + encodeURIComponent(burl); if (TABS.length==1){
burl = "http://127.0.0.1:9978/proxy?do=ali&type=push&confirm=0&url=" + encodeURIComponent(burl);
}else{
burl = "http://127.0.0.1:9978/proxy?do=ali&type=push&url=" + encodeURIComponent(burl);
}
loopresult = title + '$' + burl; loopresult = title + '$' + burl;
lista.push(loopresult); lista.push(loopresult);
}else if (burl.startsWith("https://pan.quark.cn/s/")){ }else if (burl.startsWith("https://pan.quark.cn/s/")){
burl = "http://127.0.0.1:9978/proxy?do=quark&type=push&url=" + encodeURIComponent(burl); if (TABS.length==1){
burl = "http://127.0.0.1:9978/proxy?do=quark&type=push&confirm=0&url=" + encodeURIComponent(burl);
}else{
burl = "http://127.0.0.1:9978/proxy?do=quark&type=push&url=" + encodeURIComponent(burl);
}
loopresult = title + '$' + burl; loopresult = title + '$' + burl;
listq.push(loopresult); listq.push(loopresult);
}else if (burl.startsWith("magnet")){ }else if (burl.startsWith("magnet")){
@ -140,18 +156,18 @@ d.forEach(function(it){
liste.push(loopresult); liste.push(loopresult);
} }
}); });
lista.forEach(function(it){
LISTS.push([it]);
});
listq.forEach(function(it){
LISTS.push([it]);
});
if (listm.length>0){ if (listm.length>0){
LISTS.push(listm); LISTS.push(listm);
} }
if (liste.length>0){ if (liste.length>0){
LISTS.push(liste); LISTS.push(liste);
} }
lista.forEach(function(it){
LISTS.push([it]);
});
listq.forEach(function(it){
LISTS.push([it]);
});
`, `,
}, },

306
js/meijumi.js Normal file
View file

@ -0,0 +1,306 @@
var rule = {
title:'美剧迷[磁]',
host:'https://www.meijumi.xyz',
homeUrl:'/',
url: '/fyclass/page/fypage/?',
filter_url:'{{fl.class}}',
filter:{
},
searchUrl: '/?s=**',
searchable:2,
quickSearch:0,
filterable:0,
headers:{
'User-Agent': 'PC_UA',
'Referer': 'https://www.meijumi.xyz/'
},
timeout:5000,
class_name:'最近更新&美剧&灵异/惊悚&魔幻/科幻&罪案/动作谍战&剧情/历史&喜剧&律政/医务&动漫/动画&纪录片&综艺/真人秀&英剧&韩剧',
class_url:'news&usa&usa/xuanyi&usa/mohuan&usa/zuian&usa/qinggan&usa/xiju&usa/yiwu&usa/katong&usa/jilu&usa/zongyi&en&hanju',
play_parse:true,
play_json:[{
re:'*',
json:{
parse:0,
jx:0
}
}],
lazy:'',
limit:6,
推荐:'',
推荐:`js:
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
let d = [];
let html = request(input);
let items;
items = pdfa(html, 'main#main div.hd ul li:has(>a>img)');
items.forEach(it => {
d.push({
title: pdfh(it, 'li&&Text'),
desc: '',
pic_url: pd(it, 'img&&src', HOST),
url: pdfh(it, 'a&&href')
});
});
items = pdfa(html, 'main#main div.hd div.huandeng span:has(>a>img)');
if (typeof items !== "undefined") {
items.forEach(it => {
d.push({
title: pdfh(it, 'span&&Text'),
desc: '',
pic_url: pd(it, 'img&&src', HOST),
url: pdfh(it, 'a&&href')
});
});
}
items = pdfa(html, 'main#main div#pingbi_gg div:has(>div>a>img)');
if (typeof items !== "undefined") {
items.forEach(it => {
d.push({
title: pdfh(it, 'a&&title'),
desc: pdfh(it, 'div&&span b&&Text'),
pic_url: pd(it, 'img&&src', HOST),
url: pdfh(it, 'a&&href')
});
});
}
items = pdfa(html, 'main#main div#pingbi_gg div:has(>header>div>a)');
if (typeof items !== "undefined") {
items.forEach(it => {
d.push({
title: pdfh(it, 'header a&&Text'),
desc: pdfh(it, 'header&&div span&&Text'),
pic_url: pd(it, 'figure img&&src', HOST),
url: pdfh(it, 'header a&&href')
});
});
}
setResult(d);
`,
一级:'',
一级:`js:
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
let d = [];
if (MY_CATE !== "news" ){
let html = request(input);
let list = pdfa(html, 'div#post_list_box article');
list.forEach(it => {
d.push({
title: pdfh(it, 'header a&&Text'),
desc: pdfh(it, 'div.entry-content span:eq(1)&&Text'),
pic_url: pd(it, 'figure img&&src', HOST),
url: pdfh(it, 'header a&&href')
});
})
}else{
input = rule.homeUrl + MY_CATE + '/';
let html = request(input);
let list = pdfa(html, 'article ol&&li');
list.forEach(it => {
d.push({
title: pdfh(it, 'a&&Text'),
desc: pdfh(it, 'li&&span:eq(3)&&Text') + ' / 更新' + pdfh(it, 'li&&span:eq(1)&&Text'),
pic_url: '',
url: pdfh(it, 'a&&href')
});
})
}
setResult(d);
`,
二级:{
title:"article&&header&&h1&&Text",
img:"article div.single-content img&&src",
desc:"article div.single-content blockquote&&Text",
content:"article div.single-content table&&Text",
tabs:`js:
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
TABS=[]
let playGroups = [];
let d = pdfa(html, 'article div.single-content&&p:has(>a)');
d.forEach(function(it) {
let playObj = {"ali":{},"quark":{},"magnet":{}};
let playUrls = pdfa(it, 'a');
let title="";
playUrls.forEach(function(playUrl) {
let purl = pdfh(playUrl, 'a&&href');
if (true || title === ""){
title = pdfh(playUrl, 'a&&Text');
}
if (purl.startsWith("magnet")){
let magfn = title;
try {
magfn = purl.match(/(^|&)dn=([^&]*)(&|$)/)[2];
}catch(e){
magfn = title;
}
let resolution = "unknown";
try {
resolution = magfn.match(/(1080|720|2160|4k|4K)/)[1];
}catch(e){
resolution = "unknown";
}
magfn = resolution + "." + magfn;
log("tabs magnet filename>>>>>>>>>>>" + magfn);
playObj["magnet"][purl]=magfn;
}else if (purl.startsWith("https://www.aliyundrive.com/s/")){
playObj["ali"][purl]=title;
}else if (purl.startsWith("https://pan.quark.cn/s/")){
playObj["quark"][purl]=title;
}
});
playGroups.push(playObj);
});
LISTS.push(playGroups);
let groupIndex = 1;
playGroups.forEach(function (it) {
let magCount = Object.keys(it["magnet"]).length;
let aliCount = Object.keys(it["ali"]).length;
let quarkCount = Object.keys(it["quark"]).length;
if (magCount==0 && aliCount!==1 && quarkCount!==1 ){
}else{
if (magCount>0){
TABS.push("磁力" + groupIndex);
}
if (aliCount === 1){
TABS.push("阿里雲盤" + groupIndex);
}
if (quarkCount === 1){
TABS.push("夸克雲盤" + groupIndex);
}
groupIndex = groupIndex + 1;
}
});
log('meijumi TABS >>>>>>>>>>>>>>>>>>' + TABS);
`,
lists:`js:
log(TABS);
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
let playGroups = [];
if (false && LISTS.length>0 && typeof LISTS[0] === "object"){
playGroups = LISTS.shift();
}else{
let d = pdfa(html, 'article div.single-content&&p:has(>a)');
d.forEach(function(it) {
let playObj = {"ali":{},"quark":{},"magnet":{}};
let playUrls = pdfa(it, 'a');
let title="";
playUrls.forEach(function(playUrl) {
let purl = pdfh(playUrl, 'a&&href');
if (true || title === ""){
title = pdfh(playUrl, 'a&&Text');
}
if (purl.startsWith("magnet")){
let magfn = title;
try {
magfn = purl.match(/(^|&)dn=([^&]*)(&|$)/)[2];
}catch(e){
magfn = title;
}
let resolution = "unknown";
try {
resolution = magfn.match(/(1080|720|2160|4k|4K)/)[1];
}catch(e){
resolution = "unknown";
}
magfn = resolution + "." + magfn;
log("tabs magnet filename>>>>>>>>>>>" + magfn);
playObj["magnet"][purl]=magfn;
}else if (purl.startsWith("https://www.aliyundrive.com/s/")){
playObj["ali"][purl]=title;
}else if (purl.startsWith("https://pan.quark.cn/s/")){
playObj["quark"][purl]=title;
}
});
playGroups.push(playObj);
});
}
LISTS = [];
playGroups.forEach(function(it){
if (Object.keys(it["magnet"]).length>0){
let d = [];
for(const key in it["magnet"]){
if (it["magnet"].hasOwnProperty(key)){
let title = it["magnet"][key];
let burl = key;
log('meijumi magnet title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title);
log('meijumi magnet burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
d.push(title + '$' + burl);
}
}
d.sort();
let newd = [];
d.forEach(it=>{
newd.push(it.substring(it.indexOf(".")+1));
});
LISTS.push(newd);
}
if (Object.keys(it["ali"]).length==1){
let d = [];
for(const key in it["ali"]){
if (it["ali"].hasOwnProperty(key)){
let title = it["ali"][key];
let burl = "http://127.0.0.1:9978/proxy?do=ali&type=push&url=" + encodeURIComponent(key);
log('meijumi ali title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title);
log('meijumi ali burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
d.push(title + '$' + burl);
}
}
LISTS.push(d);
}
if (Object.keys(it["quark"]).length==1){
let d = [];
for(const key in it["quark"]){
if (it["quark"].hasOwnProperty(key)){
let title = it["quark"][key];
let burl = "http://127.0.0.1:9978/proxy?do=quark&type=push&url=" + encodeURIComponent(key);
log('meijumi quark title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title);
log('meijumi quark burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
d.push(title + '$' + burl);
}
}
LISTS.push(d);
}
});
`,
},
搜索:`js:
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
let params = 'show=title&tempid=1&tbname=article&mid=1&dopost=search&submit=&keyboard=' + encodeURIComponent(KEY);
let _fetch_params = JSON.parse(JSON.stringify(rule_fetch_params));
let postData = {
method: "POST",
body: params
};
delete(_fetch_params.headers['Content-Type']);
Object.assign(_fetch_params, postData);
log("meijumi search postData>>>>>>>>>>>>>>>" + JSON.stringify(_fetch_params));
let search_html = request( HOST + '/e/search/index.php', _fetch_params, true);
log("meijumi search result>>>>>>>>>>>>>>>" + search_html);
let d=[];
let dlist = pdfa(search_html, 'div.mainleft&&ul#post_container&&li');
dlist.forEach(function(it){
let title = pdfh(it, 'div.thumbnail img&&alt');
if (searchObj.quick === true){
if (title.includes(KEY)){
title = KEY;
}
}
let img = pd(it, 'div.thumbnail img&&src', HOST);
let content = pdfh(it, 'div.article div.entry_post&&Text');
let desc = pdfh(it, 'div.info&&span.info_date&&Text');
let url = pd(it, 'div.thumbnail&&a&&href', HOST);
d.push({
title:title,
img:img,
content:content,
desc:desc,
url:url
});
});
setResult(d);
`,
}

View file

@ -54,6 +54,12 @@ d.forEach(function(it) {
tabse = true; tabse = true;
} }
}); });
if (tabsm === true){
TABS.push("磁力");
}
if (tabse === true){
TABS.push("電驢");
}
let tmpIndex; let tmpIndex;
tmpIndex=1; tmpIndex=1;
tabsa.forEach(function(it){ tabsa.forEach(function(it){
@ -65,12 +71,6 @@ tabsq.forEach(function(it){
TABS.push(it + tmpIndex); TABS.push(it + tmpIndex);
tmpIndex = tmpIndex + 1; tmpIndex = tmpIndex + 1;
}); });
if (tabsm === true){
TABS.push("磁力");
}
if (tabse === true){
TABS.push("電驢");
}
log('mp4us TABS >>>>>>>>>>>>>>>>>>' + TABS); log('mp4us TABS >>>>>>>>>>>>>>>>>>' + TABS);
`, `,
lists:`js: lists:`js:
@ -89,11 +89,19 @@ d.forEach(function(it){
log('dygang burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl); log('dygang burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
let loopresult = title + '$' + burl; let loopresult = title + '$' + burl;
if (burl.startsWith("https://www.aliyundrive.com/s/")){ if (burl.startsWith("https://www.aliyundrive.com/s/")){
burl = "http://127.0.0.1:9978/proxy?do=ali&type=push&url=" + encodeURIComponent(burl); if (TABS.length==1){
burl = "http://127.0.0.1:9978/proxy?do=ali&type=push&confirm=0&url=" + encodeURIComponent(burl);
}else{
burl = "http://127.0.0.1:9978/proxy?do=ali&type=push&url=" + encodeURIComponent(burl);
}
loopresult = title + '$' + burl; loopresult = title + '$' + burl;
lista.push(loopresult); lista.push(loopresult);
}else if (burl.startsWith("https://pan.quark.cn/s/")){ }else if (burl.startsWith("https://pan.quark.cn/s/")){
burl = "http://127.0.0.1:9978/proxy?do=quark&type=push&url=" + encodeURIComponent(burl); if (TABS.length==1){
burl = "http://127.0.0.1:9978/proxy?do=quark&type=push&confirm=0&url=" + encodeURIComponent(burl);
}else{
burl = "http://127.0.0.1:9978/proxy?do=quark&type=push&url=" + encodeURIComponent(burl);
}
loopresult = title + '$' + burl; loopresult = title + '$' + burl;
listq.push(loopresult); listq.push(loopresult);
}else if (burl.startsWith("magnet")){ }else if (burl.startsWith("magnet")){
@ -102,18 +110,18 @@ d.forEach(function(it){
liste.push(loopresult); liste.push(loopresult);
} }
}); });
lista.forEach(function(it){
LISTS.push([it]);
});
listq.forEach(function(it){
LISTS.push([it]);
});
if (listm.length>0){ if (listm.length>0){
LISTS.push(listm.reverse()); LISTS.push(listm.reverse());
} }
if (liste.length>0){ if (liste.length>0){
LISTS.push(liste.reverse()); LISTS.push(liste.reverse());
} }
lista.forEach(function(it){
LISTS.push([it]);
});
listq.forEach(function(it){
LISTS.push([it]);
});
`, `,
}, },

265
js/xb6v.js Normal file
View file

@ -0,0 +1,265 @@
var rule = {
title:'新版6V[磁]',
host:'http://www.xb6v.com',
homeUrl:'/',
url: '/fyclass/index_fypage.html?',
filter_url:'{{fl.class}}',
filter:{
},
searchUrl: '/e/search/index.php#tempid=1&tbname=article&mid=1&dopost=search&submit=&keyborad=**;post',
searchable:2,
quickSearch:0,
filterable:0,
headers:{
'User-Agent': 'PC_UA',
'Referer': 'http://www.xb6v.com/'
},
timeout:5000,
class_name:'最新50部&喜剧片&动作片&爱情片&科幻片&恐怖片&剧情片&战争片&纪录片&动画片&电视剧&综艺',
class_url:'qian50m.html&xijupian&dongzuopian&aiqingpian&kehuanpian&kongbupian&juqingpian&zhanzhengpian&jilupian&donghuapian&dianshiju&ZongYi',
play_parse:true,
play_json:[{
re:'*',
json:{
parse:0,
jx:0
}
}],
lazy:'',
limit:6,
推荐:'',
推荐:`js:
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
let d = [];
let html = request(input);
let list = pdfa(html, 'div.mainleft ul#post_container li');
list.forEach(it => {
d.push({
title: pdfh(it, 'div.thumbnail img&&alt'),
desc: pdfh(it, 'div.info&&span.info_date&&Text') + ' / ' + pdfh(it, 'div.info&&span.info_category&&Text'),
pic_url: pd(it, 'div.thumbnail img&&src', HOST),
url: pdfh(it, 'div.thumbnail&&a&&href')
});
});
setResult(d);
`,
一级:'',
一级:`js:
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
let d = [];
if (MY_CATE !== 'qian50m.html') {
let turl = (MY_PAGE === 1)? '/' : '/index_'+ MY_PAGE + '.html';
input = rule.homeUrl + MY_CATE + turl;
let html = request(input);
let list = pdfa(html, 'div.mainleft ul#post_container li');
list.forEach(it => {
d.push({
title: pdfh(it, 'div.thumbnail img&&alt'),
desc: pdfh(it, 'div.info&&span.info_date&&Text') + ' / ' + pdfh(it, 'div.info&&span.info_category&&Text'),
pic_url: pd(it, 'div.thumbnail img&&src', HOST),
url: pdfh(it, 'div.thumbnail&&a&&href')
});
})
}else{
input = rule.homeUrl + MY_CATE;
let html = request(input);
let list = pdfa(html, 'div.container div#tab-content&&ul&&li');
list.forEach(it => {
let title = pdfh(it, 'a&&Text');
if (title!==""){
d.push({
title: title,
desc: pdfh(it, 'a&&Text'),
pic_url: '',
url: pdfh(it, 'a&&href')
});
}
})
}
setResult(d);
`,
二级:{
title:"div.article_container h1&&Text",
img:"div#post_content img&&src",
desc:"div#post_content&&Text",
content:"div#post_content&&Text",
tabs:`js:
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
TABS=[]
let d = pdfa(html, 'div#post_content table tbody tr a');
let tabsa = [];
let tabsq = [];
let tabsm = false;
let tabse = false;
let tabm3u8 = [];
d.forEach(function(it) {
let burl = pdfh(it, 'a&&href');
if (burl.startsWith("https://www.aliyundrive.com/s/")){
tabsa.push("阿里云盤");
}else if (burl.startsWith("https://pan.quark.cn/s/")){
tabsq.push("夸克云盤");
}else if (burl.startsWith("magnet")){
tabsm = true;
}else if (burl.startsWith("ed2k")){
tabse = true;
}
});
if (false){
d = pdfa(html, 'div:has(>div#post_content) div.widget:has(>h3)');
d.forEach(function(it) {
tabm3u8.push(pdfh(it, 'h3&&Text'));
});
}
if (tabsm === true){
TABS.push("磁力");
}
if (tabse === true){
TABS.push("電驢");
}
let tmpIndex;
tmpIndex=1;
tabsa.forEach(function(it){
TABS.push(it + tmpIndex);
tmpIndex = tmpIndex + 1;
});
tmpIndex=1;
tabsq.forEach(function(it){
TABS.push(it + tmpIndex);
tmpIndex = tmpIndex + 1;
});
tabm3u8.forEach(function(it){
TABS.push(it);
});
log('xb6v TABS >>>>>>>>>>>>>>>>>>' + TABS);
`,
lists:`js:
log(TABS);
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
LISTS = [];
let d = pdfa(html, 'div#post_content table tbody tr a');
let lista = [];
let listq = [];
let listm = [];
let liste = [];
let listm3u8 = {};
d.forEach(function(it){
let burl = pdfh(it, 'a&&href');
let title = pdfh(it, 'a&&Text');
log('xb6v title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title);
log('xb6v burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
let loopresult = title + '$' + burl;
if (burl.startsWith("https://www.aliyundrive.com/s/")){
if (TABS.length==1){
burl = "http://127.0.0.1:9978/proxy?do=ali&type=push&confirm=0&url=" + encodeURIComponent(burl);
}else{
burl = "http://127.0.0.1:9978/proxy?do=ali&type=push&url=" + encodeURIComponent(burl);
}
loopresult = title + '$' + burl;
lista.push(loopresult);
}else if (burl.startsWith("https://pan.quark.cn/s/")){
if (TABS.length==1){
burl = "http://127.0.0.1:9978/proxy?do=quark&type=push&confirm=0&url=" + encodeURIComponent(burl);
}else{
burl = "http://127.0.0.1:9978/proxy?do=quark&type=push&url=" + encodeURIComponent(burl);
}
loopresult = title + '$' + burl;
listq.push(loopresult);
}else if (burl.startsWith("magnet")){
listm.push(loopresult);
}else if (burl.startsWith("ed2k")){
liste.push(loopresult);
}
});
if (false){
d = pdfa(html, 'div:has(>div#post_content) div.widget:has(>h3)');
d.forEach(function(it){
let index = pdfh(it, 'h3&&Text');
let burl = pd(it, 'a&&href', HOST);
let title = pdfh(it, 'a&&Text');
log('xb6v title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title);
log('xb6v burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
let m3u8_html = request(burl);
let playerUrl = pd(m3u8_html, 'div.video&&iframe&&src', HOST);
log('xb6v playerUrl >>>>>>>>>>>>>>>>>>>>>>>>>>' + playerUrl);
if (!listm3u8.hasOwnProperty(index)){
listm3u8[index] = [];
}
let loopresult = title + '$' + ' ';
if (/(\\/player\\/|\\/share\\/)/.test(playerUrl)){
let player_html = request(playerUrl);
let m3u8Url="";
try{
m3u8Url = player_html.match(/'([^']*.m3u8)'/)[1];
}catch(e){
try{
m3u8Url = player_html.match(/"([^"]*.m3u8)"/)[1];
}catch(e){
m3u8Url = "";
}
}
if (m3u8Url !== ""){
m3u8Url = urljoin2(playerUrl, m3u8Url);
log('xb6v m3u8Url >>>>>>>>>>>>>>>>>>>>>>>>>>' + m3u8Url);
loopresult = title + '$' + m3u8Url;
}
}
listm3u8[index].push(loopresult);
});
}
if (listm.length>0){
LISTS.push(listm);
}
if (liste.length>0){
LISTS.push(liste);
}
lista.forEach(function(it){
LISTS.push([it]);
});
listq.forEach(function(it){
LISTS.push([it]);
});
for ( const key in listm3u8 ){
if (listm3u8.hasOwnProperty(key)){
LISTS.push(listm3u8[key]);
}
};
`,
},
搜索:`js:
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
let params = 'show=title&tempid=1&tbname=article&mid=1&dopost=search&submit=&keyboard=' + encodeURIComponent(KEY);
let _fetch_params = JSON.parse(JSON.stringify(rule_fetch_params));
let postData = {
method: "POST",
body: params
};
delete(_fetch_params.headers['Content-Type']);
Object.assign(_fetch_params, postData);
log("xb6v search postData>>>>>>>>>>>>>>>" + JSON.stringify(_fetch_params));
let search_html = request( HOST + '/e/search/index.php', _fetch_params, true);
log("xb6v search result>>>>>>>>>>>>>>>" + search_html);
let d=[];
let dlist = pdfa(search_html, 'div.mainleft&&ul#post_container&&li');
dlist.forEach(function(it){
let title = pdfh(it, 'div.thumbnail img&&alt');
if (searchObj.quick === true){
if (title.includes(KEY)){
title = KEY;
}
}
let img = pd(it, 'div.thumbnail img&&src', HOST);
let content = pdfh(it, 'div.article div.entry_post&&Text');
let desc = pdfh(it, 'div.info&&span.info_date&&Text');
let url = pd(it, 'div.thumbnail&&a&&href', HOST);
d.push({
title:title,
img:img,
content:content,
desc:desc,
url:url
});
});
setResult(d);
`,
}