-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdyxs.json
26 lines (26 loc) · 4.95 KB
/
dyxs.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[{
"articleStyle": 2,
"customOrder": -10098365,
"enableJs": true,
"enabled": true,
"enabledCookieJar": true,
"header": "{\"User-Agent\": \"Mozilla/5.0 (Linux; Android 12; 2113546) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.104 Mobile Safari/537.36\"}",
"injectJs": "document.execCommand=function(){return true;};",
"lastUpdateTime": 0,
"loadWithBaseUrl": true,
"ruleArticles": ".module-card-item||.module-item\n<js>\nvar ed_net=String(JSON.parse(java.ajax(\"https://cdn.jsdelivr.net/gh/ljun223/reader3@latest/dyxs.json\"))[0].sourceComment).match(/版本:(.*)/)[1];\nvar ed_local=String(source.sourceComment).match(/版本:(.*)/)[1];\ned_local!=ed_net?java.longToast(\"当前订阅源有更新,您可以选择去往源仓库更新也可以继续使用当前版本\"):\"\"\nresult\n</js>",
"ruleContent": "<html>\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no\"/>\n<link rel=\"stylesheet\" type=\"text/css\" href=\"https://cdn.jsdelivr.net/gh/ljun223/reader3@latest/js/yingshi.css\" />\n<script src=\"//cdn.staticfile.org/jquery/2.2.4/jquery.min.js\"></script>\n<link rel=\"stylesheet\" type=\"text/css\" href=\"https://muiplayer.js.org/css/mui-player.min.css\" />\n<script type=\"text/javascript\" src=\"https://cdn.jsdelivr.net/gh/ljun223/reader3@main/js/mui-player.min.js\"></script>\n<script type=\"text/javascript\" src=\"https://cdn.jsdelivr.net/gh/ljun223/reader3@main/js/mui-player-mobile-plugin.min.js\"></script></head>\n<div class =\"dz\" width=\"100%\"></div>\n<div class=\"muiplayer\" id=\"muiplayer\" style=\"width:100%;height:350\"></div>\n<div id=\"tab\"><ul>{{@@id.y-playList@span@html##span##li}}</ul></div>\n<br><br><br><br>\n{{@@class.module-play-list-content@html}}\n<script>\nfunction video(url){\n$.get(url,function(result){\njson=result.match(/var player.*?=(\\{.*?\\})</)[1];\nsrc= JSON.parse(json).url;\nsrc=decodeURIComponent(atob(src));\nvar path=\"{{source.sourceUrl}}/static/js/playerconfig.js\";//网站解析接口设置\n$.get(path,function(js){\n\tjs=js.match(/player_list=(\\{.*?\\}),MacPlayerConfig/)[1]\n\tfrom=JSON.parse(json).from;\n\tparse=JSON.parse(js)[from].parse;\n if(String(src).match(/m3u8/)){\n \t//判断一下,如果是m3u8链接直接调用muiplayer播放\n \t$(\".muiplayer\").html(\"\"); \t\nvar mp = new MuiPlayer({\"container\": \".muiplayer\",\"src\": src,\"poster\":\"\",\"autoFit\":false,\"lang\": \"zh-cn\",\"height\":\"300px\",plugins: [new MuiPlayerMobilePlugin({\"key\": \"01I01I01H01J01L01K01J01I01K01J01H01D01J01G01E\",\"showMenuButton\": true,\"pageGesture\":true,})] });\n \t}else{\n//如果不是m3u8链接,调用解析接口\n//src=\"//110.42.2.247:9090/player/?url=\"+src\nsrc=decodeURIComponent(parse+src);\t\niframe= '<iframe width=\"100%\" height=\"100%\" src=\"'+src+'\" frameborder=\"0\" border=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" allowfullscreen=\"allowfullscreen\" mozallowfullscreen=\"mozallowfullscreen\" msallowfullscreen=\"msallowfullscreen\" oallowfullscreen=\"oallowfullscreen\" webkitallowfullscreen=\"webkitallowfullscreen\"></iframe>';\n$(\".muiplayer\").html(iframe)\n}$(\".dz\").html(src);})});}\n(function(){\n$(\".module-play-list-content\").hide();\n$(\".module-play-list-content:eq(0)\").show();\n$(\"li:eq(0)\").addClass(\"active\")})();\n$(\"button\").ready(function(){\nurl=$(\"button:first\").val();\n$(\"button:first\").addClass(\"upBtn\");\nvideo(url);\n});\n$(\"button\").click(function(){\n$(\"button\").removeClass(\"upBtn\");\n$(this).addClass(\"upBtn\");\nurl='{{source.sourceUrl}}'+$(this).val();\nvideo(url);\n});\n$(\"li\").click(function(){\n$(\"li\").removeClass(\"active\");\n$(this).addClass(\"active\");\nindex=$(this).index();\n$(\".module-play-list-content\").hide();\n$(\".module-play-list-content:eq(\"+index+\")\").show();\n})</script></html>\n@js:\nresult = result.replace(/<em.*?em>/g,'').replace(/<a.*? href=\"([^\"]+)\" .*?><span>([^<]+)<\\/span><\\/a>/g,'<button value=\"$1\">$2</button>').replace(/<a/g,'<li').replace(/<\\/a>/g,'</li>')",
"ruleImage": "img@data-original",
"ruleLink": "a.0@href",
"ruleNextPage": "text.下一页@href",
"rulePubDate": ".module-info-item-content@text||.module-item-note@text",
"ruleTitle": ".module-card-item-title@text||.module-poster-item-title@text",
"singleUrl": false,
"sortUrl": "搜索::/search--------------.html?wd={{source.getVariable()}}\n电影::/pianku-dianying-----------.html\n电视剧::/pianku-dianshiju-----------.html\n动漫::/pianku-ddongman-----------.html\n综艺::/pianku-zongyi-----------.html\n短视频::/pianku-dianshiju---短剧--------.html",
"sourceComment": "版本:1.0.3\n域名失效,直接在源URL换掉即可\n网站备用域名:\ndianying.xianshe.ng\n电影先生.com\ndianyi.ng",
"sourceGroup": "影视",
"sourceIcon": "https://dianying.xianshe.ng/mxtheme/images/favicon.png",
"sourceName": "电影先生",
"sourceUrl": "https://dianying.xianshe.ng",
"style": ""
}]