diff --git a/xiaosa/api.json b/xiaosa/api.json index 59fccfc5..af023745 100644 --- a/xiaosa/api.json +++ b/xiaosa/api.json @@ -119,6 +119,20 @@ "version": "" } }, + { + "key": "咖啡", + "name": "咖啡|APP", + "type": 3, + "quickSearch": 1, + "api": "csp_AppGet2", + "ext": { + "url": "http://160.202.243.62:2566", + "dataKey": "qwertyuiopqwerty", + "dataIv": "qwertyuiopqwerty", + "deviceId": "", + "version": "120" + } + }, { "key": "橘猫", "name": "橘猫|APP", @@ -751,6 +765,36 @@ "type": "list" } }, + { + "key": "爱搜UC", + "name": "爱UC|4K弹幕", + "type": 3, + "api": "./js/cloud.min.js", + "ext": "./js/爱搜UC.js", + "style": { + "type": "list" + } + }, + { + "key": "爱搜Quark", + "name": "爱Quark|4K弹幕", + "type": 3, + "api": "./js/cloud.min.js", + "ext": "./js/爱搜Quark.js", + "style": { + "type": "list" + } + }, + { + "key": "爱搜Baidu", + "name": "爱Baidu|4K弹幕", + "type": 3, + "api": "./js/cloud.min.js", + "ext": "./js/爱搜Baidu.js", + "style": { + "type": "list" + } + }, { "key": "星芽短剧", "name": "星芽|短剧", diff --git a/xiaosa/js/爱搜Baidu.js b/xiaosa/js/爱搜Baidu.js new file mode 100644 index 00000000..ed7bdb02 --- /dev/null +++ b/xiaosa/js/爱搜Baidu.js @@ -0,0 +1,52 @@ +var rule = { + title: '爱搜', + host: 'https://www.esoua.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://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', + 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://yx.aekgame.com/wp-content/uploads/2022/05/e27b-290abe63258be48d86b6676b6b0ba22d.jpg\',\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://yx.aekgame.com/wp-content/uploads/2022/05/e27b-290abe63258be48d86b6676b6b0ba22d.jpg\',\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://www.esoua.com/', + 二级访问前: '', + encoding: 'utf-8', + search_encoding: '', + 图片来源: '', + 图片替换: '', + play_json: [], + pagecount: {}, + tab_remove: [], + tab_order: [], + tab_rename: {}, +} \ No newline at end of file diff --git a/xiaosa/js/爱搜Quark.js b/xiaosa/js/爱搜Quark.js new file mode 100644 index 00000000..4318bd09 --- /dev/null +++ b/xiaosa/js/爱搜Quark.js @@ -0,0 +1,52 @@ +var rule = { + title: '爱搜', + host: 'https://www.esoua.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://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', + 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://www.esoua.com/', + 二级访问前: '', + encoding: 'utf-8', + search_encoding: '', + 图片来源: '', + 图片替换: '', + play_json: [], + pagecount: {}, + tab_remove: [], + tab_order: [], + tab_rename: {}, +} \ No newline at end of file diff --git a/xiaosa/js/爱搜UC.js b/xiaosa/js/爱搜UC.js new file mode 100644 index 00000000..aeb310dc --- /dev/null +++ b/xiaosa/js/爱搜UC.js @@ -0,0 +1,52 @@ +var rule = { + title: '爱搜', + host: 'https://www.esoua.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://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', + 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://image.uc.cn/s/uae/g/3o/broccoli/resource/202312/f3868960-9255-11ee-b5b0-eb0fcd1347fe.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: \'https://image.uc.cn/s/uae/g/3o/broccoli/resource/202312/f3868960-9255-11ee-b5b0-eb0fcd1347fe.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://www.esoua.com/', + 二级访问前: '', + encoding: 'utf-8', + search_encoding: '', + 图片来源: '', + 图片替换: '', + play_json: [], + pagecount: {}, + tab_remove: [], + tab_order: [], + tab_rename: {}, +} \ No newline at end of file diff --git a/xiaosa/spider.jar b/xiaosa/spider.jar index 4fdcbbca..c5020e9d 100644 Binary files a/xiaosa/spider.jar and b/xiaosa/spider.jar differ