├── README.md
├── XYQ推送.json
├── ZYWCJ.txt
├── appmov.png
├── hikermovie.js
├── hikermovie.json
├── m3u8_ad_rule.json
├── pushcover.png
├── xqys.png
├── zywcj.js
└── zywcj.png
/README.md:
--------------------------------------------------------------------------------
1 | # HikerRule
2 | 海阔视界规则
3 |
--------------------------------------------------------------------------------
/XYQ推送.json:
--------------------------------------------------------------------------------
1 | {"last_chapter_rule":"","title":"XYQ推送","author":"香雅情","url":"hiker://empty","version":1,"col_type":"movie_3","class_name":"","type":"tool","class_url":"","area_name":"","area_url":"","sort_name":"","year_name":"","sort_url":"","year_url":"","find_rule":"js:\nlet d = [];\nd.push({\n title: '设置电视IP',\n url: \"input://\" + getItem('hikertvboxset', 'http://' + getIP() + ':9978') + \"////请输入tvbox推送IP地址,如http://\" + getIP() + \":9978.js:setItem('hikertvboxset',input);refreshPage()\",\n col_type: 'scroll_button'\n});\nd.push({\n title: getItem('hikertvboxset', ''),\n //url: 'hiker://empty',\n url: \"input://\" + getItem('hikertvboxset', 'http://' + getIP() + ':9978') + \"////请输入tvbox推送IP地址,如http://\" + getIP() + \":9978.js:setItem('hikertvboxset',input);refreshPage()\",\n col_type: 'scroll_button'\n});\n\nd.push({\n title: \"推送\",\n url: $.toString(() => {\n clearMyVar('name');\n //var link = 'hiker://page/push.html?url=' + encodeURIComponent(input.replace(\"#isMusic=true#\", '').replace('#isVideo=true#', ''));\n var link = \"hiker://page/push?pushurl=\" + encodeURIComponent(input);\n\n if (input.startsWith('http') || input.startsWith('magnet:') || (input.includes(\"\\n\") && !input.startsWith(\"{\"))) {\n return link;\n } else if (input.startsWith(\"{\") && input.endsWith(\"}\")) {\n return link;\n } else if (/\\.torrent|ed2k\\:/.test(input)) {\n return 'toast://不支持推送这种链接。'\n } else {\n return 'toast://请输入正确的链接。'\n }\n }),\n extra: {\n titleVisible: true\n },\n col_type: 'input'\n});\nd.push({\n title: \"TVB搜索\",\n url: $.toString(() => {\n let tvip = getItem('hikertvboxset', '');\n let state = 'false';\n if (tvip != '' && tvip.includes(':997')) {\n var state = request(tvip + '/action', {\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded',\n //'X-Requested-With': 'XMLHttpRequest',\n 'Referer': tvip\n },\n timeout: 2000,\n body: 'do=search&word=' + input,\n method: 'POST'\n });\n }\n //log(state);\n if (state == 'ok') {\n return 'toast://搜索推送成功,请注意观看电视端tvbox界面';\n } else {\n return 'toast://搜索推送失败'\n }\n }),\n extra: {\n titleVisible: true\n },\n col_type: 'input'\n});\n//调用代码示例\n//return 'hiker://page/push?rule=XYQ推送&pushurl=' + encodeURIComponent(input);\n//url: 'hiker://page/push?rule=XYQ推送&pushurl='+encodeURIComponent(url);\nd.push({\n title: '下载TVBox推送插件',\n url: 'https://www.123pan.com/s/alSeVv-lGO0A.html',\n col_type: 'text_2'\n});\nd.push({\n title: '查看TV设置教程',\n url: 'https://www.123pan.com/Weboffice/?type=f&id=2096899&FileName=XYQTVBox%E6%AD%A5%E9%AA%A4%E6%93%8D%E4%BD%9C%E8%AF%B4%E6%98%8E.pdf&Size=2293476&Etag=bbb0cc757337a3f3de778566fb67c367&S3KeyFlag=1812876007-0&CreateAt=1683645815&UpdateAt=1683646033&from=2&shareKey=alSeVv-lGO0A',\n col_type: 'text_2'\n});\nd.push({\n title: \"推送大家族\",\n url: 'https://pd.qq.com/s/553sflwje?shareSource=5',\n col_type: \"text_1\"\n});\nvar jump = ['tvbox云盘推送', '云盘君(推送)', 'AI影搜(推送)', 'MY阿里云盘', '香情影视','虎牙直播(推送)'];\nfor (var j in jump) {\n d.push({\n title: jump[j],\n url: 'hiker://home@' + jump[j],\n col_type: \"text_3\"\n });\n}\nsetResult(d);","search_url":"","group":"②香雅情","searchFind":"","detail_col_type":"movie_1","detail_find_rule":"","sdetail_col_type":"movie_1","sdetail_find_rule":"","ua":"mobile","preRule":"","pages":"[{\"col_type\":\"movie_3\",\"name\":\"推送\",\"path\":\"push\",\"rule\":\"js:\\nlet items = [];\\nlet pushin = decodeURIComponent(getParam(\\\"pushurl\\\"));\\nlet tvip = getItem('hikertvboxset', '');\\n\\nitems.push({\\n title: '电视IP:' + tvip,\\n url: \\\"input://\\\" + getItem('hikertvboxset', 'http://' + getIP() + ':9978') + \\\"////请输入TVBox端的IP地址,如http://\\\" + getIP() + \\\":9978.js:setItem('hikertvboxset',input);refreshPage()\\\",\\n col_type: 'flex_button'\\n});\\nvar purl = pushin;\\n\\nif (pushin.includes('\\\\n') && !pushin.startsWith('{')) {\\n purl = pushin.replace(\\\"\\\\n\\\", '$');\\n}\\nif (pushin.startsWith('http') && pushin.includes(';{')) {\\n purl = JSON.stringify({\\n \\\"name\\\": \\\"海阔直链推送\\\",\\n \\\"url\\\": pushin\\n })\\n}\\nif (pushin.startsWith('https://www.aliyundrive.com/s/')) {\\n let reftoken = JSON.parse(fetch('hiker://files/rules/icy/icy-ali-token.json', {}))[0].refresh_token;\\n purl = JSON.stringify({\\n \\\"url\\\": pushin,\\n \\\"refresh_token\\\": reftoken\\n })\\n}\\nif (pushin.includes(':52020')) {\\n if (pushin.includes('redirectPlayUrl')) {\\n purl = JSON.stringify({\\n \\\"name\\\": \\\"海阔投屏直链\\\",\\n \\\"url\\\": pushin\\n })\\n } else {\\n purl = JSON.stringify({\\n \\\"name\\\": \\\"海阔网页投屏\\\",\\n \\\"url\\\": pushin\\n })\\n }\\n}\\n\\n//log('推送'+purl);\\nvar state = request(tvip + '/action', {\\n headers: {\\n 'Content-Type': 'application/x-www-form-urlencoded',\\n //'X-Requested-With': 'XMLHttpRequest',\\n 'Referer': tvip\\n },\\n timeout: 2000,\\n body: 'do=push&url=' + purl.replace(/\\\\&/g, '&&').replace(/video\\\\:\\\\/\\\\//g,''),\\n method: 'POST'\\n});\\n//log(state);\\nif (state == 'ok') {\\n //log(state);\\n items.push({\\n title: \\\"√\\\" + state,\\n url: \\\"hiker://empty\\\",\\n col_type: \\\"text_center_1\\\"\\n });\\n} else {\\n //log(state);\\n items.push({\\n title: \\\"╳\\\" + state,\\n url: \\\"hiker://empty\\\",\\n col_type: \\\"text_center_1\\\"\\n });\\n\\n}\\nsetResult(items);\"}]","icon":"","proxy":""}
--------------------------------------------------------------------------------
/ZYWCJ.txt:
--------------------------------------------------------------------------------
1 | #官方解析
2 | 6U资源,http://www.6uzy.cc/inc/apijson_vod.php
3 | 天堂资源,http://vipmv.cc/api.php/provide/vod/
4 | 诺讯资源,http://caiji.nxflv.com/api.php/provide/vod/
5 | 小猫咪,http://zy.xiaomaomi.cc/api.php/provide/vod/
6 | 忆梦资源,http://anltv.cn/api.php/provide/vod/
7 | 时光影视,https://www.shigys.com/api.php/provide/vod/at/xml
8 | ikun,https://ikunzyapi.com/api.php/provide/vod/at/xml
9 | 天猫,https://www.tianmaozy.com/api.php/provide/vod/at/xml/
10 | umao,http://umao.ml/api.php/provide/vod/at/xml
11 | #
12 | #切片资源
13 | 索尼资源,https://suoniapi.com/api.php/provide/vod/from/snm3u8/at/xml/
14 | 非凡,http://cj.ffzyapi.com/api.php/provide/vod/at/xml/
15 | 量子资源,http://cj.lziapi.com/api.php/provide/vod/
16 | 极速BT资源,https://api.jisubt.com/videos
17 | 金鹰资源,http://jinyingzy.com/provide/vod
18 | 1080资源库,https://api.1080zyku.com/inc/api_mac10.php
19 | TOM资源,https://api.tomcaiji.com/api.php/provide/vod/
20 | 快车资源,https://caiji.kczyapi.com/api.php/provide/vod/
21 | OK资源,https://www.okcj.site/api/provide/vod/
22 | FOX资源,https://api.foxzyapi.com/api.php/provide/vod/
23 | 卧龙资源,https://collect.wolongzyw.com/api.php/provide/vod/
24 | 红牛资源,https://www.hongniuzy2.com/api.php/provide/vod/
25 | 樱花资源,https://m3u8.apiyhzy.com/api.php/provide/vod/
26 | 易看资源,https://api.yikanapi.com/api.php/provide/vod/
27 | 酷点资源,https://kudianzy.com/api.php/provide/vod/
28 | 闪电资源,http://sdzyapi.com/api.php/provide/vod/
29 | 飞速资源,https://www.feisuzy.com/api.php/provide/vod/
30 | 光速资源,https://api.guangsuapi.com/api.php/provide/vod/
31 | 新浪资源,http://api.xinlangapi.com/xinlangapi.php/provide/vod/
32 | 鱼乐资源,https://api.ylzy1.com/api.php/provide/vod/
33 | 韩剧资源,http://www.hanjuzy.com/inc/apijson_vod.php
34 | 77韩剧,https://www.77hanju.com/api.php/provide/vod/
35 | 快播资源,http://www.kuaibozy.com/api.php/provide/vod/
36 | 八戒资源,http://cj.bajiecaiji.com/inc/apijson_vod.php
37 | 百度资源,https://api.apibdzy.com/api.php/provide/vod/
38 | 无尽资源,https://api.wujinapi.net/api.php/provide/vod/
39 | 天空资源,https://api.tiankongapi.com/api.php/provide/vod/
40 | FF9资源,https://www.ff9.top/api.php/provide/vod/
41 | 看看资源,https://zy.hikan.xyz/api.php/provide/vod/
42 | #
43 | #优质资源
44 | U酷资源,https://api.ukuapi.com/api.php/provide/vod/
45 | 淘片资源,https://taopianapi.com/home/cjapi/as/mc10/vod/json
46 | 789盘,https://www.rrvipw.com/api.php/provide/vod/
47 | 爱酷影视,https://www.zhanlangbu.com/api.php/provide/vod/
48 | 龙腾资源,http://175.178.7.35:2020/api.php/provide/vod/
49 | ASMR,http://www.asmr19.in/api.php/provide/vod/
50 | 乐活影视,https://lehootv.com/api.php/provide/vod/
51 | #
52 | #三方聚合
53 | 影图,https://cj.vodimg.top/api.php/provide/vod/
54 | 瞬间影视,http://app.7en7.com/api.php/provide/vod/
55 | 创艺影视,https://www.30dian.cn/api.php/provide/vod/
56 | 香瓜影视,http://v.xgvod.top/api.php/provide/vod/
57 | 火星影视,http://47.102.85.40/api.php/provide/vod/
58 | 小鸟动漫,http://xydm.baicai.buzz/api.php/provide/vod/
59 | 百淘影视,http://ys.58g8.com/api.php/provide/vod/
60 | 阿里影视,http://aliys.cn:90/api.php/provide/vod/
61 | 热剧天堂,http://175.178.7.35:2020/api.php/provide/vod/
62 | 贵宾影院,http://vipdytv.com/api.php/provide/vod/
63 | 39影视,https://www.39kan.com/api.php/provide/vod/
64 | 速影,https://速影128.xyz/inc/apijson.php
65 | 飘花电影,http://www.zzrhgg.com/api.php/provide/vod/
66 | MBO影视,https://www.mbomovie.com/api.php/provide/vod/at/xml/
67 | #
--------------------------------------------------------------------------------
/appmov.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyq254245/HikerRule/311707179ab0f998c358cce4856ba80f51c0b429/appmov.png
--------------------------------------------------------------------------------
/hikermovie.json:
--------------------------------------------------------------------------------
1 | {
2 | "note": " 声明 ",
3 | "content": "
免责声明
1、本规则收集的内容来至互联网,经软件对原网页源码重新排版后显示,本规则不提供原始数据,显示的所有内容,其版权均归原作者所有。
2、本规则代码内容仅供写源爱好者学习交流使用,禁止用于其他用途,请务必在导入24小时之内删除!
3、因使用此规则产生的版权问题,软件开发者与本规则作者概不负责。
4、请勿相信网页或者视频中的任何广告,切记!!!",
4 | "version": "7",
5 | "data": [
6 | {
7 | "type": "影视",
8 | "list": [
9 | {
10 | "title": "农民影视",
11 | "vodtype": "电影&连续剧&综艺&动漫&短剧",
12 | "vodhref": "1&2&3&4&26",
13 | "ico": "https://txc.gtimg.com/data/2198/2022/0414/c97425b6570f2a9dc9d09b9c25cf2c4a.png",
14 | "url": "https://www.wwgz.cn"
15 | },
16 | {
17 | "title": "TVB云播",
18 | "vodtype": "电影&电视剧&综艺&动漫&动作片&喜剧片&爱情片&科幻片&恐怖片&剧情片&战争片&国产剧&港台剧&日韩剧&欧美剧&短剧",
19 | "vodhref": "1&2&3&4&6&7&8&9&10&11&12&13&14&15&16&19",
20 | "ico": "http://www.tvyun08.com/logo.png",
21 | "url": "http://www.tvyun08.com"
22 | },
23 | {
24 | "title": "NyaFun",
25 | "vodtype": "新旧番剧&剧场版",
26 | "vodhref": "Ippppw&wppppw",
27 | "ico": "https://www.nyafun.net/image/NyaFun_logo.png",
28 | "url": "https://www.nyafun.net"
29 | },
30 | {
31 | "title": "嗷呜动漫",
32 | "vodtype": "新剧&番剧&剧场",
33 | "vodhref": "32&20&33",
34 | "ico": "https://www.aowu.tv/upload/site/20231009-1/223ec5606cf2b1d2e541b3ef930cb79c.png",
35 | "url": "https://www.aowu.tv"
36 | },
37 | {
38 | "title": "鸭奈飞",
39 | "vodtype": "电影&连续剧&综艺&动漫",
40 | "vodhref": "1&2&3&4",
41 | "ico": "https://www.netflixgc.com/upload/mxprocms/20230331-1/1362b3640334c876948d91690f850f80.png",
42 | "url": "https://www.netflixgc.com"
43 | },{
44 | "title": "奈落影视",
45 | "vodtype": "电影&电视剧&综艺&动漫&动作片&喜剧片&爱情片&科幻片&恐怖片&剧情片&战争片&动画片&国产剧&港台剧&欧美剧&日韩剧&海外剧&国漫&日漫&欧漫&童漫&国产综艺&日韩综艺&欧美综艺&港台综艺",
46 | "vodhref": "1&2&4&3&7&8&9&6&10&11&12&20&13&14&16&15&21&22&25&23&24&28&30&29&31",
47 | "ico": "https://www.newfii.com/template/mxone/mxstatic/picture/logo.png",
48 | "url": "https://www.newfii.com"
49 | },
50 | {
51 | "title": "骚火影视",
52 | "vodtype": "电影&电视剧&动漫&喜剧&爱情&恐怖&动作&科幻&战争&犯罪&动画&奇幻&剧情&冒险&悬疑&惊悚&其它片&大陆&TVB&韩剧&美剧&日剧&英剧&台剧&其它剧",
53 | "vodhref": "1&2&4&6&7&8&9&10&11&12&13&14&15&16&17&18&19&20&21&22&23&24&25&26&27",
54 | "ico": "https://shdy2.com/favicon.ico",
55 | "url": "https://shdy2.com"
56 | },
57 | {
58 | "title": "在线之家",
59 | "vodtype": "电影&美剧&韩剧&日剧&泰剧&动漫",
60 | "vodhref": "1&2&3&4&5&6",
61 | "ico": "https://zxzjbackup.oss-cn-shenzhen.aliyuncs.com/logo_min.png",
62 | "url": "https://www.zxzja.com"
63 | },
64 | {
65 | "title": "Auete",
66 | "vodtype": "电影&电视剧&综艺&动漫",
67 | "vodhref": "Movie&Tv&Zy&Dm",
68 | "ico": "https://auete.pro/statics/picture/logo.png",
69 | "url": "https://auete.pro"
70 | },
71 | {
72 | "title": "LIBVIO",
73 | "vodtype": "电影&连续剧&动漫&日韩剧&欧美剧&即将上线",
74 | "vodhref": "1&2&4&15&16&27",
75 | "ico": "https://xiaoxiaojia.oss-accelerate.aliyuncs.com/statics/img/favicon.ico",
76 | "url": "https://www.libvio.fun"
77 | },
78 | {
79 | "title": "影视工场",
80 | "vodtype": "电影&电视剧&综艺&动漫&纪录片&电视直播&动作片&喜剧片&爱情片&科幻片&恐怖片&悬疑片&剧情片&战争片&动画片&国产剧&港台剧&日韩剧",
81 | "vodhref": "1&2&3&4&24&30&6&7&8&9&10&28&11&12&25&13&14&15",
82 | "ico": "https://www.ysgc.fun/template/mytheme/statics/image/20230123/1764f5143.ico",
83 | "url": "https://www.ysgc.fun"
84 | },
85 | {
86 | "title": "耐看点播",
87 | "vodtype": "电影&剧集&综艺&动漫&动作片&喜剧片&爱情片&科幻片&恐怖片&剧情片&战争片&国产剧&港台剧&日韩剧&欧美剧&其它剧",
88 | "vodhref": "1&2&3&4&6&7&8&9&10&11&12&13&14&15&16&20",
89 | "ico": "https://www.nkvod.com/mxtheme/images/logo.png",
90 | "url": "https://www.nkvod.com"
91 | },
92 | {
93 | "title": "看一看",
94 | "vodtype": "电影&连续剧&综艺&动漫&动作片&喜剧片&爱情片&科幻片&恐怖片&剧情片&战争片&纪录片&微电影&惊悚片&悬疑片&国产剧&港台剧&日韩剧&欧美剧&泰剧&海外剧&TV综艺&音乐MV&TV版&电影版&剧场版&国语经典",
95 | "vodhref": "1&2&3&4&5&6&7&8&9&10&11&16&18&20&21&12&13&14&15&19&32&26&31&23&24&25&36",
96 | "ico": "https://www.kykyy.cc/template/blank/Images/logo.png",
97 | "url": "https://www.kykyy.cc"
98 | },
99 | {
100 | "title": "风车动漫",
101 | "vodtype": "日本动漫&国产动漫&动漫电影&欧美动漫",
102 | "vodhref": "ribendongman&guochandongman&dongmandianying&omeidongman",
103 | "ico": "https://cdn.yinghuazy.xyz/webjs/stui_tpl/statics/img/logo_dmlaa_min_f.png",
104 | "url": "https://www.dmla7.com"
105 | },
106 | {
107 | "title": "素白白影视",
108 | "vodtype": "电影&电视剧&热门电影&高分电影&动漫电影&香港经典电影&国产剧&欧美剧&韩剧&动漫剧&POP流行&传记&儿童&冒险&剧情&动作&动漫&动画&历史&古装&古风&同性&喜剧&奇幻&家庭&恐怖&悬疑&ERO情&惊悚&戏曲&战争&拉丁&搞笑&校园&歌舞&武侠&灾难&爱情&犯罪&玄幻&真人秀&短片&科幻&纪录片&脱口秀&舞台艺术&西部&运动&青春&音乐&鬼怪&黑色电影",
109 | "vodhref": "new-movie&tv-drama&hot-month&high-movie&cartoon-movie&hongkong-movie&domestic-drama&american-drama&korean-drama&anime-drama&movie_bt_tags/pop-popular&movie_bt_tags/biography&movie_bt_tags/child&movie_bt_tags/adventure&movie_bt_tags/plot&movie_bt_tags/action&movie_bt_tags/anime&movie_bt_tags/animation&movie_bt_tags/history&movie_bt_tags/costume&movie_bt_tags/antiquity&movie_bt_tags/homosexual&movie_bt_tags/comedy&movie_bt_tags/fantasy&movie_bt_tags/family&movie_bt_tags/terror&movie_bt_tags/suspense&movie_bt_tags/erotic&movie_bt_tags/thriller&movie_bt_tags/drama&movie_bt_tags/war&movie_bt_tags/latin&movie_bt_tags/funny&movie_bt_tags/campus&movie_bt_tags/song-and-dance&movie_bt_tags/martial-arts&movie_bt_tags/disaster&movie_bt_tags/love&movie_bt_tags/crime&movie_bt_tags/fancy&movie_bt_tags/reality-show&movie_bt_tags/short-film&movie_bt_tags/kehuan&movie_bt_tags/documentary&movie_bt_tags/talkshow&movie_bt_tags/stageart&movie_bt_tags/west&movie_bt_tags/sport&movie_bt_tags/youth&movie_bt_tags/music&movie_bt_tags/ghost&movie_bt_tags/black-film",
110 | "ico": "https://www.subaibai.com/wp-content/themes/mibt/assets/img/logo.png",
111 | "url": "https://www.subaibai.com"
112 | },
113 | {
114 | "title": "哔嘀影视",
115 | "vodtype": "不限&电影&电视剧",
116 | "vodhref": "&?type=0&?type=1",
117 | "ico": "https://wecounty-1300407952.file.myqcloud.com/app/svg/2022/5/20220523150310196THO.svg?images_logo1_svg",
118 | "url": "https://v.xlys.ltd.ua"
119 | },
120 | {
121 | "title": "厂长资源",
122 | "vodtype": "全部&高分影视&最新电影&电视剧&国产剧&美剧&韩剧&番剧&动漫&会员专区&俄罗斯电影&加拿大电影&动画&华语电影&印度电影&国产剧&日剧&日本电影&欧美电影&法国电影&海外剧(其他)&电影&电视剧&站长推荐&美剧&英国电影&韩剧&韩国电影",
123 | "vodhref": "movie_bt&zuixindianying/gaofenyingshi&zuixindianying&dsj&gcj&meijutt&hanjutv&fanju&dm&movie_bt_series/huiyuanzhuanqu&movie_bt_series/eluosidianying&movie_bt_series/jianadadianying&movie_bt_series/dohua&movie_bt_series/huayudianying&movie_bt_series/yindudianying&movie_bt_series/guochanju&movie_bt_series/rj&movie_bt_series/ribendianying&movie_bt_series/meiguodianying&movie_bt_series/faguodianying&movie_bt_series/hwj&movie_bt_series/dyy&movie_bt_series/dianshiju&movie_bt_series/zhanchangtuijian&movie_bt_series/mj&movie_bt_series/yingguodianying&movie_bt_series/hj&movie_bt_series/hanguodianying",
124 | "ico": "https://img.py1080p.com/2020/05/cropped-90b07fe57d6142-192x192.png",
125 | "url": "https://www.czzy77.com"
126 | },
127 | {
128 | "title": "奈菲影视",
129 | "vodtype": "全部&动画&动画电影&日剧&泰剧&电影&电视剧&真人秀&纪录片&美剧&美漫&英剧&西班牙剧&韩剧",
130 | "vodhref": "movie_bt&movie_bt_series/%e5%8a%a8%e7%94%bb&movie_bt_series/%e5%8a%a8%e7%94%bb%e7%94%b5%e5%bd%b1&movie_bt_series/riju&movie_bt_series/taiju&movie_bt_series/dianying&movie_bt_series/dianshiju&movie_bt_series/%e7%9c%9f%e4%ba%ba%e7%a7%80&movie_bt_series/jilupian&movie_bt_series/meiju&movie_bt_series/%e7%be%8e%e6%bc%ab/&movie_bt_series/%e8%8b%b1%e5%89%a7&movie_bt_series/xibanyaju&movie_bt_series/hanju",
131 | "ico": "https://www.nfyingshi.com/wp-content/themes/mibt/favicon.ico",
132 | "url": "https://www.nfyingshi.com"
133 | },
134 | {
135 | "title": "去看吧",
136 | "vodtype": "高清原碟&日漫&女频&劇場&漫画&国漫&美漫",
137 | "vodhref": "33&21&50&24&55&51&22",
138 | "ico": "https://qkan8.com/klogo.png",
139 | "url": "https://qkan8.com"
140 | },
141 | {
142 | "title": "动漫巴士",
143 | "vodtype": "国产动漫&日本动漫&欧美动漫&电影",
144 | "vodhref": "1&2&3&4",
145 | "ico": "https://dm84.tv/favicon.ico",
146 | "url": "https://dm84.tv"
147 | }
148 | ]
149 | }
150 | ],
151 | "uplink": ""
152 | }
--------------------------------------------------------------------------------
/m3u8_ad_rule.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "name": "暴风",
4 | "hosts": [
5 | "bfzy",
6 | "bfbfvip",
7 | "bfengbf"
8 | ],
9 | "regex": [
10 | "#EXTINF.*?\\s+.*?adjump.*?\\.ts"
11 | ]
12 | },
13 | {
14 | "name": "量子",
15 | "hosts": [
16 | "vip.lz",
17 | "hd.lz",
18 | ".cdnlz"
19 | ],
20 | "regex": [
21 | "#EXT-X-DISCONTINUITY\\r*\\n*#EXTINF.*?66667,[\\s\\S]*?#EXT-X-DISCONTINUITY",
22 | "#EXTINF.*?\\s+.*?08646.*?\\.ts",
23 | "17.19",
24 | "19.63"
25 | ]
26 | },
27 | {
28 | "name": "非凡",
29 | "hosts": [
30 | "vip.ffzy",
31 | "hd.ffzy",
32 | "super.ffzy",
33 | "cachem3u8.2s0"
34 | ],
35 | "regex": [
36 | "#EXT-X-DISCONTINUITY\\r*\\n*#EXTINF:6\\.400000,[\\s\\S]*?#EXT-X-DISCONTINUITY",
37 | "#EXT-X-DISCONTINUITY\\r*\\n*#EXTINF.*?66667,[\\s\\S]*?#EXT-X-DISCONTINUITY",
38 | "#EXT-X-DISCONTINUITY\\r*\\n*#EXTINF:2\\.433333,[\\s\\S]*?#EXT-X-DISCONTINUITY",
39 | "#EXTINF.*?\\s+.*?1171(057).*?\\.ts",
40 | "#EXTINF.*?\\s+.*?6d7b(077).*?\\.ts",
41 | "#EXTINF.*?\\s+.*?6718a(403).*?\\.ts",
42 | "17.99",
43 | "14.45"
44 | ]
45 | },
46 | {
47 | "name": "索尼",
48 | "hosts": [
49 | "suonizy"
50 | ],
51 | "regex": [
52 | "#EXT-X-DISCONTINUITY\\r*\\n*#EXTINF:1\\.000000,[\\s\\S]*?#EXT-X-DISCONTINUITY",
53 | "#EXTINF.*?\\s+.*?p1ayer.*?\\.ts",
54 | "#EXTINF.*?\\s+.*?\\/video\\/original.*?\\.ts"
55 | ]
56 | },
57 | {
58 | "name": "快看",
59 | "hosts": [
60 | "kuaikan"
61 | ],
62 | "regex": [
63 | "#EXT-X-KEY:METHOD=NONE\\r*\\n*#EXTINF:5,[\\s\\S]*?#EXT-X-DISCONTINUITY",
64 | "#EXT-X-KEY:METHOD=NONE\\r*\\n*#EXTINF:2\\.4,[\\s\\S]*?#EXT-X-DISCONTINUITY",
65 | "#EXT-X-KEY:METHOD=NONE\\r*\\n*#EXTINF:1\\.467,[\\s\\S]*?#EXT-X-DISCONTINUITY"
66 | ]
67 | },
68 | {
69 | "name": "leshiyun",
70 | "hosts": [
71 | "leshiyuncdn"
72 | ],
73 | "regex": [
74 | "15.92"
75 | ]
76 | },
77 | {
78 | "name": "1080zyk",
79 | "hosts": [
80 | "high24-playback",
81 | "high20-playback",
82 | "yzzy.play",
83 | "yzzy-dy"
84 | ],
85 | "regex": [
86 | "#EXT-X-DISCONTINUITY\\r*\\n*#EXTINF:6\\.666667,[\\s\\S]*?#EXT-X-DISCONTINUITY",
87 | "16.63",
88 | "17.66"
89 | ]
90 | },
91 | {
92 | "name": "555DM",
93 | "hosts": [
94 | "cqxfjz"
95 | ],
96 | "regex": [
97 | "10.56"
98 | ]
99 | },
100 | {
101 | "name": "ikun",
102 | "hosts": [
103 | "bfikuncdn"
104 | ],
105 | "regex": [
106 | "#EXTINF.*?\\s+.*?XR8pDxQk.*?\\.ts"
107 | ]
108 | },
109 | {
110 | "name": "黑木耳hmr",
111 | "hosts": [
112 | "hmrvideo"
113 | ],
114 | "regex": [
115 | "#EXT-X-DISCONTINUITY\\r*\\n*#EXTINF.*?66667,[\\s\\S]*?#EXT-X-DISCONTINUITY"
116 | ]
117 | },
118 | {
119 | "name": "ryplay",
120 | "hosts": [
121 | "cdn.ryplay"
122 | ],
123 | "regex": [
124 | "#EXT-X-DISCONTINUITY\\r*\\n*#EXTINF:6\\.633333,[\\s\\S]*?#EXT-X-DISCONTINUITY",
125 | "#EXT-X-DISCONTINUITY\\r*\\n*#EXTINF:8\\.333333,[\\s\\S].*?\\.ts",
126 | "#EXTINF:2\\.933333,[\\s\\S].*?\\.ts"
127 | ]
128 | },
129 | {
130 | "name": "海外看",
131 | "hosts": [
132 | "haiwaikan"
133 | ],
134 | "regex": [
135 | "10.0099",
136 | "10.3333",
137 | "16.0599",
138 | "8.1748",
139 | "10.85"
140 | ]
141 | }
142 | ]
--------------------------------------------------------------------------------
/pushcover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyq254245/HikerRule/311707179ab0f998c358cce4856ba80f51c0b429/pushcover.png
--------------------------------------------------------------------------------
/xqys.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyq254245/HikerRule/311707179ab0f998c358cce4856ba80f51c0b429/xqys.png
--------------------------------------------------------------------------------
/zywcj.js:
--------------------------------------------------------------------------------
1 | function updata() {
2 | var res = {};
3 | var items = [];
4 |
5 | res.data = items;
6 | setHomeResult(res);
7 | };
8 |
9 | function filter(key) {
10 | var word = JSON.parse(base64Decode('WyLkvKbnkIYiLCAi5YaZ55yfIiwgIuemj+WIqSIsICJWSVAiLCAi576O5aWzIiwgIumHjOeVqiIsICLmgKfmhJ8iLCAi5YCr55CGIiwgIuiuuueQhiIsICLmiJDkuroiLCAi5oOF6ImyIiwgIuaXoOeggSIsICLmnInnoIEiLCAi5aa7IiwgIuivsSIsICLkubMiLCAi57qi5Li7IiwgIuiOiSIsICLlk4HmjqgiLCAi5paH5a2XIiwgIuS4iee6pyIsICLnvo7lsJEiLCAiSEVZIiwgIumqkeWFtSIsICLkuqfoh6oiLCAi5oCn54ixIiwgIuijuOiBiiIsICLkubHkvKYiLCAi5YG3IiwgIkFWIiwgImF2IiwgIua3qyIsICLlppYiLCAi5ZCM5oCnIiwgIueUt+WQjCIsICLlpbPlkIwiLCAi5Lq6IiwgIuWmhyIsICLkuJ0iLCAi56eBIiwgIueblyIsICLomZrmi58iLCAi5LqkIiwgIlNNIiwgIuaFsCIsICLnsr7lk4EiLCAi5a2m55SfIiwgIuWwhCIsICIzUCIsICLlpKfnp4AiLCAi57K+5ZOBIiwgIuWPo+WRsyIsICLpq5jmva4iLCAi5p6B5ZOBIiwgIkRNTSIsICLpppbmrKEiLCAi6L6j5qSSIiwgIuWutuaTgiIsICLoibLmg4UiLCAi5Li75pKtIiwgIuWQjeS8mCIsICLlubwiLCAi55yJIiwgIuWlsyIsICLpmLQiLCAi5aW4IiwgIui9qCIsICLluIgiLCAi5oOF5L6jIiwgIua/gCIsICLmgIEiLCAi5o6nIiwgIumjnuacuiIsICLmjqgiLCAi5r2uIiwgIum6u+ixhiIsICJleSJd'));
11 | for (var i = 0; i < word.length; i++) {
12 | if (key!=null&&key!=undefined&&key!=''&&key.indexOf(word[i]) > -1) {
13 | return true;
14 | }
15 | }
16 | return false;
17 | };
18 |
19 | function zywhm() {
20 | var html = getResCode();
21 | setItem('zylink', MY_URL);
22 | var arr = html.indexOf('http') != -1 ? html.match(/#[\s\S]*?#/g) : base64Decode(html).match(/#[\s\S]*?#/g);
23 | var setjson = JSON.parse(fetch('hiker://files/rules/xyq/zywset.json', {}));
24 | var ssmd = setjson.ssmode;
25 | var ssxc = setjson.sscount;
26 | var self = JSON.parse(getRule()).title;
27 | var res = {};
28 | var items = [];
29 | //items.push({col_type: 'line'});
30 |
31 | var decText = getMyVar("xyqzywcjtext", "");
32 | //items.push({
33 | //title: decText,
34 | //url: "input://" + '' + ".js:putVar('xyqtext',input);refreshPage()",
35 | //col_type: 'icon_1_search'
36 | //});
37 | items.push({
38 | title: '搜索',
39 | //url: "'toast://你输入的是' + input",
40 | url: $.toString(() => {
41 | var link = 'hiker://empty#noRecordHistory#$$$?wd=' + input + '&pg=1&ac=list$$$fypage';
42 | //log(link);
43 | return $(link).rule(() => {
44 | eval(fetch('hiker://files/rules/xyq/zywcj.js'));
45 | zywsea();
46 | });
47 | }),
48 | extra: {
49 | onChange: "putMyVar('xyqzywcjtext',input)",
50 | defaultValue: decText,
51 | titleVisible: true
52 | },
53 | col_type: 'input'
54 | });
55 | var ssyq = ['香情影视搜@@香情影视'];
56 | if (self !== '资源网采集.xyq') {
57 | items.push({
58 | title: self + '搜',
59 | url: $("#noLoading#").lazyRule(rule => 'hiker://search?s=' + getMyVar('xyqzywcjtext') + '&rule=' + rule, self),
60 | col_type: 'flex_button'
61 | });
62 | } else {
63 | for (var yq in ssyq) {
64 | var kj = ssyq[yq].split('@@');
65 | items.push({
66 | title: kj[0],
67 | url: $("#noLoading#").lazyRule(rule => 'hiker://search?s=' + getMyVar('xyqzywcjtext') + '&rule=' + rule, kj[1]),
68 | col_type: "flex_button"
69 | });
70 | }
71 | }
72 | items.push({
73 | title: '茶杯狐搜',
74 | url: $('hiker://empty#x#fypage@-1@#x#').rule(() => {
75 | var res = {};
76 | var d = [];
77 | eval(getCryptoJS());
78 | let tok = CryptoJS.SHA1(getMyVar('xyqzywcjtext') + 'URBBRGROUN').toString();
79 | var spl = MY_URL.split('#x#');
80 | var lin = 'http://www.chabeihu.org/api/v2/search/?text=' + getMyVar('xyqzywcjtext') + '&type=0&from=' + spl[1] * 10 + '&size=20&douban_id=0&token='+tok;
81 | var lint = 'http://www.chabeihu.org/api/v2/search/?text=' + getMyVar('xyqzywcjtext') + '&type=0&from=' + spl[1] * 24 + '&size=24&douban_id=0&token='+tok;
82 | var pn = spl[1] * 1 + 1;
83 | try{
84 | var urlo = JSON.parse(request(lin, {}));
85 | var urlt = JSON.parse(fetch(lin.replace('type=0', 'type=1'), {}));
86 | } catch (e) {
87 | var urlo = JSON.parse(request(lint, {}));
88 | var urlt = JSON.parse(fetch(lint.replace('type=0', 'type=1'), {}));
89 | }
90 | //log(urlo);
91 | if (urlo.resources.length < 1 && urlt.resources.length < 1) {
92 | d.push({
93 | title: '当前关键字 ' + getMyVar('xyqzywcjtext') + ' 无搜索结果',
94 | col_type: 'text_center_1'
95 | });
96 | }
97 | if (urlo.resources.length > 0) {
98 | d.push({
99 | title: '♥当前第' + pn + '页',
100 | col_type: 'text_center_1'
101 | });
102 |
103 | for (var i = 0; i < urlo.resources.length; i++) {
104 | var title = urlo.resources[i].text.replace(/\<.*?\>/g, '');
105 | var url = urlo.resources[i].url;
106 | var desc = urlo.resources[i].website;
107 | d.push({
108 | title: title.replace(getMyVar('xyqzywcjtext'), '““' + getMyVar('xyqzywcjtext') + '””') + ' ' + desc + ' 在线',
109 | url: url,
110 | //desc: '在线搜索结果',
111 | col_type: 'text_1'
112 | });
113 | }
114 | }
115 |
116 | if (urlt.resources.length > 0) {
117 | for (var j = 0; j < urlt.resources.length; j++) {
118 | var title = urlt.resources[j].text.replace(/\<.*?\>/g, '');
119 | var url = urlt.resources[j].url;
120 | var desc = urlt.resources[j].website;
121 | d.push({
122 | title: title.replace(getMyVar('xyqzywcjtext'), '““' + getMyVar('xyqzywcjtext') + '””') + ' ' + desc + ' 下载',
123 | url: url,
124 | //desc: '下载搜索结果',
125 | col_type: 'text_1'
126 | });
127 | }
128 | }
129 | res.data = d;
130 | setResult(res);
131 | }),
132 | col_type: "flex_button"
133 | });
134 | var len = [];
135 | for (var i = 0; i < arr.length; i++) {
136 | var tabs = arr[i].match(/#.*?[\s]/g)[0].split('#')[1].replace(/\r/, '').replace(/\n/, '');
137 | var list = arr[i].match(/[\S]*?,.*?[\s]/g);
138 |
139 | items.push({
140 | title: tabs,
141 | col_type: 'text_1'
142 |
143 | });
144 |
145 | for (var j = 0; j < list.length; j++) {
146 | len.push({
147 | title: list[j].split(',')[0]
148 | });
149 | items.push({
150 | title: list[j].split(',')[0],
151 | url: list[j].split(',')[1].replace(/\r/, '').replace(/\n/, '') + '?ac=list&pg=fypage',
152 | col_type: 'text_3'
153 | });
154 | }
155 | } //for arr.length
156 |
157 | items.unshift({
158 | title: '香情影视',
159 | //url: 'hiker://home@香情影视||https://agit.ai/lzk23559/Rulehouse/raw/branch/master/香情影视口令.txt',
160 | url:$('hiker://empty').lazyRule(() => {
161 | var md = fetch("hiker://home@香情影视");
162 | if (md.length > 5) {
163 | return 'hiker://home@香情影视';
164 | } else {
165 | let rule=request('https://agit.ai/lzk23559/Rulehouse/raw/branch/master/香情影视口令.txt',{});
166 | return rule
167 | }
168 | }),
169 | col_type: 'flex_button'
170 | });
171 | /*
172 | items.unshift({
173 | title: 'APP影视',
174 | url: 'hiker://home@APP影视(P)||https://agit.ai/lzk23559/Rulehouse/raw/branch/master/APP影视口令.txt',
175 | col_type: 'flex_button'
176 | });*/
177 | items.unshift({
178 | title: '🔍设置' + '(' + (ssmd == 1 ? '聚' + ssxc : '列') + ')',
179 | url: $('hiker://empty#noRecordHistory#').rule(() => {
180 | var d = [];
181 | var setjson = JSON.parse(fetch('hiker://files/rules/xyq/zywset.json', {}));
182 | var ssmd = setjson.ssmode;
183 | var ssxc = setjson.sscount;
184 | var ssout = setjson.tmout;
185 | d.push({
186 | title: '搜索设置',
187 | col_type: 'text_center_1'
188 | });
189 | d.push({
190 | title: '当前:' + '(' + (ssmd == 1 ? '聚合结果' : '引擎列表') + ')',
191 | url: $('hiker://empty').lazyRule(() => {
192 | var md = JSON.parse(fetch('hiker://files/rules/xyq/zywset.json', {})).ssmode;
193 | if (md == 1) {
194 | var fileUrl = fetch("hiker://files/rules/xyq/zywset.json", {}).replace('\"ssmode\":\"1\"', '\"ssmode\":\"0\"');
195 | writeFile("hiker://files/rules/xyq/zywset.json", fileUrl);
196 | back(true);
197 | return 'toast://切换为搜索引擎列表单选模式成功!';
198 | } else {
199 | var fileUrl = fetch("hiker://files/rules/xyq/zywset.json", {}).replace('\"ssmode\":\"0\"', '\"ssmode\":\"1\"');
200 | writeFile("hiker://files/rules/xyq/zywset.json", fileUrl);
201 | back(true);
202 | return 'toast://切换为聚合搜索模式成功!'
203 | }
204 | }),
205 | col_type: 'text_2'
206 | })
207 | d.push({
208 | title: '搜索超时'+ssout+'',
209 | url: "input://" + JSON.stringify({
210 | value: "3000",
211 | hint: "请设置超时时间,1000为1秒。",
212 | js: $.toString(() => {
213 | var num = parseInt(input).toString();
214 | if (num == 'NaN' || num < 100) {
215 | return 'toast://输入的值好像不正确。';
216 | } else {
217 | var fileUrl = fetch('hiker://files/rules/xyq/zywset.json', {}).replace(/"tmout":"[\d]*"/, '"tmout":"' + num + '"');
218 | writeFile('hiker://files/rules/xyq/zywset.json', fileUrl);
219 | refreshPage(true);
220 | return 'toast://保存设置搜索超时完成!'
221 | }
222 | }),
223 | }),
224 | col_type: 'text_2'
225 | });
226 | d.push({
227 | title: '搜索线程'+'('+ssxc+')',
228 | url: "input://" + JSON.stringify({
229 | value: "5",
230 | hint: "请输入一个整数数字,推荐最大不要超过15。",
231 | js: $.toString(() => {
232 | var num = parseInt(input).toString();
233 | if (num == 'NaN' || num < 1) {
234 | return 'toast://输入的值好像不正确。';
235 | } else {
236 | var fileUrl = fetch("hiker://files/rules/xyq/zywset.json", {}).replace(/"sscount":"[\d]*"/, '"sscount":"' + num + '"');
237 | writeFile("hiker://files/rules/xyq/zywset.json", fileUrl);
238 | refreshPage(true);
239 | return 'toast://保存设置搜索线程完成!'
240 | }
241 | }),
242 | }),
243 | col_type: 'text_2'
244 | });
245 | d.push({
246 | title: '接口文件管理(支持xml与json采集接口)',
247 | col_type: 'text_center_1'
248 | });
249 | d.push({
250 | title: '打开编辑',
251 | url: $().lazyRule(() => {
252 | return 'editFile://hiker://files/rules/xyq/ZYWCJ.txt'
253 | }),
254 | col_type: 'text_2'
255 | });
256 | d.push({
257 | title: '↓规则相关更新↓',
258 | col_type: 'text_center_1'
259 | });
260 | d.push({
261 | title: '更新ZYWCJ.txt(接口文件)',
262 | url: "confirm://确认更新此文件,会覆盖自添加接口哟?.js:" + $.toString(() => {
263 | var ruletxt = fetch('https://github.moeyy.xyz/https://raw.githubusercontent.com/xyq254245/HikerRule/main/ZYWCJ.txt', {});
264 | if (ruletxt.search(/provide/) != -1) {
265 | writeFile("hiker://files/rules/xyq/ZYWCJ.txt", ruletxt);
266 | return 'toast://更新成功。'
267 | } else {
268 | return 'toast://更新失败。'
269 | }
270 | }),
271 | desc: '如有自添加接口可忽略。',
272 | col_type: 'text_center_1'
273 | });
274 | d.push({
275 | title: '更新zywcj.js(规则核心文件)',
276 | url: $().lazyRule(() => {
277 | var rulejs = request('https://github.moeyy.xyz/https://raw.githubusercontent.com/xyq254245/HikerRule/main/zywcj.js', {});
278 | //var parsejs = request('https://github.moeyy.xyz/https://raw.githubusercontent.com/xyq254245/HikerRule/main/parse.js', {});
279 | eval(rulejs);
280 | if (filter(base64Decode('5peg56CB'))) {
281 | writeFile("hiker://files/rules/xyq/zywcj.js", rulejs);
282 | //writeFile("hiker://files/libs/1e7db6906ccc9c8dd92ca42cba0fc3ff.js", parsejs);
283 | back(true);
284 | return 'toast://应该是最新了吧。';
285 | } else {
286 | return 'toast://更新失败。'
287 | }
288 | }),
289 | desc: '推荐更新,有益无害。',
290 | col_type: 'text_center_1'
291 | });
292 | setResult(d)
293 | }),
294 | col_type: 'flex_button'
295 | });
296 |
297 | res.data = items;
298 | setHomeResult(res);
299 | };
300 |
301 |
302 | //图片替换函数
303 | function picfun() {
304 | if (MY_URL.indexOf("pangniaozyw") != -1 || MY_URL.indexOf("leshizyw") != -1 || MY_URL.indexOf("9191zy") != -1) {
305 | pic = "https://tu.tianzuida.com/pic/" + pic;
306 | } else if (MY_URL.indexOf("lby") != -1) {
307 | pic.indexOf("http") != -1 ? pic = pic : pic = "http://cj.lby.pet/" + pic;
308 | } else if (MY_URL.indexOf("xjiys") != -1) {
309 | pic = pic.replace("img.maccms.com", "xjiys.com");
310 | } else if (MY_URL.indexOf("shidian") != -1) {
311 | pic = pic.replace("img.maccms.com", "shidian.vip");
312 | } else if (MY_URL.indexOf("17kanju") != -1) {
313 | pic = pic.replace("img.maccms.com", "img.17kanju.com");
314 | } else if (MY_URL.indexOf("potatost") != -1) {
315 | pic = pic.replace("http://img.maccms.com//pic=", "");
316 | }
317 | };
318 | //列表解析函数
319 | function listfun() {
320 | try {
321 | var list = parseDomForArray(html, "rss&&video");
322 | for (var j = 0; j < list.length; j++) {
323 | var title = parseDomForHtml(list[j], "body&&name&&Text").split('<')[0];
324 | var url = parseDomForHtml(list[j], "body&&id&&Text");
325 | var note = parseDomForHtml(list[j], "body&¬e&&Text");
326 | var typ = parseDomForHtml(list[j], "body&&type&&Text");
327 | var last = parseDomForHtml(list[j], "body&&last&&Text");
328 | if(note==undefined){
329 | note="";
330 | }
331 | if (!filter(typ)) {
332 | if (html.indexOf("") != -1&&listmod == '0') {
333 | var pic = parseDomForHtml(list[j], "body&&pic&&Text").replace("http://t.8kmm.com", "https://www.wxtv.net");
334 | eval(fetch("hiker://files/rules/xyq/zywcj.js"));
335 | picfun();
336 | items.push({
337 | title: title,
338 | pic_url: pic + '@Referer=' + pic,
339 | desc: note,
340 | url: arrr + "?ac="+(arrr.includes('jisubt')?'detail':'videolist')+"&ids=" + url + `@rule=js:eval(fetch('hiker://files/rules/xyq/zywcj.js'));SSEJ();`,
341 | col_type: "movie_3"
342 | });
343 | } else {
344 | var dt = parseDomForHtml(list[j], "body&&dt&&Text");
345 | items.push({
346 | title: title + " 状态:" + note,
347 | desc: last + ' ' + typ + ' ' + dt,
348 | url: arrr + "?ac="+(arrr.includes('jisubt')?'detail':'videolist')+"&ids=" + url + `@rule=js:eval(fetch('hiker://files/rules/xyq/zywcj.js'));SSEJ();`,
349 | col_type: "text_1"
350 | })
351 | }
352 | }
353 | }
354 | } catch (e) {}
355 | };
356 |
357 | //json列表解析函数
358 | function jsonlist() {
359 | try {
360 | if (html.data) {
361 | var list = html.data;
362 | } else {
363 | var list = html.list;
364 | }
365 | for (var j = 0; j < list.length; j++) {
366 | var title = list[j].vod_name;
367 | var url = list[j].vod_id;
368 | if (list[j].vod_remarks) {
369 | var note = list[j].vod_remarks;
370 | } else {
371 | var note = list[j].vod_total;
372 | }
373 | if(note==undefined){
374 | note="";
375 | }
376 | var typ = list[j].type_name;
377 | if (list[j].vod_addtime) {
378 | var last = list[j].vod_addtime;
379 | } else {
380 | var last = list[j].vod_time;
381 | }
382 | if (!filter(typ)) {
383 | if (list[j].vod_pic&&listmod == '0') {
384 | var pic = list[j].vod_pic;
385 | items.push({
386 | title: title,
387 | pic_url: pic + '@Referer=' + pic,
388 | desc: note,
389 | url: arrr + "?ac="+(arrr.includes('jisubt')?'detail':'videolist')+"&ids=" + url + `@rule=js:eval(fetch('hiker://files/rules/xyq/zywcj.js'));SSEJ();`,
390 | col_type: "movie_3"
391 | });
392 | } else {
393 | var dt = list[j].vod_play_from;
394 | items.push({
395 | title: title + " 状态:" + note,
396 | desc: last + ' ' + typ + ' ' + dt,
397 | url: arrr + "?ac="+(arrr.includes('jisubt')?'detail':'videolist')+"&ids=" + url + `@rule=js:eval(fetch('hiker://files/rules/xyq/zywcj.js'));SSEJ();`,
398 | col_type: "text_1"
399 | })
400 | }
401 | }
402 | }
403 | } catch (e) {}
404 | };
405 |
406 |
407 | //二级规则函数
408 | function TWEJ() {
409 | var res = {};
410 | var items = [];
411 | var arrr = MY_URL.split("?")[0];
412 | var pn = MY_URL.split("=")[2];
413 | var listmod = JSON.parse(fetch('hiker://files/rules/xyq/zywset.json', {})).listmod;
414 | if (listmod == '1') {
415 | html = getResCode();
416 | } else {
417 | html = request(MY_URL.replace('ac=list', 'ac=videolist'))
418 | }
419 | //对第一页分类进行处理
420 | if (pn == '1') {
421 | try {
422 | if (/\<\/class\>/.test(html)) {
423 | rescod = getResCode();
424 | } else if (/type_name/.test(html)) {
425 | rescod = getResCode();
426 | } else {
427 | rescod = request(arrr + "?ac=list")
428 | }
429 | if (/list_name/.test(rescod)) {
430 | var type = JSON.parse(rescod).list;
431 | } else if (/type_name/.test(rescod)) {
432 | var type = JSON.parse(rescod).class;
433 | } else {
434 | var type = parseDomForHtml(rescod, "class&&Html").match(//g);
435 | }
436 | for (var i = 0; i < type.length; i++) {
437 | if (/list_name/.test(rescod)) {
438 | var typ = type[i].list_name;
439 | var tyid = type[i].list_id;
440 | } else if (/vod_play_from/.test(rescod)) {
441 | var typ = type[i].type_name;
442 | var tyid = type[i].type_id;
443 | } else {
444 | var typ = parseDomForHtml(type[i], "body&&Text").split('{')[0];
445 | var tyid = parseDomForHtml(type[i], "body&&ty&&id");
446 | }
447 | if (!filter(typ)) {
448 | items.push({
449 | title: typ,
450 | url: $(arrr + "?ac=list&pg=fypage&t=" + tyid).rule(() => {
451 | var arrr = MY_URL.split("?")[0];
452 | var pn = MY_URL.split("pg=")[1].split("&t=")[0];
453 | var listmod = JSON.parse(fetch('hiker://files/rules/xyq/zywset.json', {})).listmod;
454 | if (listmod == '1') {
455 | html = getResCode();
456 | } else {
457 | html = request(MY_URL.replace('ac=list', 'ac=videolist'))
458 | }
459 | var res = {};
460 | var items = [];
461 | if (pn == '1') {
462 | items.push({
463 | title: '‘‘’’纯文本列表',
464 | desc: '',
465 | url: $('hiker://empty').lazyRule(() => {
466 | var fileUrl = fetch("hiker://files/rules/xyq/zywset.json", {}).replace('\"listmod\":\"0\"', '\"listmod\":\"1\"');
467 | writeFile("hiker://files/rules/xyq/zywset.json", fileUrl);
468 | refreshPage();
469 | return 'toast://切换成功!'
470 | }),
471 | col_type: 'text_2'
472 | });
473 | items.push({
474 | title: '‘‘’’图文列表',
475 | desc: '',
476 | url: $('hiker://empty').lazyRule(() => {
477 | var fileUrl = fetch("hiker://files/rules/xyq/zywset.json", {}).replace('\"listmod\":\"1\"', '\"listmod\":\"0\"');
478 | writeFile("hiker://files/rules/xyq/zywset.json", fileUrl);
479 | refreshPage();
480 | return 'toast://切换成功!'
481 | }),
482 | col_type: 'text_2'
483 | });
484 | items.push({
485 | col_type: 'line'
486 | });
487 | }
488 |
489 | if (/vod_play_from/.test(html)) {
490 | html = JSON.parse(html);
491 | eval(fetch('hiker://files/rules/xyq/zywcj.js'));
492 | jsonlist();
493 | } else {
494 | eval(fetch('hiker://files/rules/xyq/zywcj.js'));
495 | listfun();
496 | }
497 |
498 | res.data = items;
499 | setHomeResult(res);
500 | }),
501 | //col_type:"text_3"
502 | col_type: type.length >= 16 ? 'scroll_button' : 'flex_button'
503 | //col_type:'flex_button'
504 | });
505 | }
506 | }
507 | } catch (e) {}
508 | items.push({
509 | col_type: 'line'
510 | });
511 | items.push({
512 | title: '‘‘’’纯文本列表',
513 | desc: '',
514 | url: $('hiker://empty').lazyRule(() => {
515 | var fileUrl = fetch("hiker://files/rules/xyq/zywset.json", {}).replace('\"listmod\":\"0\"', '\"listmod\":\"1\"');
516 | writeFile("hiker://files/rules/xyq/zywset.json", fileUrl);
517 | refreshPage();
518 | return 'toast://切换成功!'
519 | }),
520 | col_type: 'text_2'
521 | });
522 | items.push({
523 | title: '‘‘’’图文列表',
524 | desc: '',
525 | url: $('hiker://empty').lazyRule(() => {
526 | var fileUrl = fetch("hiker://files/rules/xyq/zywset.json", {}).replace('\"listmod\":\"1\"', '\"listmod\":\"0\"');
527 | writeFile("hiker://files/rules/xyq/zywset.json", fileUrl);
528 | refreshPage();
529 | return 'toast://切换成功!'
530 | }),
531 | col_type: 'text_2'
532 | });
533 | items.push({
534 | col_type: 'line'
535 | });
536 | }
537 | //结束第一页分类处理
538 |
539 | //对列表处理开始
540 | if (/vod_play_from/.test(html)) {
541 | html = JSON.parse(html);
542 | eval(fetch('hiker://files/rules/xyq/zywcj.js'));
543 | jsonlist();
544 | } else {
545 | eval(fetch('hiker://files/rules/xyq/zywcj.js'));
546 | listfun();
547 | }
548 | //对列表处理结束
549 | res.data = items;
550 | setHomeResult(res);
551 | };
552 |
553 | function zywsea() {
554 | var res = {};
555 | var items = [];
556 | var ss = MY_URL.split('$$$')[1];
557 | var skey = MY_URL.match(/\?wd\=(.*?)\&pg/)[1];
558 | var ssmode = JSON.parse(fetch('hiker://files/rules/xyq/zywset.json', {})).ssmode;
559 | //setError(skey)
560 | var src = fetch(getItem('zylink', 'hiker://files/rules/xyq/ZYWCJ.txt'), {});
561 | //var src = fetch('https://github.moeyy.xyz/https://raw.githubusercontent.com/xyq254245/HikerRule/main//ZYWCJ.txt', {});
562 | var arrs = src.indexOf('http') != -1 ? src.match(/#[\s\S]*?#/g) : base64Decode(src).match(/#[\s\S]*?#/g);
563 | //var cc = src.indexOf('http') != -1 ? src.match(/[\S]*?,.*?[\s]/g) : base64Decode(src).match(/[\S]*?,.*?[\s]/g);
564 | if (ssmode == '1' || MY_TYPE == "home") {
565 | for (var l = 0; l < arrs.length; l++) {
566 | var tabs = arrs[l].match(/#.*?[\s]/g)[0].split('#')[1].replace(/\r/, '').replace(/\n/, '');
567 | var list = arrs[l].match(/[\S]*?,.*?[\s]/g);
568 | items.push({
569 | title: MY_TYPE == "home" ? tabs + " 点击此分类查看 ““" + skey + "”” 的搜索结果" : tabs + " 点击此分类查看 " + skey + " 的搜索结果",
570 | url: $('hiker://empty#noRecordHistory#$$$' + ss + '$$$fypage').rule((list,tabs) => {
571 | var items = [];
572 | setPageTitle(tabs);
573 | eval(fetch('hiker://files/rules/xyq/zywcj.js'));
574 | var timeou = JSON.parse(fetch('hiker://files/rules/xyq/zywset.json', {})).tmout;
575 | //获取搜索线程数量
576 | var ssxc = JSON.parse(fetch('hiker://files/rules/xyq/zywset.json', {})).sscount;
577 | var skey = MY_URL.match(/\?wd\=(.*?)\&pg/)[1];
578 | var ss = MY_URL.split('$$$')[1];
579 | var num = MY_URL.split('$$$')[2];
580 | var le = num * ssxc;
581 | //log(list);
582 | var Data = [];
583 | var Tit = [];
584 | var Ost = [];
585 | let pageid = "__zyw" + num;
586 | try {
587 | for (var i = le - ssxc; i < le; i++) {
588 | if (i < list.length) {
589 | var arr = list[i].split(',')[1].replace(/\r/, '').replace(/\n/, '');
590 | var arrt = list[i].split(',')[0];
591 | var link = arr + ss;
592 | //屏蔽不支持搜索的1717和穿梭
593 | if (!/itono|888hyk|okcj|openyun|8kvod/.test(list[i])) {
594 | //Data.push({url:link,options:{headers:{'User-Agent':MOBILE_UA}}});
595 | Data.push({
596 | url: link,
597 | options: {
598 | headers: {
599 | 'User-Agent': MOBILE_UA
600 | },
601 | timeout: timeou
602 | }
603 | });
604 | Tit.push({
605 | tit: arrt
606 | });
607 | Ost.push({
608 | url: arr
609 | });
610 | }
611 | }
612 | }
613 | } catch (e) {}
614 | if (Data.length <= 0) {
615 | setResult([]);
616 | } else {
617 | items.push({
618 | title: "正在加载中第" + MY_PAGE + "页,进度:1/" + Data.length,
619 | url: "",
620 | col_type: "text_center_1",
621 | desc: "",
622 | pic_url: "",
623 | extra: {
624 | id: pageid
625 | }
626 | });
627 | setResult(items);
628 | let tasks = [];
629 | for (let k in Data) {
630 | let it = Data[k];
631 | tasks.push({
632 | func: function(param) {
633 | let items = [];
634 | let html = fetch(param.it.url, param.it.options);
635 | //log(html);
636 | if (/\