├── 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 (/\/.test(html) || /vod_name/.test(html)) { 637 | if (/list_name/.test(html)) { 638 | var list = JSON.parse(html).data; 639 | } else if (/vod_name/.test(html)) { 640 | var list = JSON.parse(html).list; 641 | } else { 642 | var list = parseDomForArray(html, 'rss&&video'); 643 | } 644 | //setError(list[0]); 645 | for (var j = 0; j < list.length; j++) { 646 | if (/vod_name/.test(html)) { 647 | var title = list[j].vod_name; 648 | var ids = list[j].vod_id; 649 | if (/vod_remarks/.test(html)) { 650 | var note = list[j].vod_remarks; 651 | } else { 652 | var note = list[j].vod_total; 653 | } 654 | var typ = list[j].type_name; 655 | var dt = list[j].vod_play_from; 656 | } else { 657 | var title = parseDomForHtml(list[j], 'body&&name&&Text'); 658 | var ids = parseDomForHtml(list[j], 'body&&id&&Text'); 659 | var note = parseDomForHtml(list[j], 'body&¬e&&Text'); 660 | var typ = parseDomForHtml(list[j], 'body&&type&&Text'); 661 | var dt = parseDomForHtml(list[j], 'body&&dt&&Text'); 662 | } 663 | if(note==undefined){ 664 | note=""; 665 | } 666 | if (!filter(typ)) { 667 | items.push({ 668 | title: MY_TYPE == "home" ? title.replace(skey, '““' + skey + '””') + note : title + " " + ' • ' + note, 669 | desc: ' ' + param.tit.tit + ' · ' + typ + ' · ' + dt, 670 | url: param.ost.url + "?ac="+(param.ost.url.includes('jisubt')?'detail':'videolist')+"&ids=" + ids + `@rule=js:var erj=fetch("hiker://files/rules/xyq/zywcj.js",{});eval(erj);SSEJ();`, 671 | col_type: 'text_center_1' 672 | }); 673 | } 674 | } //for j 675 | } else { 676 | items.push({ 677 | title: '““' + param.tit.tit + '””' + '未搜索到相关资源', 678 | desc:'', 679 | url: param.it.url + `@lazyRule=.js:input+'#ignoreVideo=true#'`, 680 | col_type: 'text_center_1' 681 | }); 682 | }; 683 | return items; 684 | }, 685 | param: { 686 | it: it, 687 | ost: Ost[k], 688 | tit: Tit[k] 689 | }, 690 | id: "task" 691 | }); 692 | } 693 | batchExecute(tasks, { 694 | func: function(param, id, error, result) { 695 | //log("listener: " + (result || []).length) 696 | param.i = param.i + 1; 697 | if (result) { 698 | for (let it of result) { 699 | param.j = param.j + 1; 700 | addItemBefore(pageid, { 701 | title: it.title, 702 | desc: it.desc, 703 | url: it.url, 704 | col_type: 'text_center_1', 705 | extra: { 706 | id: "__zyw" + MY_PAGE + "@" + param.j 707 | } 708 | }) 709 | } 710 | 711 | } 712 | if (param.i >= param.all) { 713 | deleteItem(pageid) 714 | } else { 715 | updateItem({ 716 | title: "正在加载第" + MY_PAGE + "页,进度:" + (param.i + 1) + "/" + param.all, 717 | url: "", 718 | col_type: "text_center_1", 719 | desc: "", 720 | extra: { 721 | id: pageid 722 | } 723 | }) 724 | } 725 | }, 726 | param: { 727 | all: Data.length, 728 | i: 0, 729 | j: -1 730 | } 731 | }) 732 | } 733 | }, list,tabs), 734 | col_type: 'text_1' 735 | }); 736 | 737 | } 738 | }; //end mode 0 739 | if (ssmode == '0' || MY_TYPE == "home") { 740 | for (var i = 0; i < arrs.length; i++) { 741 | var tabs = arrs[i].match(/#.*?[\s]/g)[0].split('#')[1].replace(/\r/, '').replace(/\n/, ''); 742 | var list = arrs[i].match(/[\S]*?,.*?[\s]/g); 743 | 744 | items.push({ 745 | title: MY_TYPE == "home" ? tabs + " 选择一个项目查看 ““" + skey + "”” 的搜索结果" : tabs + " 选择一个项目查看 " + skey + " 的搜索结果", 746 | col_type: 'text_1' 747 | }); 748 | for (var j = 0; j < list.length; j++) { 749 | //屏蔽不支持搜索的1717和穿梭 750 | if (!/itono|888hyk|okcj|openyun|8kvod/.test(list[j])) { 751 | items.push({ 752 | title: list[j].split(',')[0], 753 | url: list[j].split(',')[1].replace(/\r/, '').replace(/\n/, '') + ss.replace(/pg=\d*/g, 'pg=fypage') + `@rule=js:var erj=fetch("hiker://files/rules/xyq/zywcj.js",{});eval(erj);zywerj();`, 754 | col_type: 'text_3' 755 | }); 756 | } 757 | } 758 | } 759 | } //end mode 0 760 | res.data = items; 761 | setSearchResult(res); 762 | }; 763 | 764 | function zywerj() { 765 | var res = {}; 766 | var items = []; 767 | var domain = MY_URL.split('?')[0]; 768 | var skey = MY_URL.match(/\?wd\=(.*?)\&pg/)[1]; 769 | var html = getResCode(); 770 | 771 | //setError(html); 772 | if (/\/.test(html) || /vod_name/.test(html)) { 773 | if (/list_name/.test(html)) { 774 | var list = JSON.parse(html).data; 775 | } else if (/vod_name/.test(html)) { 776 | var list = JSON.parse(html).list; 777 | } else { 778 | var list = parseDomForArray(html, 'rss&&video'); 779 | } 780 | for (var j = 0; j < list.length; j++) { 781 | if (/vod_name/.test(html)) { 782 | var title = list[j].vod_name; 783 | var ids = list[j].vod_id; 784 | if (/vod_remarks/.test(html)) { 785 | var note = list[j].vod_remarks; 786 | } else { 787 | var note = list[j].vod_total; 788 | } 789 | if (/vod_addtime/.test(html)) { 790 | var last = list[j].vod_addtime; 791 | } else { 792 | var last = list[j].vod_time; 793 | } 794 | var typ = list[j].type_name; 795 | var dt = list[j].vod_play_from; 796 | } else { 797 | var title = parseDomForHtml(list[j], 'body&&name&&Text'); 798 | var ids = parseDomForHtml(list[j], 'body&&id&&Text'); 799 | var note = parseDomForHtml(list[j], 'body&¬e&&Text'); 800 | var last = parseDomForHtml(list[j], "body&&last&&Text"); 801 | var typ = parseDomForHtml(list[j], 'body&&type&&Text'); 802 | var dt = parseDomForHtml(list[j], 'body&&dt&&Text'); 803 | } 804 | if(note==undefined){ 805 | note=""; 806 | } 807 | if (!filter(typ)) { 808 | items.push({ 809 | title: title.replace(skey, '““' + skey + '””') + " " + ' • ' + note, 810 | desc: last + ' · ' + typ + ' · ' + dt, 811 | url: domain + "?ac="+(domain.includes('jisubt')?'detail':'videolist')+"&ids=" + ids + `@rule=js:var erj=fetch("hiker://files/rules/xyq/zywcj.js",{});eval(erj);SSEJ();`, 812 | col_type: 'text_center_1' 813 | }); 814 | } 815 | } 816 | } else { 817 | items.push({ 818 | title: '未搜索到相关资源', 819 | url: MY_URL, 820 | col_type: 'text_center_1' 821 | }); 822 | } 823 | 824 | res.data = items; 825 | setHomeResult(res); 826 | 827 | }; 828 | 829 | //选集与简介规则 830 | function SSEJ() { 831 | var res = {}; 832 | var items = []; 833 | var tvlist = []; 834 | var tvtabs =[]; 835 | refreshX5WebView(""); 836 | items.push({ 837 | title: '', 838 | desc: '255&&float', 839 | url: '', 840 | col_type: 'x5_webview_single' 841 | }); 842 | var html = getResCode().replace(/\<\!\[CDATA\[/g,'').replace(/\]\]\>/g,''); 843 | try { 844 | if (/vod_play_from/.test(html)) { 845 | var jhtml = JSON.parse(html); 846 | if (/list_name/.test(html)) { 847 | var pic = jhtml.data[0].vod_pic; 848 | var typ = jhtml.data[0].type_name; 849 | var vodname = jhtml.data[0].vod_name; 850 | var des = jhtml.data[0].vod_content; 851 | var act = jhtml.data[0].vod_actor; 852 | var dir = jhtml.data[0].vod_director; 853 | var tabs = jhtml.data[0].vod_play_from.split('$$$'); 854 | var conts = jhtml.data[0].vod_play_url.split('$$$'); 855 | var url = jhtml.data[0].vod_id; 856 | } else { 857 | var pic = jhtml.list[0].vod_pic; 858 | var typ = jhtml.list[0].type_name; 859 | var vodname = jhtml.list[0].vod_name; 860 | var des = jhtml.list[0].vod_content; 861 | var act = jhtml.list[0].vod_actor; 862 | var dir = jhtml.list[0].vod_director; 863 | var tabs = jhtml.list[0].vod_play_from.split('$$$'); 864 | var conts = jhtml.list[0].vod_play_url.split('$$$'); 865 | var url = jhtml.list[0].vod_id; 866 | } 867 | } else { 868 | var pic = parseDomForHtml(html, "rss&&pic&&Text").replace("http://t.8kmm.com", "https://www.wxtv.net"); 869 | eval(fetch('hiker://files/rules/xyq/zywcj.js')); 870 | picfun(); 871 | var typ = parseDomForHtml(html, "body&&type&&Text"); 872 | var des = parseDomForHtml(html, "rss&&des&&Text"); 873 | var act = parseDomForHtml(html, "rss&&actor&&Text"); 874 | var dir = parseDomForHtml(html, "rss&&director&&Text"); 875 | var tabs = parseDomForArray(html, 'rss&&dl&&dd'); 876 | var conts = parseDomForArray(html, 'rss&&dl&&dd'); 877 | var url = parseDomForHtml(html, 'rss&&id&&Text'); 878 | var vodname = parseDomForHtml(html, 'rss&&name&&Text'); 879 | 880 | } 881 | //log(tabs); 882 | 883 | if (!filter(typ)) { 884 | setPagePicUrl(pic); 885 | items.push({ 886 | title: '演员:' + '\n' + act, 887 | desc: '导演:' + dir, 888 | pic_url: pic + '@Referer=' + pic, 889 | url: $('hiker://empty#noRecordHistory#').rule((des) => {setResult([{title: des, col_type: 'long_text'}]);}, des), 890 | col_type: 'movie_1_vertical_pic' 891 | }); 892 | var realurl = ["v.pptv.com", "www.mgtv.com", "www.iqiyi.com", "v.youku.com", "tv.sohu.com", "www.le.com", "v.qq.com", "www.ixigua.com", "www.bilibili.com", "m.1905.com", "vip.1905.com","www.miguvideo.com"]; 893 | for (var i in realurl) { 894 | if (html.search(realurl[i]) != -1) { 895 | var dnen = JSON.parse(fetch('hiker://files/rules/xyq/zywset.json', {})).enDn; 896 | items.push({ 897 | title:'断插:'+(dnen == 1?'““✅””':'❎'), 898 | url:$('hiker://empty#noRecordHistory#').lazyRule((dnen)=>{ 899 | if (dnen == 1) { 900 | var fileUrl = fetch("hiker://files/rules/xyq/zywset.json", {}).replace('\"enDn\":\"1\"', '\"enDn\":\"0\"'); 901 | writeFile("hiker://files/rules/xyq/zywset.json", fileUrl); 902 | refreshPage(false); 903 | return 'toast://已禁用断插调用!'; 904 | } else { 905 | var fileUrl = fetch("hiker://files/rules/xyq/zywset.json", {}).replace('\"enDn\":\"0\"', '\"enDn\":\"1\"'); 906 | writeFile("hiker://files/rules/xyq/zywset.json", fileUrl); 907 | refreshPage(false); 908 | return 'toast://已开启断插调用!' 909 | } 910 | },dnen), 911 | col_type:'flex_button' 912 | }); 913 | if(dnen != 1){ 914 | var parse = ['默认解析','默认解析弹幕版']; 915 | for (var k in parse){ 916 | items.push({ 917 | title: (getItem('zywparse',parse[0]) == parse[k] ? '““' + parse[k] + '””' : parse[k]), 918 | url:$(parse[k]).lazyRule(()=>{setItem('zywparse',input);refreshPage(false);return 'hiker://empty'}), 919 | col_type: 'flex_button' 920 | }) 921 | } 922 | }else{ 923 | items.push({ 924 | title: '线路配置', 925 | url: "hiker://empty#noRecordHistory#@rule=js:this.d=[];require('https://gitea.com/AI957/Hiker/raw/m/v/Route.js');Route.setParse();setResult(d);", 926 | col_type: 'flex_button' 927 | }); 928 | items.push({ 929 | title: '解析管理', 930 | url: "hiker://empty#noRecordHistory#@rule=js:this.d=[];eval(fetch('hiker://files/cache/fileLinksᴰⁿ.txt'));require(fLinks.jxItUrl);jxItem.jxList();setResult(d)", 931 | col_type: 'flex_button' 932 | }); 933 | } 934 | break} 935 | }; 936 | items.push({ 937 | title: getMyVar('zywlsort','1')=='1'?'排序':'““排序””', 938 | url: "hiker://empty#noHistory#@lazyRule=.js:putMyVar('zywlsort', getMyVar('zywlsort','1')=='1'?'0':'1');refreshPage(false);'toast://切换成功!'", 939 | col_type: 'scroll_button' 940 | }); 941 | var gmv=MY_URL; 942 | //-----简介选集分割线---// 943 | for (var k = 0; k < conts.length; k++) { 944 | if (/dd flag/.test(conts)) { 945 | var flag = parseDomForHtml(tabs[k], "dd&&flag"); 946 | } else { 947 | var flag = tabs[k]; 948 | }; 949 | if (/dd flag/.test(conts)) { 950 | var lists = conts[k].split(">\n")[1].split("\n<")[0].split("#"); 951 | } else if (/\r/.test(conts)) { 952 | var lists = conts[k].split("\r"); 953 | } else { 954 | var lists = conts[k].split("#"); 955 | } 956 | items.push({ 957 | title: (getMyVar(gmv, '0') == k ? '““' + flag + '””' : flag), 958 | url: `hiker://empty@lazyRule=.js:putMyVar('` + gmv + "', '" + k + `');refreshPage();'toast://切换成功!'`, 959 | col_type: 'scroll_button' 960 | }); 961 | tvlist.push(lists.join('#')); 962 | tvtabs.push(flag); 963 | }; 964 | 965 | if (getMyVar('zywlsort', '1') == '1') { 966 | var list = tvlist[getMyVar(gmv, '0')].split("#"); 967 | } else { 968 | var list = tvlist[getMyVar(gmv, '0')].split("#").reverse(); 969 | } 970 | //log(list); 971 | var flag = tvtabs[getMyVar(gmv, '0')]; 972 | 973 | if (list != null) { 974 | var url = {}; 975 | for (var j = 0; j < list.length; j++) { 976 | 977 | if (list[j].split('$')[1] != null) { 978 | url = list[j].split('$')[1]; 979 | } else { 980 | url = list[j].split('$')[0]; 981 | } 982 | if (flag == 'leduo') { 983 | url = 'https://api.ldjx.cc/wp-api/ifrty.php?isDp=1&vid=' + url 984 | } 985 | if (MY_URL.indexOf('yparse') != -1) { 986 | url = 'http://jx.yparse.com/index.php?url=' + url 987 | } 988 | if (MY_URL.indexOf('7kjx') != -1) { 989 | url = 'https://jx.xmflv.com/?url=' + url 990 | } 991 | if (MY_URL.indexOf('vipm3u8') != -1) { 992 | url = 'http://player.travelbooking.cc/player?vid=' + url+'&token=4732bUERfVb60lWNSLrsd5-2s1r70KeA89C3VwrGYYdByboQT9o4OzxIr5-8/cX9-sO6' 993 | } 994 | if (MY_URL.indexOf('ujuba') != -1) { 995 | url = 'https://zy.ujuba.com/play.php?url=' + url 996 | } 997 | if (flag == 'ddyunp' || flag == 'xin') { 998 | url = 'https://player.90mm.me/play.php?url=' + url.replace(/第.*?集/g, '') 999 | } 1000 | if (flag == 'qdyun') { 1001 | url = 'http://qdy.zt6a.cn/parse?resources=' + url 1002 | } 1003 | if (flag == 'ppayun' || flag == 'gangtiexia') { 1004 | url = url.substring(0, 4) == 'http' ? url.replace('683d2433ee134cde8063d50506c1a1b1', '3bb24322f78b47dfb8723c13d46d45ee') : 'https://wy.mlkioiy.cn/api/GetDownUrlWy/3bb24322f78b47dfb8723c13d46d45ee/' + url 1005 | } 1006 | if (flag == 'tt10') { 1007 | url = 'https://wy.mlkioiy.cn/api/ShowVideoMu/3bb24322f78b47dfb8723c13d46d45ee/' + url 1008 | } 1009 | if (MY_URL.indexOf('yyid6080') != -1 || MY_URL.indexOf('p4kan') != -1) { 1010 | if (flag == 'xigua' || flag == 'bjm3u8') { 1011 | url = 'https://bbs.cnzv.cc/dp/mp4.php?url=http://list.47api.cn:90/qq/xigua.php?id=' + url; 1012 | } else if (flag == 'qqkj') { 1013 | url = 'https://bbs.cnzv.cc/dp/ck/ck.php?url=http://list.47api.cn:90/qq/mp4.php?id=' + url; 1014 | } else if (flag == 'tudou') { 1015 | url = 'https://sf1-ttcdn-tos.pstatp.com/obj/' + url + '#.mp4'; 1016 | } else { 1017 | url = url 1018 | }; 1019 | } 1020 | if (flag == 'niux') { 1021 | url = 'https://www.shenma4480.com/jx.php?id=' + url 1022 | } 1023 | if (flag == 'mx771') { 1024 | url = 'http://vip.mengx.vip/home/api?type=ys&uid=2117076&key=abghklvyDEIJLNT025&url=' + url 1025 | } 1026 | if (flag == 'hkm3u8') { 1027 | url = 'https://jxn2.178du.com/hls/' + url 1028 | } 1029 | if (flag == 'xsp1') { 1030 | url = 'https://jx.api.xhfhttc.cn/jx/?type=xsp1&url=' + url 1031 | } 1032 | if (flag == 'bb') { 1033 | url = 'https://jx.api.xhfhttc.cn/jx/?url=' + url 1034 | } 1035 | if (flag == 'ltnb') { 1036 | url = 'https://09tv.top/jx/?url=' + url 1037 | } 1038 | if (flag == 'dym3') { 1039 | url = 'https://1.m3u8.shop/m3u8.php?url=' + url 1040 | } 1041 | if (flag == 'languang') { 1042 | url = 'https://j.languang.wfss100.com/?url=' + url 1043 | } 1044 | if (flag == 'msp') { 1045 | url = 'https://titan.mgtv.com.bowang.tv/player/?url=' + url 1046 | } 1047 | if (flag == 'kdyx' || flag == 'kdsx') { 1048 | url = 'http://api.kudian6.com/jm/pdplayer.php?url=' + url 1049 | } 1050 | if (flag == '789pan' || flag == 'pll') { 1051 | //https://www.gudetv.com/danmu/?url= 1052 | url = 'https://vip.gaotian.love/api/?key=sRy0QAq8hqXRlrEtrq&url=' + url 1053 | } 1054 | if (flag == 'fanqie') { 1055 | url = 'https://jx.fqzy.cc/jx.php?url=' + url 1056 | } 1057 | if (flag == 'mysp' || flag == 'xmzy' || flag == 'tyun') { 1058 | url = 'http://jiexi.sxmj.wang/jx.php?url=' + base64Encode(url) 1059 | } 1060 | if (flag == 'lekanzyw') { 1061 | url = 'https://bfq.ikan6.vip/m3u8.php?url=' + url 1062 | } 1063 | if (flag == 'muxm3u8') { 1064 | url = 'https://jiexiheyi.naifeimi.com/api/?key=WWBdFWHgw5HkfmOHR7&url=' + url 1065 | } 1066 | if (flag == 'zbkplayer') { 1067 | url = 'https://analysis.yikan.one/analysis/player/?uid=8&my=fjkmoqFJLORTVZ1359&url=' + url 1068 | } 1069 | if (flag == 'yunbo'||flag == 'banyun') { 1070 | url = 'https://www.mayigq.com/vodzip/player.php?vid=' + url 1071 | } 1072 | if (flag == 'Tcm3u8') { 1073 | url = 'https://api.iopenyun.com:88/vips/?url=' + url 1074 | } 1075 | if (flag == 'kkyun'&&MY_URL.indexOf('hikan')!=-1) { 1076 | url = 'https://www.dmplay.xyz/d?url=' + url 1077 | } 1078 | if (!/ftqp/.test(flag)&&MY_URL.indexOf('wkfile')!=-1) { 1079 | url = 'https://ptwo.wkfile.com/m3u8.php?url=' + url 1080 | } 1081 | if (flag == 'VIP') { 1082 | url = 'https://www.yanaifei.cn/player/?url=' + url 1083 | } 1084 | if (flag == 'aly') { 1085 | url = 'https://jx.shigys.com/?url=' + url 1086 | } 1087 | if (flag == 'bst') { 1088 | url = 'https://hj.52svip.cc/bst/tmzz.php?type=bestv&url=' + url 1089 | } 1090 | if (flag == 'xyb') { 1091 | url = 'https://good-vip.mmiyue.com/zhichi/HaoR.php?id=' + url 1092 | } 1093 | if (flag == 'weibo') { 1094 | url = 'https://hj.52svip.cc/q/weibojx.php?url=' + url 1095 | } 1096 | //if (flag == 'miaoparty') { 1097 | //url = 'https://jiexi.msdv.cn/jiemi/?url=' + url 1098 | //} 1099 | var title = (list[j].split('$')[0].indexOf('http') != -1 ? [j + 1] : list[j].split('$')[0].replace(/^\s*/, "")); 1100 | try{ 1101 | title = title.match(/(第|\d|-)*(集|期)/g)?title.replace(/第|集|期/g,''):title; 1102 | } catch (e) {} 1103 | if (list.length <= 4) { 1104 | var clt = 'text_2'; 1105 | } else { 1106 | var clt = isNaN(title) ? 'flex_button' : 'text_5' 1107 | } 1108 | if (filter(base64Decode('VklQ'))) { 1109 | items.push({ 1110 | title: title, 1111 | url: 'hiker://empty##' + flag + '##' + url.replace(/\n*/g, '') + '##' +'#noPre#'+ `@lazyRule=.js:/*refreshX5WebView*/eval(fetch('hiker://files/rules/xyq/zywcj.js'));lazyRu();`, 1112 | //col_type: title.length>=6?'text_2':'text_3' 1113 | extra: { 1114 | id: 'hiker://empty##' + flag + '##' + url.replace(/\n*/g, '') + '##', 1115 | longClick:[{ 1116 | title:'推送当前选集到TVBox', 1117 | js:$.toString((title,flag,link,pic,vodname)=>{ 1118 | return 'hiker://page/push?rule=XYQ推送&pushurl=' + encodeURIComponent(JSON.stringify({ 1119 | "name": vodname, 1120 | "from": flag, 1121 | "pic":pic, 1122 | "url": title+'$'+link 1123 | }))},title,flag,url.replace(/\n*/g, ''),pic,vodname) 1124 | }] 1125 | }, 1126 | col_type: clt 1127 | }); 1128 | } else { 1129 | items.push({ 1130 | title: title, 1131 | url: url.replace(/\n*/g, '') + flag + `@lazyRule=.js:/*refreshX5WebView*/if(input.search(/html|bilibili/)!=-1){'http://17kyun.com/api.php?url='+input;}else{input + '#isVideo=true#'}`, 1132 | //col_type: title.length>=6?'text_2':'text_3' 1133 | col_type: clt 1134 | }); 1135 | } 1136 | } //for j list.length 1137 | } //if list != null 1138 | //} //for i conts.length 1139 | 1140 | items.unshift({ 1141 | title: '推送列表到TVBox', 1142 | url: $('hiker://empty#noHistory#').lazyRule((tvlist,tvtabs,act,des,pic,vodname) => { 1143 | let purl = JSON.stringify({ 1144 | url: tvlist.join('$$$'), 1145 | from:tvtabs.join('$$$'), 1146 | actor:act, 1147 | pic:pic, 1148 | content:des, 1149 | name:vodname 1150 | }); 1151 | return 'hiker://page/push?rule=XYQ推送&pushurl=' + encodeURIComponent(purl.replace(/\&/g, '&&')); 1152 | },tvlist,tvtabs,act,des,pic,vodname), 1153 | col_type: "scroll_button" 1154 | }); 1155 | } //!filter(typ) 1156 | } catch (e) {} 1157 | res.data = items; 1158 | setHomeResult(res); 1159 | }; 1160 | 1161 | //动态解析 1162 | function lazyRu() { 1163 | var flag = input.split('##')[1]; 1164 | var src = (input.split('##')[2]).replace(/amp;/g, "").replace(/^\s*/, ""); 1165 | //x5rule强力嗅探函数 1166 | function x5rule(srcurl) { 1167 | showLoading("正在进行X5检索,请稍候..."); 1168 | var video = 'x5Rule://' + srcurl + '@' + $.toString(() => { 1169 | //fba.log(fba.getUrls()); 1170 | var urls = _getUrls(); 1171 | if (window.count == null || window.count == 'undefined') { 1172 | window.count = 1 1173 | } 1174 | if (window.count >= 25) { 1175 | return location.href 1176 | } 1177 | if (document.querySelector('body').innerText.search(/触发了防盗链|未授权|接口防盗/) != -1) { 1178 | location.href = location.href 1179 | }; 1180 | if (urls.length > 0) { 1181 | for (var i in urls) { 1182 | if (urls[i].match(/dycdn\-tos\.pstatp|\.m3u8|\.mp4|\.flv|netease\.com|video_mp4|type\=m3u8/) && !urls[i].match(/html|m3u8\.tv|\&next|ac\=dm|\=http|https\:\/\/[\d]\.m3u8|\?url\=\/m3u8/)) { 1183 | //fy_bridge_app.log(urls[i]) 1184 | if (fy_bridge_app.getHeaderUrl) { 1185 | if(fy_bridge_app.clearM3u8Ad){ 1186 | if((urls[i].includes("vip.ffzy")||urls[i].includes("vip.lz")||urls[i].includes("hd.lz")||urls[i].includes(".cdnlz")||urls[i].includes("suonizy")) && urls[i].includes("index.m3u8")&&!urls[i].includes("=http")){ 1187 | fy_bridge_app.log("尝试去视频广告"); 1188 | let url=urls[i]; 1189 | let m3u8=fba.fetch(url); 1190 | if(m3u8.includes('EXT-X-STREAM-INF')){ 1191 | let houz=m3u8.split("\n")[2]; 1192 | url=urls[i].replace("index.m3u8",houz); 1193 | } 1194 | // return fy_bridge_app.parseLazyRule($$$(url).lazyRule(()=>{ 1195 | // toast('尝试去除视频广告中,请稍等。'); 1196 | // let f = cacheM3u8(input); 1197 | // let c = readFile(f.split("##")[0]); 1198 | // c = c.replace(/#EXTINF.*?\s+.*?116977.*?\.ts\s+|#EXTINF.*?\s+.*?1170(20|32).*?\.ts\s+|#EXTINF.*?\s+.*?1o.*?\.ts\s+|#EXTINF.*?\s+.*?p1ayer.*?\.ts\s+|#EXTINF.*?\s+.*?\/video\/original.*?\.ts\s+/g,''); 1199 | // writeFile(f.split("##")[0], c); 1200 | // return f; 1201 | // })) 1202 | return url; 1203 | } 1204 | } 1205 | return fy_bridge_app.getHeaderUrl(urls[i]).replace(";{", "#ignoreImg=true##isVideo=true#;{"); 1206 | } else { 1207 | if (urls[i].indexOf('bilivideo') != -1) { 1208 | return urls[i] + ';{Referer@https://www.bilibili.com&&User-Agent@Mozilla/5.0}'; 1209 | } else if (urls[i].indexOf('titan.mgtv.com') != -1) { 1210 | return urls[i] + '#isVideo=true#' + ';{Referer@www.mgtv.com&&User-Agent@Mozilla/5.0}'; 1211 | } else if (urls[i].indexOf('juhaokan') != -1) { 1212 | return urls[i] + ';{Referer@https://www.juhaokan.cc/}'; 1213 | } else if (urls[i].indexOf('ojbk') != -1) { 1214 | return urls[i] + ';{Referer@https://v.ojbkjx.com/}'; 1215 | } else if (urls[i].indexOf('wkfile') != -1) { 1216 | return urls[i] + ';{Referer@https://fantuan.wkfile.com/}'; 1217 | } else { 1218 | return urls[i] 1219 | } 1220 | } 1221 | } 1222 | } 1223 | } else { 1224 | fba.hideLoading(); 1225 | return '' 1226 | } 1227 | }); 1228 | return video 1229 | } 1230 | //结束x5rule强力嗅探函数 1231 | //开始弹幕函数 1232 | function danmufun(src) { 1233 | var danmu = []; 1234 | try { 1235 | //扶风弹幕接口 1236 | //var json = JSON.parse(request("https://dmku.byteamone.cn/dmku/?ac=dm&id=" + md5(src.split('"')[0].split('?')[0]).slice(12)+ ' P', {})); 1237 | //https://dmku.byteamone.cn/dmku/?ac=dm&id=45a5b77906d67d0bb261%20P 1238 | //parwix解析弹幕接口 1239 | var json = JSON.parse(request("https://dmku.hls.one/?ac=dm&url=" + src.split('"')[0].split('?')[0], {})); 1240 | if (json.danmuku) { 1241 | for (let i = 0; i < json.danmuku.length; i++) { 1242 | danmu.push({ 1243 | text: json.danmuku[i][4], 1244 | time: json.danmuku[i][0] 1245 | }); 1246 | }; 1247 | } else { 1248 | for (let i = 0; i < json.length; i++) { 1249 | danmu.push({ 1250 | text: json[i].text, 1251 | time: json[i].time 1252 | }); 1253 | } 1254 | } 1255 | } catch (e) {} 1256 | let danmt = JSON.stringify(danmu); 1257 | writeFile("hiker://files/cache/danmu.json", danmt); 1258 | } 1259 | //结束弹幕函数 1260 | //开始官方站 1261 | var realurl = ["v.pptv.com", "www.mgtv.com", "www.iqiyi.com", "v.youku.com", "tv.sohu.com", "www.le.com", "v.qq.com", "www.ixigua.com", "www.bilibili.com", "m.1905.com", "vip.1905.com","www.miguvideo.com"]; 1262 | var dnen = JSON.parse(fetch('hiker://files/rules/xyq/zywset.json', {})).enDn; 1263 | for (var i in realurl) { 1264 | if (src.search(realurl[i]) != -1) { 1265 | if (dnen == '1') { 1266 | log('调用断插解析'); 1267 | eval("var config =" + fetch("hiker://files/cache/MyParseSet.json")); 1268 | eval(fetch(config.cj)); 1269 | return aytmParse(src.split('"')[0]); 1270 | } else { 1271 | let dm = getItem('zywparse','默认多线解析').includes('弹幕')?true:false; 1272 | if(dm){ 1273 | danmufun(src) 1274 | } 1275 | let link = src.split('"')[0].split('?')[0]; 1276 | var jiexik = ['https://yemu.xyz/?url=','https://jx.zui.cm/?url=','https://jx.hls.one/?url=','https://jx.xmflv.com/?url=','https://jx.77flv.cc/?url=']; 1277 | let play=[]; 1278 | for (var j in jiexik) { 1279 | play.push('video://'+jiexik[j]+link); 1280 | } 1281 | if(dm){ 1282 | return JSON.stringify({ 1283 | urls: play, 1284 | danmu: "hiker://files/cache/danmu.json" 1285 | }); 1286 | }else{ 1287 | return JSON.stringify({ 1288 | urls: play 1289 | }); 1290 | } 1291 | } //if dnen 1292 | } //if src 1293 | } //for i 1294 | //结束官方站 1295 | if (src.indexOf("xmflv") != -1) { 1296 | eval(getCryptoJS()); 1297 | //感谢墙佬提供算法代码 1298 | var sign = function(a) { 1299 | var b = CryptoJS.MD5(a); 1300 | var c = CryptoJS.enc.Utf8.parse(b); 1301 | var d = CryptoJS.enc.Utf8.parse('UVE1NTY4MDY2NQ=='); 1302 | var e = CryptoJS.AES.encrypt(a, c, { 1303 | iv: d, 1304 | mode: CryptoJS.mode.CBC, 1305 | padding: CryptoJS.pad.ZeroPadding 1306 | }); 1307 | return e.toString() 1308 | } 1309 | var ohtml = fetch(src, {}); 1310 | var time = ohtml.match(/var time = \'(.*?)\'/)[1]; 1311 | var url = ohtml.match(/var url = \'(.*?)\'/)[1]; 1312 | var html = request('https://jx.xmflv.com/player.php?time=' + time + '&url=' + url) 1313 | var vkey = html.match(/var vkey = \'(.*?)\'/)[1]; 1314 | var fvkey = sign(html.match(/var fvkey = \'(.*?)\'/)[1]); 1315 | var body = 'time=' + time + '&url=' + url + '&wap=1&vkey=' + vkey + '&fvkey=' + fvkey; 1316 | var json = fetch('https://jx.xmflv.com/xmflv-1.SVG', { 1317 | headers: { 1318 | 'Content-Type': 'application/x-www-form-urlencoded' 1319 | }, 1320 | body: body, 1321 | method: 'POST' 1322 | }); 1323 | //log(json); 1324 | return JSON.parse(json).url; 1325 | } else if (/wkfile/.test(src)) { 1326 | if(/ptwo/.test(src)){ 1327 | return x5rule(src); 1328 | }else{ 1329 | return src + ';{Referer@https://fantuan.tv}' 1330 | }; 1331 | }else if (src.indexOf("135-cdn") != -1) { 1332 | refreshX5WebView(src); 1333 | return "toast://请等待加载选集!"; 1334 | } else if (src.indexOf("/share/") != -1) { 1335 | try { 1336 | var link = src.split("/share")[0]; 1337 | var fc = fetch(src, {}).replace("var purl", "var main"); 1338 | if (fc.indexOf("main") != -1) { 1339 | var mat = fc.match(/var main.*?;/)[0]; 1340 | eval(mat); 1341 | var play = (main.indexOf("http") != -1 ? main : link + main); 1342 | } else { 1343 | var main = fc.match(/url:.*?[\'\"](.*?)[\'\"]/)[1]; 1344 | var play = (main.indexOf("http") != -1 ? main : link + main) 1345 | }; 1346 | 1347 | if((play.includes("vip.ffzy")||play.includes("vip.lz")||play.includes("hd.lz")||play.includes(".cdnlz")||play.includes("suonizy")) && play.includes("index.m3u8")){ 1348 | let houz=request(play).split("\n")[2]; 1349 | play=play.replace("index.m3u8",houz); 1350 | //play=clearM3u8(play); 1351 | } 1352 | return play; 1353 | } catch (e) { 1354 | refreshX5WebView(src); 1355 | return "toast://请等待加载选集!" 1356 | }; 1357 | } else if (flag=='rrm3u8') { 1358 | function suffix(video) { 1359 | let str = video.substring(video.indexOf(':') + 3); 1360 | let ind = str.indexOf('/'); 1361 | let str2 = str.substring(0, ind); 1362 | let str3 = str.substring(ind); 1363 | let key = 'cb877c68fae08369125b645d694ed625'; 1364 | let time = Math.round(new Date().getTime()/1000).toString(); 1365 | let wsh=md5(key+str2+str3+time); 1366 | return video+'?wsSecret='+wsh+'&wsTime='+time 1367 | }; 1368 | return suffix(src); 1369 | } else if (flag == 'duoduozy') { 1370 | if(!src.includes('http')){ 1371 | return x5rule('https://www.ysgc.tv/static/player/dplayer.php?url='+src); 1372 | }else{ 1373 | var html = fetch("http://120.233.84.226:5612/tvjx/?url=" + src, {headers: {"User-Agent": "Dalvik/2.1.0 (Linux; U; Android 10; PBEM00 Build/QKQ1.190918.001)"}}); 1374 | var pubk = "MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAOptDYA7USHJqnoWYuuSqOGyqnKo4v8z1G3K1HCpGq/9jN6rbWZOgW4nfIT1Iho3WFiGrtlJidaGG+PAFddUejuBJH8AEwKRFJEwsQ012znNgDylXHE8wtZRex3KiRmWwhEXZc7HPw6XrPCpRGSn1OEkEO7jKb3VleHgWCWpBLYLAgMBAAECgYBVuuHoFkk6YQTONyef3PeT6oH5AphZGfxC1p1QQhd3avM8b1bHxkgBH8Gi4f7BtaHCZibFYeZdpJfId3PFVqiILR2rebJ5prJpFyfHl3RVqUZ9AzPumHRRD5JIC6YA7vBCg5724T8Veg9CxTdHzybYLCwXaDYFTlW0/6nnh1gPoQJBAPqbq5gkXCh+o/DrpT7kqia2cTun45XMCmYTiKShjmMujIVPC+/O43aErRpuLbeivxI6B9XqA841mSPb8uTUpbsCQQDveECxlKfpq01q//xAXb3lL+e+P7DX18W8ek+lLtXoUDhyKEB2c6zHO9g6A/6fHgx2DJH1+vnYmjHiiH2QsoPxAkEAmNaRy0L5lZTOpSMB756DiwKfglN9ACGlgeWN42HINgLwnmi8De/uV5zI+aKSbTlrMFGF79c9pOiZUf5VX2u0+wJABk6GdabSnUbTrSO8wv01CRov4kTPJYAbRxF5k4IeRBYIxojk2bnGLSEYWr7ML+icr2c5WN8ZQWkeMzchB3SMIQJADGzV6RHvx/6DCzLvSrtHUnyfKyCh19tC5hxyVyuXMAlKdQIzRSiTIOiRY/5HwvVi8ZCVvYmHQ7n0XGYFdJ3s7Q=="; 1375 | var decurl = rsaDecrypt(html, pubk, {type: 1, long: 2}); 1376 | return decurl; 1377 | //return 'toast://没有找到解析该直链的解析。' 1378 | } 1379 | } else if (flag=='ddzy') { 1380 | if(src.includes('http')){ 1381 | return cacheM3u8(src); 1382 | }else{ 1383 | return 'toast://没有找到解析该链接的解析。' 1384 | } 1385 | } else if (flag == 'miaoparty') { 1386 | var miao = request('https://cache1.jhdyw.vip:8091/rrmi.php?url=' + src); 1387 | return JSON.parse(miao).url; 1388 | } else if (src.indexOf("renrenmi-") != -1) { 1389 | return x5rule('https://jx.blbo.cc:4433/miniku?url='+src); 1390 | } else if (src.indexOf("RongXingVR") != -1) { 1391 | //https://www.jsyb.cc/nrx/?url= 1392 | return x5rule('http://vip.jxyanyu.com/dmplayer/?url='+src); 1393 | } else if (src.indexOf("xfy-") != -1) { 1394 | return x5rule('https://mx.ml0513.com/?url='+src); 1395 | } else if (/fqzy\.cc/.test(src)) { 1396 | var html = fetch(src, { 1397 | headers: { 1398 | "User-Agent": MOBILE_UA 1399 | } 1400 | }); 1401 | var play = html.match(/\"url\": \"(.*?)\"/)[1]; 1402 | return play; 1403 | } else if (/ikan6/.test(src)) { 1404 | eval(getCryptoJS()); 1405 | var html = fetch(src, { 1406 | headers: { 1407 | "User-Agent": MOBILE_UA, 1408 | "Referer": "https://www.ikan6.vip/" 1409 | } 1410 | }); 1411 | var urlstr = html.match(/getVideoInfo\(\"(.*?)\"\)/)[1]; 1412 | var bt_token = html.split('bt_token = "')[1].split('"')[0]; 1413 | var token_iv = CryptoJS.enc.Utf8.parse(bt_token); 1414 | var token_key = CryptoJS.enc.Utf8.parse('0DECDC01DA6CB2C5'); 1415 | function decrypt(urlstr, token_key, token_iv) { 1416 | return CryptoJS.AES.decrypt(urlstr, token_key, { 1417 | 'iv': token_iv 1418 | }).toString(CryptoJS.enc.Utf8); 1419 | } 1420 | var bkurl = decrypt(urlstr, token_key, token_iv); 1421 | if (/ikan6/.test(bkurl)) { 1422 | return bkurl + ';{Referer@https://www.ikan6.vip/}'; 1423 | } else { 1424 | return bkurl; 1425 | } 1426 | } else if (src.indexOf("api.ldjx") != -1) { 1427 | var purl=request(src,{}).match(/var url1=\'(.*?)\'/)[1]; 1428 | var pla=base64Decode(purl.replace(/RGlkLnBocD9WQ9WED92aWQ9WE1NVFU12awD92aWQ9WE1NVFU1TWQ9WE1NVFU1TWpaNrdt05/,'')); 1429 | return pla; 1430 | } else if (src.indexOf("aHR0c") != -1) { 1431 | return decodeURIComponent(base64Decode(src.split("&")[0])); 1432 | } else if (src.indexOf("haodanxia") != -1 || src.indexOf("cqzyw") != -1) { 1433 | var ul = JSON.parse(fetch(src, { 1434 | headers: { 1435 | "User-Agent": "Dalvik/2.1.0" 1436 | }, 1437 | redirect: false, 1438 | withStatusCode: true 1439 | })); 1440 | if (ul.statusCode == "302") { 1441 | var play = ul.headers.location[0]; 1442 | } else { 1443 | var play = src + "#isVideo=true#" 1444 | }; 1445 | return play; 1446 | } else if (src.indexOf("shenma4480") != -1) { 1447 | var sm = "https://www.shenma4480.com/" + fetch(src, { 1448 | headers: { 1449 | "User-Agent": MOBILE_UA, 1450 | "Referer": "https://www.shenma4480.com" 1451 | } 1452 | }).match(/var u=\"(.*?)\"/)[1]; 1453 | return fetch(sm, { 1454 | headers: { 1455 | "User-Agent": MOBILE_UA, 1456 | "Referer": "https://www.shenma4480.com" 1457 | } 1458 | }).match(/url:.*?[\'\"](.*?)[\'\"]/)[1].replace(/[+]/g, "%20"); 1459 | } /*else if (src.indexOf("mlkioiy") != -1) { 1460 | if (src.indexOf("ShowVideo") != -1) { 1461 | var mlki = parseDomForHtml(fetch(src, {}), "body&&#dplayer&&result"); 1462 | var fileUrl = "https://github.moeyy.xyz/https://raw.githubusercontent.com/xyq254245/HikerRule/main/pako-min.js"; 1463 | eval(request(fileUrl, {})); 1464 | return realUrl; 1465 | } else { 1466 | return src + "#isVideo=true#" 1467 | }; 1468 | } */else if (src.indexOf("ddyunp") != -1 || src.indexOf("90mm.me") != -1) { 1469 | eval(getCryptoJS()); 1470 | var id = src + 'duoduo' + 'l' + (Math.floor(new Date().getTime() / 100000) * 100).toString(); 1471 | var dat = CryptoJS.MD5(id).toString(CryptoJS.enc.Hex); 1472 | var purl = 'https://hls.90mm.me/ddyun/' + src + '/l/' + dat + '/playlist.m3u8'; 1473 | return purl; 1474 | } /*else if (src.indexOf("xsp1") != -1) { 1475 | var pli = parseDomForHtml(fetch(src, { 1476 | headers: { 1477 | "User-Agent": MOBILE_UA, 1478 | "Referer": "https://zz22x.com" 1479 | } 1480 | }), "body&&iframe&&src").split("url=")[1]; 1481 | try { 1482 | var fileUrl = fetchCache("https://github.moeyy.xyz/https://raw.githubusercontent.com/xyq254245/HikerRule/main/parse.js",24); 1483 | } catch (e) { 1484 | fileUrl = fetch("hiker://files/libs/1e7db6906ccc9c8dd92ca42cba0fc3ff.js"); 1485 | } 1486 | eval(fileUrl); 1487 | var play = yqjx.toUrl(pli); 1488 | return play != "" ? play : getUrl(pli); 1489 | } */else if (src.indexOf("kudian6.com") != -1) { 1490 | var html = request(src); 1491 | return html.match(/url\":.*?[\'\"](.*?)[\'\"]/)[1]; 1492 | } else if (/ujuba/.test(src)) { 1493 | var html = request(src, {}); 1494 | var play=parseDomForHtml(html,'.content&&iframe&&src'); 1495 | return play.split('url=')[1]; 1496 | } else if (/wfss100/.test(src)) { 1497 | var phtml = request(src, {}); 1498 | var ifsrc = src.split('/?url=')[0] + parseDomForHtml(phtml, "body&&iframe&&src"); 1499 | var ifsrct = ifsrc.split('?url=')[0] + parseDomForHtml(request(ifsrc, {}), "body&&iframe&&src"); 1500 | var urll = request(ifsrct, {}).match(/vodurl = \'(.*?)\'/)[1]; 1501 | return urll + ';{Referer@https://j.languang.wfss100.com/}'; 1502 | } else if(src.indexOf("mayigq") != -1){ 1503 | var jxhtml = request(src, { 1504 | headers: { 1505 | "Referer": "https://www.mayigq.com" 1506 | } 1507 | }); 1508 | var bdy = parseDomForHtml(jxhtml, '#player_swf&&lovevod'); 1509 | var pthtml = request('https://www.mayigq.com/vodzip/config/token.php', { 1510 | headers: { 1511 | 'Content-Type': 'application/x-www-form-urlencoded', 1512 | 'Referer': 'https://www.mayigq.com', 1513 | 'X-Requested-With': 'XMLHttpRequest' 1514 | }, 1515 | body: 'menudata=' + bdy, 1516 | method: 'POST' 1517 | }); 1518 | var link = 'https://www.mayigq.com/vodzip/' + pthtml.match(/var url = \"(.*?)\"/)[1]; 1519 | var play = JSON.parse(request(link, { 1520 | headers: { 1521 | 'Referer': 'https://www.mayigq.com' 1522 | }, 1523 | redirect: false, 1524 | withHeaders: true 1525 | })).headers.location[0]; 1526 | //log(play); 1527 | if (/gekai/.test(play)) { 1528 | return JSON.parse(request(play, { 1529 | headers: { 1530 | 'Referer': 'https://www.mayigq.com' 1531 | }, 1532 | redirect: false, 1533 | withHeaders: true 1534 | })).headers.location[0] + '#isVideo=true#'; 1535 | } else { 1536 | return play + '#isVideo=true#'; 1537 | }; 1538 | }else if(flag == 'hkm3u8'){ 1539 | function getGtk(pt) { 1540 | var count = 0x0; 1541 | var base = 0x0; 1542 | for (var i = 0x0; i < pt.length; i += 0x4) { 1543 | count += parseInt(pt[i] + pt[i + 0x1] + pt[i + 0x2] + pt[i + 0x3], 0x10); 1544 | count %= 0x400a; 1545 | } 1546 | base = count % 0xa; 1547 | var param = 0x0; 1548 | for (var a = 0x0; a < pt.length; a++) { 1549 | param += pt.charCodeAt(a) * (a + base); 1550 | param %= count; 1551 | } 1552 | return param + '' 1553 | }; 1554 | 1555 | function getBkn(sk) { 1556 | for (var t = 0x195c, i = 0x0, length = sk.length; length > i; ++i) { 1557 | t += (t << 0x5) + sk.charAt(i).charCodeAt(); 1558 | } 1559 | return (0x7fffffff & t) + '' 1560 | }; 1561 | var html = fetch(src, { 1562 | headers: { 1563 | 'Referer': 'https://jxn.5408h.cn' 1564 | }, 1565 | method: 'GET' 1566 | }); 1567 | //log(h); 1568 | eval(html.split('