思古影视
https://sigu.cc
分享者: lzjuns (4418)发布时间: 2024/03/19
思古影视:老源修复
{ "articleStyle": 2, "concurrentRate": "", "customOrder": -101062, "enableJs": true, "enabled": true, "enabledCookieJar": true, "header": "{\"User-Agent\": \"Mozilla\/5.0 (Linux; Android 13; 2112123AC) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/96.0.4664.104 Mobile Safari\/537.36\"}", "lastUpdateTime": 0, "loadWithBaseUrl": true, "loginUrl": "https:\/\/sigu.cc", "ruleArticles": "<js>\nvar source=source.getVariable()\nif(baseUrl.match(\/search\/)){\n if(String(source)==0){\n\t java.longToast(\"当前未输入搜索内容!\")\n\t }else{\n\t \turl=\"https:\/\/sigu.cc\/search\/-------------.html?\"+\"wd=\"+source+\"&submit=\";\n\t \tjava.log(url)\n\t html=java.ajax(url);\n\t \/\/java.log(html)\n\t \n\t if(html.match(\/频繁操作\/)){\n\t \t\n\t \tjava.longToast(\"搜索间隔3秒,请不要频繁操作哦!\");\n\t \tjava.startBrowserAwait(url,\"等待跳转返回\")\n\t \t\n\t \t}else if(html.match(\/请输入验证码\/)){\n\t \/\/java.log(\"输入验证码\")\n\t \nyzm=java.getVerificationCode(\"https:\/\/sigu.cc\/index.php\/verify\/index.html?\");\n\t \t\tverifi_url=\"http:\/\/sigu.cc\/index.php\/ajax\/verify_check?type=search&verify=\"+yzm+\",\"+JSON.stringify({\"cookie\":cookie})\n\t \t\t\n\t \t\tdata=java.ajax(verifi_url)\n\t \t\t\n\t \t java.log(verifi_url);\n\t \t\n\t \tcookie=java.getCookie(verifi_url);\n\t \t\n\t java.log(cookie);\n\t \n\t url=url+\",\"+JSON.stringify({\"cookie\":cookie});\n\t \t\n\t java.log(url)\n\t \thtml=java.ajax(url)\n\t \t}\n\t java.setContent(html)\n\t list=java.getElement(\"id.searchList@li\")\n\t \t}\n\t }else{\n\t \tlist=java.getElement(\"class.myui-vodlist__box\")\n\t \t}\n\t \tlist\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@main\/js\/yingshi.css\" \/>\n<script src=\"\/\/cdn.staticfile.org\/jquery\/2.2.4\/jquery.min.js\"><\/script>\n<\/head>\n<div class =\"dz\" width=\"100%\"><\/div>\n\n<div class=\"dplayer\" id=\"dplayer\" style=\"width:100%;height:350\"><\/div>\n\n<div id=\"tab\"><ul>{{@@class.nav nav-tabs active@a@html}}<\/ul><\/div>\n{{@@class.myui-content__list@html}}\n\n<script>\nfunction video(url){\n$.get(url,function(result){\n\tjson=result.match(\/var player.*?=(\\{.*?\\})<\/)[1];\nvar src=JSON.parse(json).url;\nsrc=decodeURIComponent(atob(src));\nvar path=\"https:\/\/sigu.cc\/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\turl=parse+src;\n\tif(parse.match(\/dmmoyu\/)){\turl=\"https:\/\/dmmoyu.com\/player\/analysis.php?v=\"+src\n\t\t}\n\t\niframe= '<iframe width=\"100%\" height=\"100%\" src=\"'+url+'\" frameborder=\"0\" border=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" allowfullscreen=\"true\" mozallowfullscreen=\"mozallowfullscreen\" msallowfullscreen=\"msallowfullscreen\" oallowfullscreen=\"oallowfullscreen\" webkitallowfullscreen=\"webkitallowfullscreen\">';\n\n$(\".dplayer\").html(iframe)\n$(\".dz\").html(url);\n})\n});\n}\n\n(function(){\nurl=$(\"button:first()\").val();\nvideo(\"{{source.sourceUrl}}\"+url);\n\t\n$(\".myui-content__list\").hide();\n$(\".myui-content__list:eq(0)\").show();\n$(\"li:eq(0)\").addClass(\"active\")})();\n\n$(\"button\").ready(function(){\nurl=$(this).val();\n$(\"button:first\").addClass(\"upBtn\");\nvideo(url);\n});\n\n$(\"button\").click(function(){\n$(\"button\").removeClass(\"upBtn\");\n$(this).addClass(\"upBtn\");\nurl='https:\/\/sigu.cc'+$(this).val();\nvideo(url);\n});\n\n$(\"li\").click(function(){\n$(\"li\").removeClass(\"active\");\n$(this).addClass(\"active\");\nindex=$(this).index();\ntext=$(this).text()\nif(text.match(\"本站\")){alert(\"该源有广告,不建议使用\")}\n$(\".myui-content__list\").hide();\n$(\".myui-content__list:eq(\"+index+\")\").show();\n})\n<\/script>\n<\/html>\n\n@js:\nresult = result.replace(\/<li.*?><a.*? href=\"([^\"]+)\">([^<]+)<\\\/a><\\\/li>\/g,'<button value=\"$1\">$2<\/button>').replace(\/<a\/g,'<li').replace(\/<\\\/a>\/g,'<\/li>')", "ruleDescription": "", "ruleImage": "class.lazyload@data-original", "ruleLink": "a.0@href", "ruleNextPage": "text.下一页@href", "rulePubDate": "class.lazyload@text", "ruleTitle": "a@title", "singleUrl": false, "sortUrl": "搜索::https:\/\/sigu.cc\/search\n电影::https:\/\/sigu.cc\/type\/m.html\n电视剧::https:\/\/sigu.cc\/type\/tv.html\n综艺::https:\/\/sigu.cc\/type\/va.html\n动漫::https:\/\/sigu.cc\/type\/ct.html", "sourceComment": "", "sourceGroup": "影视", "sourceIcon": "https:\/\/inews.gtimg.com\/newsapp_ls\/0\/11929387606\/0", "sourceName": "思古影视", "sourceUrl": "https:\/\/sigu.cc", "style": "button{\n\tmargin:5px\n\t}" }