diff --git a/XYQHiker/八号影视.json b/XYQHiker/八号影视.json deleted file mode 100644 index f6c8e3e..0000000 --- a/XYQHiker/八号影视.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "规则名": "八号影视", - "规则作者": "", - "请求头参数": "User-Agent$手机#accept$text/html", - "网页编码格式": "UTF-8", - "图片是否需要代理": "0", - "是否开启获取首页数据": "0", - "首页推荐链接": "http://www.bahaotv.com", - "首页列表数组规则": "body&&.show-vod-list", - "首页片单列表数组规则": ".myui-vodbox-content", - "首页片单是否Jsoup写法": "1", - "分类起始页码": "1", - "分类链接": "http://www.bahaotv.com/vodshow/{cateId}--------{catePg}---.html", - "分类名称": "电影&电视剧&动漫", - "分类名称替换词": "movie&tvseries&anime", - "筛选数据": {}, - //"筛选数据": "ext", - //{cateId} - "筛选子分类名称": "", - "筛选子分类替换词": "", - //{class} - "筛选类型名称": "", - "筛选类型替换词": "*", - //{area} - "筛选地区名称": "", - "筛选地区替换词": "*", - //{year} - "筛选年份名称": "", - "筛选年份替换词": "*", - //{lang} - "筛选语言名称": "", - "筛选语言替换词": "*", - //{by} - "筛选排序名称": "时间&人气&评分", - "筛选排序替换词": "time&hits&score", - "分类截取模式": "1", - "分类列表数组规则": ".show-vod-list&&.myui-vodbox-content", - "分类片单是否Jsoup写法": "1", - "分类片单标题": ".title&&Text", - "分类片单链接": "a&&href", - "分类片单图片": "img&&src", - "分类片单副标题": ".right&&Text", - "分类片单链接加前缀": "http://www.bahaotv.com", - "分类片单链接加后缀": "", - "搜索请求头参数": "User-Agent$手机#accept$text/html", - "搜索链接": "http://www.bahaotv.com/vodsearch/-------------.html?wd={wd}", - "POST请求数据": "", - "搜索截取模式": "1", - "搜索列表数组规则": ".show-vod-list&&.myui-vodbox-content", - "搜索片单是否Jsoup写法": "1", - "搜索片单图片": "img&&src", - "搜索片单标题": ".title&&Text", - "搜索片单链接": "a&&href", - "搜索片单副标题": ".right&&Text", - "搜索片单链接加前缀": "http://www.bahaotv.com", - "搜索片单链接加后缀": "", - "链接是否直接播放": "0", - "直接播放链接加前缀": "https://live.52sf.ga/huya/", - "直接播放链接加后缀": "#isVideo=true#", - "直接播放直链视频请求头": "authority$ku.peizq.online#Referer$https://play.peizq.online", - "详情是否Jsoup写法": "1", - "类型详情": "", - "年代详情": "", - "地区详情": "", - "演员详情": ".detail-box&&.director,1&&Text!主演:", - "简介详情": ".intro&&Text", - "线路列表数组规则": ".nav-btn&&li", - "线路标题": "Text", - "播放列表数组规则": "body&&[id^=playlist]", - "选集列表数组规则": "a", - "选集标题链接是否Jsoup写法": "1", - "选集标题": "a&&Text", - "选集链接": "a&&href", - "是否反转选集序列": "0", - "选集链接加前缀": "http://www.bahaotv.com", - "选集链接加后缀": "", - "分析MacPlayer": "0", - "是否开启手动嗅探": "0", - "手动嗅探视频链接关键词": ".mp4#.m3u8#.flv#video/tos", - "手动嗅探视频链接过滤词": ".html#=http" -} \ No newline at end of file diff --git a/XYQHiker/农民影视.json b/XYQHiker/农民影视.json new file mode 100644 index 0000000..32f2acb --- /dev/null +++ b/XYQHiker/农民影视.json @@ -0,0 +1,71 @@ +{ + "规则名": "农民影视", + "规则作者": "香雅情", + "请求头参数": "User-Agent$手机#accept$text/html#Referer$https://vip.wwgz.cn:5200/", + "网页编码格式": "UTF-8", + "图片是否需要代理": "0", + "是否开启获取首页数据": "1", + "首页推荐链接": "https://vip.wwgz.cn:5200/", + "首页列表数组规则": "body&&.globalPicList", + "首页片单列表数组规则": "li:has(img)", + "首页片单是否Jsoup写法": "1", + "首页片单标题": ".sTit&&Text", + "首页片单链接": "a&&href", + "首页片单图片": "img&&data-echo||data-src||src", + "首页片单副标题": ".sBottom&&Text", + "首页片单链接加前缀": "https://vip.wwgz.cn:5200/", + "首页片单链接加后缀": "", + "分类起始页码": "1", + "分类链接": "https://vip.wwgz.cn:5200/vod-list-id-{cateId}-pg-{catePg}-order--by-{by}-class--year-{year}-letter--area-{area}-lang-.html", + "分类名称": "电影&电视剧&综艺&动漫&短剧", + "分类名称替换词": "1&2&3&4&26", + "筛选数据": "ext", + "筛选子分类名称": "动作片&喜剧片&爱情片&科幻片&恐怖片&剧情片&战争片&惊悚片&奇幻片||国产剧&港台泰&日韩剧&欧美剧||空||动漫剧&动漫片", + "筛选子分类替换词": "5&6&7&8&9&10&11&16&17||12&13&14&15||空||18&19", + "筛选地区名称": "大陆&香港&台湾&美国&韩国&日本&泰国&新加坡&马来西亚&印度&英国&法国&加拿大&西班牙&俄罗斯&其它", + "筛选地区替换词": "*", + "分类截取模式": "1", + "分类列表数组规则": ".globalPicList&&li", + "分类片单是否Jsoup写法": "1", + "分类片单标题": ".sTit&&Text", + "分类片单链接": "a&&href", + "分类片单图片": "img&&data-echo||data-src||src", + "分类片单副标题": ".sBottom&&Text", + "分类片单链接加前缀": "https://vip.wwgz.cn:5200/", + "分类片单链接加后缀": "", + "搜索请求头参数": "User-Agent$手机#Referer$https://vip.wwgz.cn:5200/", + "search_url": "https://vip.wwgz.cn:5200/index.php?m=vod-search;post", + "sea_PtBody": "wd={wd}", + "search_mode": "1", + "sea_arr_rule": "#data_list&&li", + "sea_is_jsoup": "1", + "sea_pic": ".lazyload&&data-src", + "sea_title": ".sTit&&Text", + "sea_url": "a&&href", + "搜索片单副标题": ".sDes,-1&&Text", + "搜索片单链接加前缀": "https://vip.wwgz.cn:5200/", + "搜索片单链接加后缀": "", + "链接是否直接播放": "0", + "直接播放链接加前缀": "https://live.52sf.ga/huya/", + "直接播放链接加后缀": "#isVideo=true#", + "直接播放直链视频请求头": "authority$ku.peizq.online#Referer$https://play.peizq.online", + "详情是否Jsoup写法": "1", + "类型详情": ".type-title&&Text", + "年代详情": "body&&span:contains(年代:)&&Text!年代:", + "地区详情": "", + "演员详情": "body&&.sDes:contains(主演:)&&Text!主演:", + "简介详情": ".detail-con&&p&&Text!简介:", + "线路列表数组规则": "#leftTabBox&&ul&&li", + "播放列表数组规则": "#leftTabBox&&.numList", + "选集列表数组规则": "li", + "选集标题链接是否Jsoup写法": "1", + "选集标题": "a&&Text", + "选集链接": "a&&href", + "是否反转选集序列": "1", + "选集链接加前缀": "https://vip.wwgz.cn:5200/", + "选集链接加后缀": "", + "分析MacPlayer": "0", + "是否开启手动嗅探": "1", + "手动嗅探视频链接关键词": ".mp4#.m3u8#item/video#video_mp4#video/tos", + "手动嗅探视频链接过滤词": ".html#=http" +} \ No newline at end of file diff --git a/XYQHiker/骚火影视.json b/XYQHiker/骚火影视.json deleted file mode 100644 index 67ba299..0000000 --- a/XYQHiker/骚火影视.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "规则名": "骚火电影VIP", - "规则作者": "", - "请求头参数": "User-Agent$MOBILE_UA#Referer$https://saohuo.tv", - "网页编码格式": "UTF-8", - "图片是否需要代理": "0", - "是否开启获取首页数据": "0", - "首页推荐链接": "https://saohuo.tv/", - "首页列表数组规则": "body&&.v_list", - "首页片单列表数组规则": "li", - "首页片单是否Jsoup写法": "1", - "分类起始页码": "1", - "分类链接": "https://saohuo.tv/list/{cateId}-{catePg}.html[firstPage=https://saohuo.tv/list/{cateId}.html]", - "分类名称": "电影&电视剧&动漫", - "分类名称替换词": "1&2&13", - "筛选数据": {}, - //"筛选数据": "ext", - //{cateId} - "筛选子分类名称": "", - "筛选子分类替换词": "", - //{class} - "筛选类型名称": "", - "筛选类型替换词": "*", - //{area} - "筛选地区名称": "", - "筛选地区替换词": "*", - //{year} - "筛选年份名称": "", - "筛选年份替换词": "*", - //{lang} - "筛选语言名称": "", - "筛选语言替换词": "*", - //{by} - "筛选排序名称": "时间&人气&评分", - "筛选排序替换词": "time&hits&score", - "分类截取模式": "1", - "分类列表数组规则": ".v_list&&li", - "分类片单是否Jsoup写法": "1", - "分类片单标题": "a&&title", - "分类片单链接": "a&&href", - "分类片单图片": "img&&data-original", - "分类片单副标题": ".v_note&&Text", - "分类片单链接加前缀": "https://saohuo.tv", - "分类片单链接加后缀": "", - "搜索请求头参数": "User-Agent$手机#Accept$text/html", - "搜索链接": "https://saohuo.tv/s-{wd}---------{SearchPg}.html", - "POST请求数据": "", - "搜索截取模式": "1", - "搜索列表数组规则": ".v_list&&li", - "搜索片单是否Jsoup写法": "1", - "搜索片单图片": "img&&data-original", - "搜索片单标题": "a&&title", - "搜索片单链接": "a&&href", - "搜索片单副标题": ".v_note&&Text", - "搜索片单链接加前缀": "https://saohuo.tv", - "搜索片单链接加后缀": "", - "链接是否直接播放": "0", - "直接播放链接加前缀": "", - "直接播放链接加后缀": "", - "直接播放直链视频请求头": "", - "详情是否Jsoup写法": "1", - "类型详情": "", - "年代详情": "", - "地区详情": "", - "演员详情": "", - "简介详情": ".p_txt&&Text", - "线路列表数组规则": ".from_list&&li", - "线路标题": "Text", - "播放列表数组规则": ".play_list&&li", - "选集列表数组规则": "a", - "选集标题链接是否Jsoup写法": "1", - "选集标题": "a&&Text", - "选集链接": "a&&href", - "是否反转选集序列": "1", - "选集链接加前缀": "https://saohuo.tv", - "选集链接加后缀": "", - "分析MacPlayer": "0", - "是否开启手动嗅探": "0", - "手动嗅探视频链接关键词": ".mp4#.m3u8#.flv#video/tos", - "手动嗅探视频链接过滤词": ".html#=http" -} \ No newline at end of file diff --git a/api.json b/api.json index 4dd30bd..3becd17 100644 --- a/api.json +++ b/api.json @@ -175,6 +175,20 @@ "version": "120" } }, + { + "key": "剧咖", + "name": "剧咖|APP", + "type": 3, + "quickSearch": 1, + "api": "csp_AppGet", + "ext": { + "url": "https://get.xiaoqi0.cn", + "dataKey": "jukayingshi66666", + "dataIv": "jukayingshi66666", + "deviceId": "", + "version": "" + } + }, { "key": "麻花", "name": "麻花|APP", @@ -469,6 +483,34 @@ "version": "" } }, + { + "key": "晚枫", + "name": "晚枫|APP", + "type": 3, + "quickSearch": 1, + "api": "csp_AppGet", + "ext": { + "url": "http://111.180.202.216:999", + "dataKey": "fjhndgbjidfhgjsd", + "dataIv": "fjhndgbjidfhgjsd", + "deviceId": "2a7baa6ca6f46308cbf1d939bab0586f3", + "version": "120" + } + }, + { + "key": "诺映", + "name": "诺映|APP", + "type": 3, + "quickSearch": 1, + "api": "csp_AppGet", + "ext": { + "url": "https://www.noad.top", + "dataKey": "708FA298F0855840", + "dataIv": "708FA298F0855840", + "deviceId": "2129ec9e6e5703cb0aeeddd79554e38f8", + "version": "103" + } + }, { "key": "趣看", "name": "趣看|APP", @@ -508,16 +550,35 @@ "jxurl": "http://app.789dd.cn" } }, + { + "key": "攻阁", + "name": "攻阁|APP", + "type": 3, + "quickSearch": 1, + "api": "csp_AppMuou", + "ext": { + "url": "http://111.180.198.40:1110", + "dataKey": "14deb3a41a955648", + "dataIv": "14deb3a41a955648", + "jxurl": "https://ww.ndjdnd.icu" + } + }, { "key": "哔哩视频", "name": "哔哩|视频", "type": 3, - "api": "./py/哔哩视频.py", + "api": "csp_BiliYS", "searchable": 1, - "quickSearch": 1, - "filterable": 1, + "quickSearch": 0, + "filterable": 0, + "changeable": 0, + "style": { + "type": "rect", + "ratio": 1.433 + }, "ext": { - "json": "http://127.0.0.1:9978/file/TVBox/py_bili_cookie.txt" + "json": "./json/哔哩视频.json", + "cookie": "http://127.0.0.1:9978/file/TVBox/bili_cookie.txt" } }, { @@ -788,6 +849,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": "聚搜", "name": "聚搜|搜索", @@ -813,7 +894,7 @@ "name": "人人|搜索", "type": 3, "api": "./js/cloud.min.js", - "ext": "./js/人人.js", + "ext": "./js/人人分享站.js", "style": { "type": "list" } @@ -1487,13 +1568,6 @@ "api": "csp_HBPQ", "ext": "./XBPQ/骚火影视.json" }, - { - "key": "农民影视", - "name": "农民|影视", - "type": 3, - "api": "csp_HBPQ", - "ext": "./XBPQ/农民影视.json" - }, { "key": "七点影视", "name": "七点|影视", @@ -1555,6 +1629,16 @@ "api": "./js/drpy2.min.js", "ext": "./js/碟调影视.js" }, + { + "key": "农民影视", + "name": "农民|影视", + "type": 3, + "api": "csp_XYQHiker", + "searchable": 1, + "quickSearch": 1, + "filterable": 1, + "ext": "./XYQHiker/农民影视.json" + }, { "key": "盒子影视", "name": "盒子|影视", @@ -2210,7 +2294,7 @@ } }, { - "name": "QD4K", + "name": "巧计", "type": 1, "url": "https://zy.qiaoji8.com/xiafan.php?url=", "ext": { diff --git a/js/人人.js b/js/人人分享站.js similarity index 100% rename from js/人人.js rename to js/人人分享站.js diff --git a/js/人人电影网.js b/js/人人电影网.js new file mode 100644 index 0000000..f8aaab0 --- /dev/null +++ b/js/人人电影网.js @@ -0,0 +1,120 @@ +var rule = { + title: '人人电影网', + host: 'https://www.rrdynb.com', + homeUrl: '/', + url: '/fyclass_fypage.html?', + filter_url: '{{fl.class}}', + filter: {}, + searchUrl: '/plus/search.php?q=**&pagesize=10&submit=', + searchable: 2, + quickSearch: 1, + filterable: 0, + headers: { + 'User-Agent': 'PC_UA', + 'Cookie': '' + }, + timeout: 5000, + class_name: '影视&电视剧&老电影&动漫', + class_url: 'movie/list_2&dianshiju/list_6&zongyi/list_10&dongman/list_13', + play_parse: true, + play_json: [{ + re: '*', + json: { + parse: 0, + jx: 0 + } + }], + lazy: "js:\n input = 'push://' + input;\n ", + limit: 6, + 推荐: '', + 一级: 'li:has(img);img&&alt;img&&data-original;;a&&href', + 二级: { + title: "h1&&Text", + img: "img&&src", + desc: "", + content: "span&&Text", + tabs: `js: pdfh = jsp.pdfh; + pdfa = jsp.pdfa; + pd = jsp.pd; + TABS = [] + let d = pdfa(html, 'span 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://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("电驴"); + } + 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('alyps TABS >>>>>>>>>>>>>>>>>>' + TABS);`, + lists: `js: log(TABS); + pdfh = jsp.pdfh; + pdfa = jsp.pdfa; + pd = jsp.pd; + LISTS = []; + let d = pdfa(html, 'span 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('alyps title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title); + log('alyps burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl); + let loopresult = title + '$' + burl; + if (burl.startsWith("https://pan.quark.cn/s/")) { + if (TABS.length == 1) { + burl = burl.replace("?entry=sjss", ""), + burl = "http://127.0.0.1:9978/proxy?do=quark&type=push&confirm=0&url=" + encodeURIComponent(burl); + } else { + burl = burl.replace("?entry=sjss", ""), + 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 (listm.length > 0) { + LISTS.push(listm.reverse()); + } + if (liste.length > 0) { + LISTS.push(liste.reverse()); + } + lista.forEach(function(it) { + LISTS.push([it]); + }); + listq.forEach(function(it) { + LISTS.push([it]); + });`, + + }, + 搜索: 'li:has(img);h2&&Text;img&&data-original;.tags&&Text;a&&href', +} diff --git a/js/校长.js b/js/校长.js new file mode 100644 index 0000000..c42e054 --- /dev/null +++ b/js/校长.js @@ -0,0 +1,162 @@ +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: "js:\n input = 'push://' + input;\n ", + 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://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 (false && 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://pan.quark.cn/s/")){ + if (true){ + 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 (false && 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); +`, +} \ No newline at end of file diff --git a/js/爱搜Baidu.js b/js/爱搜Baidu.js deleted file mode 100644 index 2af4e5f..0000000 --- a/js/爱搜Baidu.js +++ /dev/null @@ -1,52 +0,0 @@ -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&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 let vodName = pdfh(x, "div&&a&&title");\n // 过滤条件:迅雷云盘、.txt后缀、空名称\n if(remarks.includes("迅雷云盘") || vodName.endsWith(".txt") || !vodName.trim()) return null;\n return {\n vod_name: vodName,\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 let vodName = pdfh(x, "div&&a&&title");\n // 过滤条件:迅雷云盘、.txt后缀、空名称\n if(remarks.includes("迅雷云盘") || vodName.endsWith(".txt") || !vodName.trim()) return null;\n return {\n vod_name: vodName,\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/js/爱搜Quark.js b/js/爱搜Quark.js deleted file mode 100644 index 39183b2..0000000 --- a/js/爱搜Quark.js +++ /dev/null @@ -1,52 +0,0 @@ -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&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 let vodName = pdfh(x, "div&&a&&title");\n // 过滤条件:迅雷云盘、.txt后缀、空名称\n if(remarks.includes("迅雷云盘") || vodName.endsWith(".txt") || !vodName.trim()) return null;\n return {\n vod_name: vodName,\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 let vodName = pdfh(x, "div&&a&&title");\n // 过滤条件:迅雷云盘、.txt后缀、空名称\n if(remarks.includes("迅雷云盘") || vodName.endsWith(".txt") || !vodName.trim()) return null;\n return {\n vod_name: vodName,\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/js/爱搜UC.js b/js/爱搜UC.js deleted file mode 100644 index cf83676..0000000 --- a/js/爱搜UC.js +++ /dev/null @@ -1,52 +0,0 @@ -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&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 let vodName = pdfh(x, "div&&a&&title");\n // 过滤条件:迅雷云盘、.txt后缀、空名称\n if(remarks.includes("迅雷云盘") || vodName.endsWith(".txt") || !vodName.trim()) return null;\n return {\n vod_name: vodName,\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 let vodName = pdfh(x, "div&&a&&title");\n // 过滤条件:迅雷云盘、.txt后缀、空名称\n if(remarks.includes("迅雷云盘") || vodName.endsWith(".txt") || !vodName.trim()) return null;\n return {\n vod_name: vodName,\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/js/立播.js b/js/立播.js new file mode 100644 index 0000000..79eb165 --- /dev/null +++ b/js/立播.js @@ -0,0 +1,49 @@ +// 永久网址:https://www.libvio.fun/ +muban.首图2.二级.title = 'h1&&Text;.data:eq(0)&&Text' +muban.首图2.二级.desc = '.data.hidden-xs&&Text;;;.data:eq(1)&&Text;.data:eq(4)&&Text' +muban.首图2.二级.content = '.detail-content&&Text' +var rule = { + title:'LIBVIO', + 模板:'首图2', + host:'https://libvio.mov/', + hostJs:'print(HOST);let html=request(HOST,{headers:{"User-Agent":PC_UA}});let src=jsp.pdfh(html,"li:eq(0)&&a:eq(1)&&href");print(src);HOST=src', + // url:'/type/fyclass-fypage.html', + url:'/show/fyclassfyfilter.html', + filterable:1,//是否启用分类筛选, + filter_url:'-{{fl.area}}-{{fl.by}}--{{fl.lang}}----fypage---{{fl.year}}', + filter: { + "1":[{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"n":"中国大陆","v":"中国大陆"},{"n":"中国香港","v":"中国香港"},{"n":"中国台湾","v":"中国台湾"},{"n":"美国","v":"美国"},{"n":"法国","v":"法国"},{"n":"英国","v":"英国"},{"n":"日本","v":"日本"},{"n":"韩国","v":"韩国"},{"n":"德国","v":"德国"},{"n":"泰国","v":"泰国"},{"n":"印度","v":"印度"},{"n":"意大利","v":"意大利"},{"n":"西班牙","v":"西班牙"},{"n":"加拿大","v":"加拿大"},{"n":"其他","v":"其他"}]},{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2024","v":"2024"},{"n":"2023","v":"2023"},{"n":"2022","v":"2022"},{"n":"2021","v":"2021"},{"n":"2020","v":"2020"},{"n":"2019","v":"2019"},{"n":"2018","v":"2018"},{"n":"2017","v":"2017"},{"n":"2016","v":"2016"},{"n":"2015","v":"2015"},{"n":"2014","v":"2014"},{"n":"2013","v":"2013"},{"n":"2012","v":"2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"}]},{"key":"lang","name":"语言","value":[{"n":"全部","v":""},{"n":"国语","v":"国语"},{"n":"英语","v":"英语"},{"n":"粤语","v":"粤语"},{"n":"闽南语","v":"闽南语"},{"n":"韩语","v":"韩语"},{"n":"日语","v":"日语"},{"n":"法语","v":"法语"},{"n":"德语","v":"德语"},{"n":"其它","v":"其它"}]},{"key":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}], + "2":[{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"n":"中国大陆","v":"中国大陆"},{"n":"中国台湾","v":"中国台湾"},{"n":"中国香港","v":"中国香港"},{"n":"韩国","v":"韩国"},{"n":"日本","v":"日本"},{"n":"美国","v":"美国"},{"n":"泰国","v":"泰国"},{"n":"英国","v":"英国"},{"n":"新加坡","v":"新加坡"},{"n":"其他","v":"其他"}]},{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2024","v":"2024"},{"n":"2023","v":"2023"},{"n":"2022","v":"2022"},{"n":"2021","v":"2021"},{"n":"2020","v":"2020"},{"n":"2019","v":"2019"},{"n":"2018","v":"2018"},{"n":"2017","v":"2017"},{"n":"2016","v":"2016"},{"n":"2015","v":"2015"},{"n":"2014","v":"2014"},{"n":"2013","v":"2013"},{"n":"2012","v":"2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"}]},{"key":"lang","name":"语言","value":[{"n":"全部","v":""},{"n":"国语","v":"国语"},{"n":"英语","v":"英语"},{"n":"粤语","v":"粤语"},{"n":"闽南语","v":"闽南语"},{"n":"韩语","v":"韩语"},{"n":"日语","v":"日语"},{"n":"其它","v":"其它"}]},{"key":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}], + "4":[{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"n":"中国","v":"中国"},{"n":"日本","v":"日本"},{"n":"欧美","v":"欧美"},{"n":"其他","v":"其他"}]},{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2024","v":"2024"},{"n":"2023","v":"2023"},{"n":"2022","v":"2022"},{"n":"2021","v":"2021"},{"n":"2020","v":"2020"},{"n":"2019","v":"2019"},{"n":"2018","v":"2018"},{"n":"2017","v":"2017"},{"n":"2016","v":"2016"},{"n":"2015","v":"2015"},{"n":"2014","v":"2014"},{"n":"2013","v":"2013"},{"n":"2012","v":"2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"},{"n":"2009","v":"2009"},{"n":"2008","v":"2008"},{"n":"2007","v":"2007"},{"n":"2006","v":"2006"},{"n":"2005","v":"2005"},{"n":"2004","v":"2004"}]},{"key":"lang","name":"语言","value":[{"n":"全部","v":""},{"n":"国语","v":"国语"},{"n":"英语","v":"英语"},{"n":"粤语","v":"粤语"},{"n":"闽南语","v":"闽南语"},{"n":"韩语","v":"韩语"},{"n":"日语","v":"日语"},{"n":"其它","v":"其它"}]},{"key":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}], + "27":[{"key":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}], + "15":[{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"n":"日本","v":"日本"},{"n":"韩国","v":"韩国"}]},{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2024","v":"2024"},{"n":"2023","v":"2023"},{"n":"2022","v":"2022"},{"n":"2021","v":"2021"},{"n":"2020","v":"2020"},{"n":"2019","v":"2019"},{"n":"2018","v":"2018"},{"n":"2017","v":"2017"},{"n":"2016","v":"2016"},{"n":"2015","v":"2015"},{"n":"2014","v":"2014"},{"n":"2013","v":"2013"},{"n":"2012","v":"2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"}]},{"key":"lang","name":"语言","value":[{"n":"全部","v":""},{"n":"国语","v":"国语"},{"n":"英语","v":"英语"},{"n":"粤语","v":"粤语"},{"n":"闽南语","v":"闽南语"},{"n":"韩语","v":"韩语"},{"n":"日语","v":"日语"},{"n":"其它","v":"其它"}]},{"key":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}], + "16":[{"key":"area","name":"地区","value":[{"n":"全部","v":""},{"n":"美国","v":"美国"},{"n":"英国","v":"英国"},{"n":"德国","v":"德国"},{"n":"加拿大","v":"加拿大"},{"n":"其他","v":"其他"}]},{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2024","v":"2024"},{"n":"2023","v":"2023"},{"n":"2022","v":"2022"},{"n":"2021","v":"2021"},{"n":"2020","v":"2020"},{"n":"2019","v":"2019"},{"n":"2018","v":"2018"},{"n":"2017","v":"2017"},{"n":"2016","v":"2016"},{"n":"2015","v":"2015"},{"n":"2014","v":"2014"},{"n":"2013","v":"2013"},{"n":"2012","v":"2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"}]},{"key":"lang","name":"语言","value":[{"n":"全部","v":""},{"n":"国语","v":"国语"},{"n":"英语","v":"英语"},{"n":"粤语","v":"粤语"},{"n":"闽南语","v":"闽南语"},{"n":"韩语","v":"韩语"},{"n":"日语","v":"日语"},{"n":"其它","v":"其它"}]},{"key":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}] + }, + headers:{ + 'User-Agent':'MOBILE_UA' + }, + class_parse:'.stui-header__menu li:gt(0):lt(7);a&&Text;a&&href;/(\\d+).html', + // tab_exclude:'夸克网盘|百度云盘', + pagecount:{"27":1}, + lazy:`js: + var html = JSON.parse(request(input).match(/r player_.*?=(.*?)