update PG

This commit is contained in:
chuqiuyu 2023-08-19 13:54:34 +08:00
parent 8547265295
commit d827c7f64d
6 changed files with 66 additions and 72 deletions

View File

@ -1,5 +1,5 @@
{
"spider":"./jar/fm.jar;md5;2576c8219e91e191c16c88659ce9fa79",
"spider":"./jar/fm.jar;md5;4745e5c01d53a2aacf89835d146a775b",
"lives":[{"name":"初秋语•综合","type":0,"url":"./list.txt","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo":"https://epg.112114.xyz/logo/{name}.png"},
{"name":"Ray•综合","type":0,"url":"https://xhdwc.tk/tvlive.txt","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo":"https://epg.112114.xyz/logo/{name}.png"},
{"name":"俊于•综合","type":0,"url":"http://home.jundie.top:81/Cat/tv/live.txt","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo": "https://epg.112114.xyz/logo/{name}.png"}],

View File

@ -1,5 +1,5 @@
{
"spider":"./jar/fm.nogo.jar;md5;61bebaddc09610400e1982c2901c5112",
"spider":"./jar/fm.nogo.jar;md5;f365501ae5313ccaa7f47157bae739b2",
"lives":[{"name":"初秋语","type":0,"url":"./listx.txt"},
{"name":"YanG","type":0,"url":"https://ghproxy.com/https://raw.githubusercontent.com/YanG-1989/m3u/main/Adult.m3u"},
{"name":"atsushi","type":0,"url":"https://ghproxy.com/https://raw.githubusercontent.com/atsushi444/iptv-epg/main/Adult.m3u"},

Binary file not shown.

Binary file not shown.

View File

@ -1,15 +1,16 @@
var rule = {
title:'磁力熊[磁]',
host:'https://www.cilixiong.com',
homeUrl:'/top250/index.html',
host:'http://127.0.0.1:10079',
homeUrl:'/p/0/socks5%253A%252F%252F192.168.101.1%253A1080/https://www.cilixiong.com/',
// url: '/fyclass/index_(fypage-1).html',
url: '/fyclassfyfilter-(fypage-1).html',
//url: '/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:{
"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"}]}],
"2":[{"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"}]}]
},
searchUrl: '/e/search/index.php#classid=1,2&show=title&tempid=1&keyboard=**;post',
searchUrl: '/p/0/socks5%253A%252F%252F192.168.101.1%253A1080/https://www.cilixiong.com/e/search/index.php#classid=1,2&show=title&tempid=1&keyboard=**;post',
searchable:0,
quickSearch:0,
filterable:1,
@ -51,52 +52,11 @@ var rule = {
title: pdfh(it, 'h2&&Text'),
desc: pdfh(it, '.me-auto&&Text') + '分 / ' + pdfh(it, '.small&&Text'),
pic_url: pdfh(it, '.card-img&&style'),
url: pd(it, 'a&&href')
url: ''
});
})
setResult(d);
`,
二级:{
title:'h1&&Text;p.mb-2:eq(4)&&Text',
desc:'p.mb-2:eq(1)&&Text;;;p.mb-2:eq(7)&&Text;p.mb-2:eq(5)&&Text',
img:'.rounded-2&&src',
content:'.mv_card_box&&Text',
// tabs:'js:TABS = ["道长磁力"]',
// lists:'.mv_down:eq(#id)&&.border-bottom',
// list_text:'a&&Text',
// list_url:'a&&href',
tabs:'js:TABS = ["道长磁力","道长在线预览"]',
lists:`js:
log(TABS);
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
LISTS = [];
var dd=[];
TABS.forEach(function(tab) {
if (/道长磁力/.test(tab)) {
var d = pdfa(html, '.mv_down&&.border-bottom');
d = d.map(function(it) {
var title = pdfh(it, 'a&&Text');
log('title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title);
var burl = pd(it, 'a&&href');
log('burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
return ''
//return title + '$' + burl
});
LISTS.push(d)
} else if (/道长在线预览/.test(tab)) {
var d = pd(html, 'iframe&&src');
if (d) {
//d=['第一集在线播放预览$' + d]
d=''
} else {
//d=['没有预览不要点$http://www.sharenice.net/douyin/23852']
d=''
}
LISTS.push(d)
}
});
`,
},
搜索:'.col;h2&&Text;.card-img&&style;.me-auto&&Text;a&&href',
二级:'',
搜索:'',
}

View File

@ -1,8 +1,8 @@
var rule = {
title:'极影网[磁]',
host:'https://www.jiyingw.net',
homeUrl:'/',
url: '/fyclass/page/fypage?',
host:'http://127.0.0.1:10079',
homeUrl:'/p/0/socks5%253A%252F%252F192.168.101.1%253A1080/https://www.jiyingw.net',
url: '/p/0/socks5%253A%252F%252F192.168.101.1%253A1080/https://www.jiyingw.net/fyclass/page/fypage?',
filter_url:'{{fl.class}}',
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/高清电影"}]}]
@ -39,16 +39,30 @@ var rule = {
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
TABS=[]
var d = pdfa(html, '.movie-introduce p');
var index=1;
var index=0;
d.forEach(function(it) {
let burl = pdfh(it, 'a[href^="magnet"]&&href');
if (burl.startsWith("magnet")){
log("jiyingw burl >>>>>>" + burl);
let result = 'magnet' + index;
index = index + 1;
let result = 'magnet' + index;
TABS.push(result);
}
});
if (index === 0){
d = pdfa(html, 'div#down p.down-list3');
index=0;
d.forEach(function(it) {
let burl = pdfh(it, 'a[href^="magnet"]&&href');
if (burl.startsWith("magnet")){
log("jiyingw burl >>>>>>" + burl);
index = index + 1;
let result = 'magnet' + index;
TABS.push(result);
}
});
}
log('jiyingw TABS >>>>>>>>>>>>>>>>>>' + TABS);
`,
lists:`js:
@ -56,25 +70,45 @@ log(TABS);
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
LISTS = [];
var d = pdfa(html, '.movie-introduce p');
var secondinit=false;
TABS.forEach(function(tab) {
log('jiyingw tab >>>>>>>>' + tab);
if (/^magnet/.test(tab)) {
let targetindex = parseInt(tab.substring(6));
let index = 1;
d.forEach(function(it){
let burl = pdfh(it, 'a[href^="magnet"]&&href');
if (burl.startsWith("magnet")){
if (index === targetindex){
let title = pdfh(it, 'a[href^="magnet"]&&Text');
log('jiyingw title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title);
log('jiyingw burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
let loopresult = title + '$' + burl;
LISTS.push([loopresult]);
log('jiyingw tab >>>>>>>>' + tab);
if (/^magnet/.test(tab)) {
let targetindex = parseInt(tab.substring(6));
let index = 0;
d.forEach(function(it){
let burl = pdfh(it, 'a[href^="magnet"]&&href');
if (burl.startsWith("magnet")){
index = index + 1;
if (index === targetindex){
let title = pdfh(it, 'a[href^="magnet"]&&Text');
log('jiyingw title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title);
log('jiyingw burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
let loopresult = title + '$' + burl;
LISTS.push([loopresult]);
}
}
index = index + 1;
});
if (index === 0){
if (secondinit === false){
d = pdfa(html, 'div#down p.down-list3');
secondinit = true;
}
d.forEach(function(it){
let burl = pdfh(it, 'a[href^="magnet"]&&href');
if (burl.startsWith("magnet")){
index = index + 1;
if (index === targetindex){
let title = pdfh(it, 'a[href^="magnet"]&&Text');
log('jiyingw title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title);
log('jiyingw burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
let loopresult = title + '$' + burl;
LISTS.push([loopresult]);
}
}
});
}
});
}
}
});
`,
@ -82,7 +116,7 @@ if (/^magnet/.test(tab)) {
搜索:`js:
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
let _fetch_params = JSON.parse(JSON.stringify(rule_fetch_params));
let search_html=request(HOST + '/?s=' + KEY, _fetch_params);
let search_html=request(HOST + rule.homeUrl + '/?s=' + KEY, _fetch_params);
let d=[];
let dlist = pdfa(search_html, 'h2');
log("jiyingw dlist.length>>>>>>>"+dlist.length);