diff --git a/api.json b/api.json index 01fe3df..de718b5 100644 --- a/api.json +++ b/api.json @@ -194,13 +194,13 @@ "name": "诺雪|APP", "type": 3, "quickSearch": 1, - "api": "csp_AppGet", + "api": "csp_AppGet2", "ext": { - "url": "https://appcms.rx4k.top", - "dataKey": "LiGFzV6csf21zsu6", - "dataIv": "LiGFzV6csf21zsu6", + "url": "https://qjappcms.rx4k.top", + "dataKey": "ZX10ysTYZWtIJCTU", + "dataIv": "ZX10ysTYZWtIJCTU", "deviceId": "", - "version": "" + "version": "120" } }, { @@ -728,16 +728,6 @@ "url": "https://panku8.com,https://yipanso.com" } }, - { - "key": "聚搜", - "name": "聚搜|4K弹幕", - "type": 3, - "api": "csp_PanWebSearch", - "searchable": 1, - "quickSearch": 1, - "filterable": 1, - "changeable": 1 - }, { "key": "双星", "name": "双星|4K弹幕", @@ -758,9 +748,19 @@ "type": "list" } }, + { + "key": "聚搜", + "name": "聚搜|4K搜索", + "type": 3, + "api": "csp_PanWebSearch", + "searchable": 1, + "quickSearch": 1, + "filterable": 1, + "changeable": 1 + }, { "key": "米搜", - "name": "米搜|4K弹幕", + "name": "米搜|4K搜索", "type": 3, "api": "./js/cloud.min.js", "ext": "./js/米搜.js", @@ -768,6 +768,26 @@ "type": "list" } }, + { + "key": "人人", + "name": "人人|4K搜索", + "type": 3, + "api": "./js/cloud.min.js", + "ext": "./js/人人.js", + "style": { + "type": "list" + } + }, + { + "key": "全盘", + "name": "全盘|4K搜索", + "type": 3, + "api": "./js/cloud.min.js", + "ext": "./js/全盘.js", + "style": { + "type": "list" + } + }, { "key": "爱搜UC", "name": "爱UC|4K弹幕", @@ -798,6 +818,16 @@ "type": "list" } }, + { + "key": "夸克盘搜", + "name": "夸克盘搜|4K弹幕", + "type": 3, + "api": "./js/cloud.min.js", + "ext": "./js/夸克盘搜.js", + "style": { + "type": "list" + } + }, { "key": "星芽短剧", "name": "星芽|短剧", diff --git a/js/人人.js b/js/人人.js new file mode 100644 index 0000000..db25fad --- /dev/null +++ b/js/人人.js @@ -0,0 +1,102 @@ +var rule = { + title:'人人影视[搜]', + host:'https://yyets.click', + homeUrl:'/', + url:'*', + filter_url:'{{fl.class}}', + filter:{ + }, + searchUrl: '*', + searchable:2, + quickSearch:0, + filterable:0, + headers:{ + 'User-Agent': PC_UA, + 'Accept': '*/*', + 'Referer': 'https://yyets.click/', + 'Cookie':'http://127.0.0.1:9978/file:///tvbox/JS/lib/yyets.txt', + }, + timeout:5000, + class_name:'', + class_url:'', + play_parse:true, + play_json:[{ + re:'*', + json:{ + parse:0, + jx:0 + } + }], + lazy:'', + limit:6, + 推荐:'', + 一级:'', + 二级:`js: +VOD.vod_play_from = "人人分享站"; +VOD.vod_remarks = detailUrl; +VOD.vod_actor = "沒有二级,只有一级链接直接推送播放"; +VOD.vod_content = MY_URL; +VOD.vod_play_url = "人人分享站$" + detailUrl; +`, + 搜索:`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('yyets search cookie>>>>>>>>>>>>>>>' + rule_fetch_params.headers.Cookie); +let _fetch_params = JSON.parse(JSON.stringify(rule_fetch_params)); +_fetch_params.headers.Referer = 'http://yyets.click/search?keyword=' + encodeURIComponent(KEY) + '&type=default'; +log('yyets search params>>>>>>>>>>>>>>>' + JSON.stringify(_fetch_params)); +let new_html=request(rule.homeUrl + 'api/resource?keyword=' + encodeURIComponent(KEY) + '&type=default', _fetch_params); +//log("yyets search result>>>>>>>>>>>>>>>" + new_html); +let json=JSON.parse(new_html); +let d=[]; +for(const it in json.comment){ + if (json.comment.hasOwnProperty(it)){ + log("yyets search it>>>>>>>>>>>>>>>" + JSON.stringify(json.comment[it])); + if (/(www.aliyundrive.com|pan.quark.cn|www.alipan.com)/.test(json.comment[it].comment)){ + let its = json.comment[it].comment.split("\\n"); + let i=0; + while(i>>>>>>>>>>>>>>" + title); + while(++i>>>>>>>>>>>>>>" + its[i]); + let burl = its[i].trim().split(" ")[0]; + if (burl.length==0){ + continue; + } + if (burl.includes("https://")){ + urls.push("https:"+burl.split("https:")[1]); + }else{ + break; + } + } + if (urls.length>0){ + log("yyets search title,urls>>>>>>>>>>>>>>>" + title + ",[" + JSON.stringify(urls) + "]"); + if (title.includes(KEY)){ + urls.forEach(function (url) { + d.push({ + title:title, + img:'', + content:json.comment[it].comment, + desc:json.comment[it].date, + url:'push://'+url + }); + }); + } + } + } + } + } +} +setResult(d); +`, +} diff --git a/js/全盘.js b/js/全盘.js new file mode 100644 index 0000000..3509e7e --- /dev/null +++ b/js/全盘.js @@ -0,0 +1,52 @@ +var rule = { + title: '懒盘搜', + host: 'https://so.yuneu.com/', + hostJs: '', + headers: { + 'User-Agent': 'Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.91 Mobile Safari/537.36', + }, + 编码: 'utf-8', + timeout: 5000, + url: 'https://so.yuneu.com/search?q=fyclass&format=video&page=fypage', + filter_url: '', + detailUrl: '', + searchUrl: 'https://so.yuneu.com/search?q=**&format=video&page=fypage', + searchable: 1, + quickSearch: 1, + filterable: 1, + class_name: '', + class_url: '', + proxy_rule: '', + sniffer: false, + isVideo: '', + play_parse: true, + parse_url: '', + lazy: "js:\n input = 'push://' + input;\n ", + limit: 9, + double: false, + // 推荐: '*', + 一级: 'js:\n let html = fetch(input);\n let list = pdfa(html, "body&&.semi-space-medium-vertical");\n VODS = list.map(x => {\n let remarks = pdfh(x, "div&&img&&alt");\n // 过滤掉包含"迅雷云盘"的内容\n if(remarks.includes("迅雷云盘")) return null;\n return {\n vod_name: pdfh(x, "div&&a&&title"),\n vod_pic: \'https://img0.baidu.com/it/u=2841223652,2325996620&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500\',\n vod_remarks: remarks,\n vod_content: remarks,\n vod_id: pdfh(x, "div&&a&&href")\n }\n }).filter(x => x !== null);\n ', + 二级: { + title: 'h1&&Text', + img: 'img&&src', + desc: '.card-text:eq(2)&&Text;;;;', + content: 'body&&.semi-space-loose-vertical&&a&&href', + tabs: "js:TABS = ['全盘搜']", + lists: "js:\n LISTS = [];\n let lists1 = pdfa(html, 'body&&.semi-space-loose-vertical').map(it => {\n let _tt = pdfh(it, 'span&&title');\n let _uu = pdfh(it, 'a&&href');\n return _tt + '$' + _uu;\n });\n LISTS.push(lists1);\n ", + }, + 搜索: 'js:\n let html = fetch(input);\n let list = pdfa(html, "body&&.semi-space-medium-vertical");\n VODS = list.map(x => {\n let remarks = pdfh(x, "div&&img&&alt");\n // 过滤掉包含"迅雷云盘"的内容\n if(remarks.includes("迅雷云盘")) return null;\n return {\n vod_name: pdfh(x, "div&&a&&title"),\n vod_pic: \'https://img0.baidu.com/it/u=2841223652,2325996620&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500\',\n vod_remarks: remarks,\n vod_content: remarks,\n vod_id: pdfh(x, "div&&a&&href")\n }\n }).filter(x => x !== null);\n ', + cate_exclude: '首页|留言|APP|下载|资讯|新闻|动态', + tab_exclude: '猜你|喜欢|下载|剧情|榜|评论', + 类型: '影视', + homeUrl: 'https://so.yuneu.com/', + 二级访问前: '', + encoding: 'utf-8', + search_encoding: '', + 图片来源: '', + 图片替换: '', + play_json: [], + pagecount: {}, + tab_remove: [], + tab_order: [], + tab_rename: {}, +} \ No newline at end of file diff --git a/js/夸克盘搜.js b/js/夸克盘搜.js new file mode 100644 index 0000000..9855768 --- /dev/null +++ b/js/夸克盘搜.js @@ -0,0 +1,52 @@ +var rule = { + title: '懒盘搜', + host: 'https://qkpanso.com/', + hostJs: '', + headers: { + 'User-Agent': 'Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.91 Mobile Safari/537.36', + }, + 编码: 'utf-8', + timeout: 5000, + url: 'https://qkpanso.com/search?q=fyclass&format=video&page=fypage', + filter_url: '', + detailUrl: '', + searchUrl: 'https://qkpanso.com/search?q=**&exact=true&format=video&page=fypage', + searchable: 1, + quickSearch: 1, + filterable: 1, + class_name: '', + class_url: '', + proxy_rule: '', + sniffer: false, + isVideo: '', + play_parse: true, + parse_url: '', + lazy: "js:\n input = 'push://' + input;\n ", + limit: 9, + double: false, + // 推荐: '*', + 一级: 'js:\n let html = fetch(input);\n let list = pdfa(html, "body&&.semi-space-medium-vertical");\n VODS = list.map(x => {\n let remarks = pdfh(x, "div&&img&&alt");\n // 过滤掉包含"迅雷云盘"的内容\n if(remarks.includes("迅雷云盘")) return null;\n return {\n vod_name: pdfh(x, "div&&a&&title"),\n vod_pic: \'http://pic-smzy.oss-cn-beijing.aliyuncs.com/images/5e/2a/1410241152a3eca2eca7ace140ed1c0c01b12a5e.png\',\n vod_remarks: remarks,\n vod_content: remarks,\n vod_id: pdfh(x, "div&&a&&href")\n }\n }).filter(x => x !== null);\n ', + 二级: { + title: 'h1&&Text', + img: 'img&&src', + desc: '.card-text:eq(2)&&Text;;;;', + content: 'body&&.semi-space-loose-vertical&&a&&href', + tabs: "js:TABS = ['夸克盘搜']", + lists: "js:\n LISTS = [];\n let lists1 = pdfa(html, 'body&&.semi-space-loose-vertical').map(it => {\n let _tt = pdfh(it, 'span&&title');\n let _uu = pdfh(it, 'a&&href');\n return _tt + '$' + _uu;\n });\n LISTS.push(lists1);\n ", + }, + 搜索: 'js:\n let html = fetch(input);\n let list = pdfa(html, "body&&.semi-space-medium-vertical");\n VODS = list.map(x => {\n let remarks = pdfh(x, "div&&img&&alt");\n // 过滤掉包含"迅雷云盘"的内容\n if(remarks.includes("迅雷云盘")) return null;\n return {\n vod_name: pdfh(x, "div&&a&&title"),\n vod_pic: \'http://pic-smzy.oss-cn-beijing.aliyuncs.com/images/5e/2a/1410241152a3eca2eca7ace140ed1c0c01b12a5e.png\',\n vod_remarks: remarks,\n vod_content: remarks,\n vod_id: pdfh(x, "div&&a&&href")\n }\n }).filter(x => x !== null);\n ', + cate_exclude: '首页|留言|APP|下载|资讯|新闻|动态', + tab_exclude: '猜你|喜欢|下载|剧情|榜|评论', + 类型: '影视', + homeUrl: 'https://qkpanso.com/', + 二级访问前: '', + encoding: 'utf-8', + search_encoding: '', + 图片来源: '', + 图片替换: '', + play_json: [], + pagecount: {}, + tab_remove: [], + tab_order: [], + tab_rename: {}, +} \ No newline at end of file diff --git a/js/爱搜Baidu.js b/js/爱搜Baidu.js index ed7bdb0..704f12b 100644 --- a/js/爱搜Baidu.js +++ b/js/爱搜Baidu.js @@ -10,12 +10,12 @@ var rule = { url: 'https://www.esoua.com/search?q=fyclass&format=video&type=BDY&page=fypage', filter_url: '', detailUrl: '', - searchUrl: 'https://www.esoua.com/search?q=**&format=video&share_time=half_year&type=BDY&page=fypage', + searchUrl: 'https://www.esoua.com/search?q=**&format=video&type=BDY&page=fypage', searchable: 1, quickSearch: 1, filterable: 1, class_name: '剧集&电影&短剧&动漫&综艺', - class_url: '剧集&电影&短网剧&动漫&综艺', + class_url: '剧集&电影&短剧&动漫&综艺', proxy_rule: '', sniffer: false, isVideo: '', diff --git a/js/爱搜Quark.js b/js/爱搜Quark.js index 4318bd0..0e78649 100644 --- a/js/爱搜Quark.js +++ b/js/爱搜Quark.js @@ -10,12 +10,12 @@ var rule = { url: 'https://www.esoua.com/search?q=fyclass&format=video&type=QUARK&page=fypage', filter_url: '', detailUrl: '', - searchUrl: 'https://www.esoua.com/search?q=**&format=video&share_time=half_year&type=QUARK&page=fypage', + searchUrl: 'https://www.esoua.com/search?q=**&format=video&type=QUARK&page=fypage', searchable: 1, quickSearch: 1, filterable: 1, class_name: '剧集&电影&短剧&动漫&综艺', - class_url: '剧集&电影&短网剧&动漫&综艺', + class_url: '剧集&电影&短剧&动漫&综艺', proxy_rule: '', sniffer: false, isVideo: '', diff --git a/js/爱搜UC.js b/js/爱搜UC.js index aeb310d..e4e1585 100644 --- a/js/爱搜UC.js +++ b/js/爱搜UC.js @@ -10,12 +10,12 @@ var rule = { url: 'https://www.esoua.com/search?q=fyclass&format=video&type=UC&page=fypage', filter_url: '', detailUrl: '', - searchUrl: 'https://www.esoua.com/search?q=**&format=video&share_time=half_year&type=UC&page=fypage', + searchUrl: 'https://www.esoua.com/search?q=**&format=video&type=UC&page=fypage', searchable: 1, quickSearch: 1, filterable: 1, class_name: '剧集&电影&短剧&动漫&综艺', - class_url: '剧集&电影&短网剧&动漫&综艺', + class_url: '剧集&电影&短剧&动漫&综艺', proxy_rule: '', sniffer: false, isVideo: '', diff --git a/js/短剧合集.js b/js/短剧合集.js index 474a896..4ca491b 100644 --- a/js/短剧合集.js +++ b/js/短剧合集.js @@ -1,5 +1,5 @@ var rule = { - 类型: '影视',//影视|听书|漫画|小说 + 类型: '影视', //影视|听书|漫画|小说 title: '爱看短剧[盘]', host: 'https://ys.110t.cn/', homeUrl: '/api/ajax.php?act=recommend', diff --git a/spider.jar b/spider.jar index c5020e9..3b784b4 100644 Binary files a/spider.jar and b/spider.jar differ