diff --git a/0821.json b/0821.json index 5d1d6815..62ee4bd7 100644 --- a/0821.json +++ b/0821.json @@ -151,6 +151,7 @@ "parses":[ {"name":"Json聚合","type":3,"url":"Demo"}, {"name":"Web聚合","type":3,"url":"Web"}, +{"name":"冰哲","type":1,"url":"https://jx.bingzhe.wang/api/v1/tvbox/parse?key=Rjb9UE4d4So4XY&url="}, {"name":"虾米","type":0,"url":"https://jx.xmflv.com/?url=","ext":{"flag":["qq","腾讯","qiyi","爱奇艺","奇艺","youku","优酷","sohu","搜狐","letv","乐视","mgtv","芒果","imgo","rx","ltnb","bilibili","1905","xigua"]}}, {"name":"小新","type":1,"url":"http://xiaoxin.1080p.fun/home/api?type=ys&uid=91198&key=bhntuwyAJLMTUY1478&url="}, {"name":"饭","type": 1,"url": "http://jx.wogg.link:63/jiexi/饭特析.php?url="}, diff --git a/0825.json b/0825.json index ef4be903..13f68d96 100644 --- a/0825.json +++ b/0825.json @@ -1,5 +1,5 @@ { -"spider":"./jar/fm.jar;md5;90d78495ccfa0386cbc920aad30d385e", +"spider":"./jar/fm.jar;md5;026dbaa77deff2861b6e47c70f1bbbf5", "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"}], @@ -53,6 +53,7 @@ {"key":"drpy_js_磁力熊p","name":"磁力熊p[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/cilixiongp.js","searchable":0,"quickSearch":0,"changeable":1, "timeout":30}, {"key":"drpy_js_美剧迷p","name":"美剧迷p[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/meijumip.js", "quickSearch":1, "changeable":1, "timeout":30}, {"key":"drpy_js_kkpans","name":"kk盘[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/kkpans.js", "quickSearch":1, "changeable":1, "timeout":30}, +{"key":"drpy_js_校长影视","name":"校长影视[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/xzys.js", "quickSearch":1, "changeable":1, "timeout":30}, {"key":"drpy_js_愛盤搜","name":"爱盘搜[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/aipanso.js", "quickSearch":1, "changeable":1, "timeout":30}, {"key":"drpy_js_趣盤搜","name":"趣盘搜[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/funletu.js", "quickSearch":1, "changeable":1, "timeout":30}, {"key":"push_agent","name":"推送","type":3,"api":"csp_Push","searchable":0,"quickSearch":0,"changeable":0,"ext":"http://127.0.0.1:9978/file/tvfan/token.json", "timeout":30}, diff --git a/0828.json b/0828.json index f8c039ba..04e27406 100644 --- a/0828.json +++ b/0828.json @@ -111,14 +111,17 @@ "parses":[ {"name":"Json聚合","type":3,"url":"Demo"}, {"name":"Web聚合","type":3,"url":"Web"}, +{"name":"冰哲","type":1,"url":"https://jx.bingzhe.wang/api/v1/tvbox/parse?key=Rjb9UE4d4So4XY&url="}, {"name":"虾米","type":0,"url":"https://jx.xmflv.com/?url=","ext":{"flag":["qq","腾讯","qiyi","爱奇艺","奇艺","youku","优酷","sohu","搜狐","letv","乐视","mgtv","芒果","imgo","rx","ltnb","bilibili","1905","xigua"]}}, -{"name":"cygc","type":1,"url":"https://api.cygc.xyz/analysis/?url=","ext":{"flag":["qq","腾讯","qiyi","爱奇艺","奇艺","youku","优酷","sohu","搜狐","letv","乐视","imgo","mgtv","芒果","rx","ltnb","bilibili","1905","xigua"]}}, +{"name":"小新","type":1,"url":"http://xiaoxin.1080p.fun/home/api?type=ys&uid=91198&key=bhntuwyAJLMTUY1478&url="}, +{"name":"饭","type": 1,"url": "http://jx.wogg.link:63/jiexi/饭特析.php?url="}, +{"name":"g9","type":1,"url":"http://json.g9.pub:66/?url="}, +{"name":"2449","type":1,"url":"http://110.42.2.247:880/analysis/json/?uid=2449&my=acfgikquvzFGJRW459&url="}, {"name":"91","url":"http://91fanli.top/m3u8/?url=","type":0,"ext":{"flag":["qiyi","imgo","爱奇艺","奇艺","qq","腾讯","youku","优酷","pptv","PPTV","letv","乐视","leshi","bilibili","哔哩哔哩","哔哩","mgtv","芒果","sohu","xigua","fun","风行"],"header":{"User-Agent":"Mozilla/5.0"}},"header":{"User-Agent":"Mozilla/5.0"}}, {"name":"解析la","url":"https://api.jiexi.la/?url=","type":0,"ext":{"flag":["qiyi","imgo","爱奇艺","奇艺","qq","腾讯","youku","优酷","pptv","PPTV","letv","乐视","leshi","bilibili","哔哩哔哩","哔哩","mgtv","芒果","sohu","xigua","fun","风行"],"header":{"User-Agent":"Mozilla/5.0"}},"header":{"User-Agent":"Mozilla/5.0"}}, {"name":"PM","url":"https://www.playm3u8.cn/jiexi.php?url=","type":0,"ext":{"flag":["qiyi","imgo","爱奇艺","奇艺","qq","腾讯","youku","优酷","pptv","PPTV","letv","乐视","leshi","bilibili","哔哩哔哩","哔哩","mgtv","芒果","sohu","xigua","fun","风行"],"header":{"User-Agent":"Mozilla/5.0"}},"header":{"User-Agent":"Mozilla/5.0"}}, -{"name":"ckmov","type":0,"url":"https://yun.ckmov.com/?url=","ext":{"flag":["qq","腾讯","qiyi","爱奇艺","奇艺","youku","优酷","mgtv","imgo","芒果","letv","乐视","pptv","PPTV","sohu","bilibili","哔哩哔哩","哔哩"],"header":{"User-Agent":"okhttp/4.1.0"}}}, {"name": "ccabc","type": 1,"url": "https://jx.ccabc.cc/xc/?key=5567332json&url="}, -{"name":"杰森","type":0,"url":"https://jx.jsonplayer.com/player/?url="}, +{"name":"飞云","type":1,"url":"https://daina.hk/api/?key=507ebdc402a6314e35f950c4c40fdf27&url="},{"name":"杰森","type":0,"url":"https://jx.jsonplayer.com/player/?url="}, {"name":"365","type":0,"url":"https://chaxun.truechat365.com/?url=","ext":{"flag":["qq","腾讯","qiyi","iqiyi","爱奇艺","奇艺","youku","优酷","mgtv","芒果","letv","乐视","pptv","PPTV","sohu","bilibili","哔哩哔哩","哔哩"]}}, {"name":"爱酷解析","type":0,"url":"https://jx.zhanlangbu.com/?url="}, {"name":"爱酷","type":1,"url":"http://jxapi.wutao7.top/XL/?url="}, diff --git a/9918.json b/9918.json index 0cb6bcc3..b3e4e979 100644 --- a/9918.json +++ b/9918.json @@ -1,5 +1,5 @@ { -"spider":"./jar/fm.nogo.jar;md5;625410df517af1ac645ad3b809832401", +"spider":"./jar/fm.nogo.jar;md5;2ab8c76e9059830a7afe2299913cb541", "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"}, diff --git a/jar/fm.jar b/jar/fm.jar index be4ac262..12cad5cf 100644 Binary files a/jar/fm.jar and b/jar/fm.jar differ diff --git a/jar/fm.nogo.jar b/jar/fm.nogo.jar index 49c1e960..a7e77d38 100644 Binary files a/jar/fm.nogo.jar and b/jar/fm.nogo.jar differ diff --git a/js.json b/js.json index 437c665e..50c79ba1 100644 --- a/js.json +++ b/js.json @@ -92,6 +92,7 @@ {"key":"drpy_js_磁力熊p","name":"磁力 | 磁力熊p[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/cilixiongp.js","searchable":0,"quickSearch":0,"changeable":1, "timeout":30}, {"key":"drpy_js_美剧迷p","name":"磁力 | 美剧迷p[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/meijumip.js", "quickSearch":1, "changeable":1, "timeout":30}, {"key":"drpy_js_kkpans","name":"夸克 | kk盘[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/kkpans.js", "quickSearch":1, "changeable":1, "timeout":30}, +{"key":"drpy_js_校长影视","name":"夸克 | 校长影视[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/xzys.js", "quickSearch":1, "changeable":1, "timeout":30}, {"key":"drpy_js_愛盤搜","name":"夸克 | 爱盘搜[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/aipanso.js", "quickSearch":1, "changeable":1, "timeout":30}, {"key":"drpy_js_趣盤搜","name":"夸克 | 趣盘搜[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/funletu.js", "quickSearch":1, "changeable":1, "timeout":30}, {"key":"push_agent","name":"手机 | 推送[jar]","type":3,"api":"csp_Push","searchable":0,"quickSearch":0,"changeable":0,"ext":"http://127.0.0.1:9978/file/tvfan/token.json", "timeout":30}, @@ -274,6 +275,7 @@ {"name": "轮询","type": 2,"url": "Sequence","header": {"User-Agent": "Mozilla/5.0"}}, {"name": "并发","type": 2,"url": "Parallel","header": {"User-Agent": "Mozilla/5.0"}}, {"name":"Web聚合","type":3,"url":"Web"}, +{"name":"冰哲","type":1,"url":"https://jx.bingzhe.wang/api/v1/tvbox/parse?key=Rjb9UE4d4So4XY&url="}, {"name":"虾米","type":0,"url":"https://jx.xmflv.com/?url=","ext":{"flag":["qq","腾讯","qiyi","爱奇艺","奇艺","youku","优酷","sohu","搜狐","letv","乐视","mgtv","芒果","imgo","rx","ltnb","bilibili","1905","xigua"]}}, {"name":"小新","type":1,"url":"http://xiaoxin.1080p.fun/home/api?type=ys&uid=91198&key=bhntuwyAJLMTUY1478&url="}, {"name":"饭","type": 1,"url": "http://jx.wogg.link:63/jiexi/饭特析.php?url="}, diff --git a/js/cilixiongp.js b/js/cilixiongp.js index 5d493b98..615f10c7 100644 --- a/js/cilixiongp.js +++ b/js/cilixiongp.js @@ -11,7 +11,7 @@ var rule = { "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: '/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', + searchUrl: '/p/0/socks5%253A%252F%252F192.168.1.3%253A4592/https://www.cilixiong.com/e/search/index.php#classid=1,2&show=title&tempid=1&keyboard=**;post', searchable:0, quickSearch:0, filterable:1, diff --git a/js/meijumi.js b/js/meijumi.js index 11636713..1df67cb9 100644 --- a/js/meijumi.js +++ b/js/meijumi.js @@ -1,12 +1,15 @@ var rule = { title:'美剧迷[磁]', - host:'https://www.meijumi.net', - homeUrl:'/', - url: '/fyclass/page/fypage/?', + //host:'https://www.meijumi.net', + //homeUrl:'/', + //url: '/fyclass/page/fypage/?', + host:'http://127.0.0.1:10078', + homeUrl:'/p/0/s/https://www.meijumi.net/', + url: '/p/0/s/https://www.meijumi.net/fyclass/page/fypage/?', filter_url:'{{fl.class}}', filter:{ }, - searchUrl: '/?s=**', + searchUrl: '/p/0/s/https://www.meijumi.net/?s=**', searchable:2, quickSearch:0, filterable:0, @@ -36,43 +39,47 @@ let html = request(input); let items; items = pdfa(html, 'main#main div.hd ul li:has(>a>img)'); items.forEach(it => { + let burl = rule.homeUrl.replace("https://www.meijumi.net/","") + pd(it, 'a&&href').replace(rule.host, "https://www.meijumi.net"); d.push({ title: pdfh(it, 'li&&Text'), desc: '', pic_url: pd(it, 'img&&src', HOST), - url: pdfh(it, 'a&&href') + url: burl }); }); items = pdfa(html, 'main#main div.hd div.huandeng span:has(>a>img)'); if (typeof items !== "undefined") { items.forEach(it => { + let burl = rule.homeUrl.replace("https://www.meijumi.net/","") + pd(it, 'a&&href').replace(rule.host, "https://www.meijumi.net"); d.push({ title: pdfh(it, 'span&&Text'), desc: '', pic_url: pd(it, 'img&&src', HOST), - url: pdfh(it, 'a&&href') + url: burl }); }); } items = pdfa(html, 'main#main div#pingbi_gg div:has(>div>a>img)'); if (typeof items !== "undefined") { items.forEach(it => { + let burl = rule.homeUrl.replace("https://www.meijumi.net/","") + pd(it, 'a&&href').replace(rule.host, "https://www.meijumi.net"); 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') + url: burl }); }); } items = pdfa(html, 'main#main div#pingbi_gg div:has(>header>div>a)'); if (typeof items !== "undefined") { items.forEach(it => { + let burl = rule.homeUrl.replace("https://www.meijumi.net/","") + pd(it, 'header a&&href').replace(rule.host, "https://www.meijumi.net"); 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') + url: burl }); }); } @@ -86,11 +93,12 @@ if (MY_CATE !== "news" ){ let html = request(input); let list = pdfa(html, 'div#post_list_box article'); list.forEach(it => { + let burl = rule.homeUrl.replace("https://www.meijumi.net/","") + pd(it, 'header a&&href').replace(rule.host, "https://www.meijumi.net"); 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') + url: burl }); }) }else{ @@ -98,11 +106,12 @@ if (MY_CATE !== "news" ){ let html = request(input); let list = pdfa(html, 'article ol&&li'); list.forEach(it => { + let burl = rule.homeUrl.replace("https://www.meijumi.net/","") + pd(it, 'a&&href').replace(rule.host, "https://www.meijumi.net"); 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') + url: burl }); }) } @@ -165,7 +174,7 @@ playGroups.forEach(function (it) { }else{ if (magCount>0){ TABS.push("磁力" + groupIndex); - haveMag= true; + haveMag = true; haveDelay = true; } if (aliCount === 1){ @@ -255,10 +264,6 @@ playGroups.forEach(function(it){ LISTS.push(newd); } if (Object.keys(it["ali"]).length==1){ - if (!haveMag && !haveDelay){ - haveDelay = true; - LISTS.push(["選擇右側綫路,或3秒後自動跳過$http://127.0.0.1:10079/delay/"]); - } let d = []; for(const key in it["ali"]){ if (it["ali"].hasOwnProperty(key)){ @@ -268,15 +273,15 @@ playGroups.forEach(function(it){ log('meijumi ali title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title); log('meijumi ali burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl); d.push(title + '$' + burl); + if (!haveMag && !haveDelay){ + haveDelay = true; + LISTS.push(["選擇右側綫路,或3秒後自動跳過$http://127.0.0.1:10079/delay/"]); + } } } LISTS.push(d); } if (Object.keys(it["quark"]).length==1){ - if (!haveMag && !haveDelay){ - haveDelay = true; - LISTS.push(["選擇右側綫路,或3秒後自動跳過$http://127.0.0.1:10079/delay/"]); - } let d = []; for(const key in it["quark"]){ if (it["quark"].hasOwnProperty(key)){ @@ -286,6 +291,10 @@ playGroups.forEach(function(it){ log('meijumi quark title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title); log('meijumi quark burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl); d.push(title + '$' + burl); + if (!haveMag && !haveDelay){ + haveDelay = true; + LISTS.push(["選擇右側綫路,或3秒後自動跳過$http://127.0.0.1:10079/delay/"]); + } } } LISTS.push(d); diff --git a/js/xzys.js b/js/xzys.js new file mode 100644 index 00000000..283e3164 --- /dev/null +++ b/js/xzys.js @@ -0,0 +1,177 @@ +var rule = { + title:'校长影视[云盘]', + host:'https://xzys.fun', + homeUrl: '/', + url: '/fyclass.html?page=fypage', + filter_url:'{{fl.class}}', + filter:{ + }, + searchUrl: '/search.html?keyword=**', + searchable:2, + quickSearch:0, + filterable:0, + headers:{ + 'User-Agent': 'PC_UA', + 'Cookie':'' + }, + timeout:5000, + class_name: '电视剧&电影&动漫&纪录片&综艺', + class_url: 'dsj&dy&dm&jlp&zy', + play_parse:true, + play_json:[{ + re:'*', + json:{ + parse:0, + jx:0 + } + }], + lazy:'', + limit:6, + 推荐:'div.container div.row a:has(>img);img&&alt;img&&src;img&&alt;a&&href', + 一级:'div.container div.row div.list-boxes;img&&alt;img&&src;div.list-actions&&Text;a&&href', + 二级:{ + title:"div.container div.row h1&&Text", + img:"div.container div.row img&&src", + desc:'div.container div.row div.article-infobox&&Text', //remark + content:'div.container div.row div#info&&Text', + tabs:`js: +pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd; +TABS=[] +let d = pdfa(html, 'div.container div.row a'); +let tabsa = []; +let tabsq = []; +let tabsm = false; +let tabse = false; +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 (tabsm === true){ + TABS.push("磁力"); +} +if (tabse === true){ + TABS.push("電驢"); +} +if (tabsa.length + tabsq.length > 1){ + 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; +}); +log('xzys TABS >>>>>>>>>>>>>>>>>>' + TABS); +`, + lists:`js: +log(TABS); +pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd; +LISTS = []; +let d = pdfa(html, 'div.container div.row a'); +let lista = []; +let listq = []; +let listm = []; +let liste = []; +d.forEach(function(it){ + let burl = pdfh(it, 'a&&href'); + let title = pdfh(it, 'a&&Text'); + log('dygang title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title); + log('dygang burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl); + let loopresult = title + '$' + burl; + if (burl.startsWith("https://www.aliyundrive.com/s/")){ + if (false){ + 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); + } + }else{ + burl = "push://" + burl; + } + loopresult = title + '$' + burl; + lista.push(loopresult); + }else if (burl.startsWith("https://pan.quark.cn/s/")){ + if (false){ + 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); + } + }else{ + burl = "push://" + burl; + } + loopresult = title + '$' + burl; + listq.push(loopresult); + }else if (burl.startsWith("magnet")){ + listm.push(loopresult); + }else if (burl.startsWith("ed2k")){ + liste.push(loopresult); + } +}); +if (listm.length>0){ + LISTS.push(listm); +} +if (liste.length>0){ + LISTS.push(liste); +} +if (lista.length + listq.length > 1){ + LISTS.push(["選擇右側綫路,或3秒後自動跳過$http://127.0.0.1:10079/delay/"]); +} +lista.forEach(function(it){ + LISTS.push([it]); +}); +listq.forEach(function(it){ + LISTS.push([it]); +}); +`, + + }, + 搜索:`js: +pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd; +if (rule_fetch_params.headers.Cookie.startsWith("http")){ + rule_fetch_params.headers.Cookie=fetch(rule_fetch_params.headers.Cookie); + let cookie = rule_fetch_params.headers.Cookie; + setItem(RULE_CK, cookie); +}; +log('xzys seach cookie>>>>>>>>>>>>>' + rule_fetch_params.headers.Cookie); +let _fetch_params = JSON.parse(JSON.stringify(rule_fetch_params)); +log("xzys search params>>>>>>>>>>>>>>>" + JSON.stringify(_fetch_params)); +let search_html = request( HOST + '/search.html?keyword=' + encodeURIComponent(KEY), _fetch_params) +//log("xzys search result>>>>>>>>>>>>>>>" + search_html); +let d=[]; +let dlist = pdfa(search_html, 'div.container div.row div.list-boxes'); +dlist.forEach(function(it){ + let title = pdfh(it, 'h2 a img&&alt'); + if (searchObj.quick === true){ + if (title.includes(KEY)){ + title = KEY; + } + } + let img = pd(it, 'h2 a img&&src', HOST); + let content = pdfh(it, 'p.text_p&&Text'); + let desc = pdfh(it, 'div.list-actions&&Text'); //remark + let url = pd(it, 'h2 a&&href', HOST); + d.push({ + title:title, + img:img, + content:content, + desc:desc, + url:url + }) +}); +setResult(d); +`, +}