-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsansi.json
30 lines (30 loc) · 2.83 KB
/
sansi.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
27
28
29
30
[
{
"articleStyle": 2,
"coverDecodeJs": "",
"customOrder": 0,
"enableJs": true,
"enabled": true,
"enabledCookieJar": true,
"header": "{\"User-Agent\": \"Mozilla/5.0 (Linux; Android 12; 2112123AC) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.104 Mobile Safari/537.36\",\"Referer\": \"https://www.san449.com/\"}",
"injectJs": "\n//html=document.documentElement.outerHTML;\n//alert(html)",
"lastUpdateTime": 0,
"loadWithBaseUrl": true,
"loginUrl": "##",
"ruleArticles": "[email protected] excerpt-one",
"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\" href=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/viewer.css\" rel=\"external nofollow\" rel=\"external nofollow\">\n<script src=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/viewer.min.js\"></script>\n<script src=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js\"></script>\n</head>\n<div class=\"page\"></div>\n<div class =\"dz\" id=\"dz\" width=\"100%\"></div>\n<div class=\"page\"></div>\n<script></script>\n<script>\nfunction i(url){\n$.get(url,function(result){\n img=String(result).match(/<p.*[\\s\\S]+p>/g)\n\timg=String(img).match(/<p.*\\s*p>/)+String(String(img).match(/<img\\s.*?\\/>/g))\n\timg=String(img).replace(/null|,|<p><img\\s.*?\\/><\\/p>/g,'');\n\n\t//alert(img)\n\t\n page=String(result).match(/class=\"article-paging\">(.*?[\\s\\S]+)<\\/div>\\s*<div\\sclass=\"ssr/)[1];\n page = page.replace(/<a\\shref=\"([^\"]+)\"\\s.*?><span>([^<]+)<\\/span><\\/a>/g,'<button value=\"$1\">$2</button>');\n \n //alert(page)\n \n window.scroll(0,0)\n $(\"#dz\").html(img);\n $(\".page\").html(page);\n});\n}\n\n$(function(){\nurl=$(this).val();\ni(url);\n});\n\n$(function(){\n$(document).on(\"click\",\"button\",function(){\n\turl=$(this).val();\n\t\n\talert(url)\n\ti(url);\n\t})});\n\n</script>\n<script>\nvar image = new Viewer(document.getElementByTagName(\"img\"),{url:\"src\"});\n</script>\n</html>",
"ruleDescription": "",
"ruleImage": "img@data-original",
"ruleLink": "h2@a@href",
"ruleNextPage": "text.下一页@href",
"rulePubDate": "class.text-muted time@text",
"ruleTitle": "h2@a@text",
"singleUrl": false,
"sortUrl": "搜索::https://www.san449.com/?s={{source.getVariable()}}\n美女写真::https://www.san449.com/meinv/page/{{page}}\n连载漫画::https://www.san449.com/item/%e8%bf%9e%e8%bd%bd/page/{{page}}\n完结漫画::https://www.san449.com/item/%e5%ae%8c%e7%bb%93/page/{{page}}\n爱情漫画::https://www.san449.com/mh/page/{{page}}",
"sourceGroup": "图片",
"sourceIcon": "https://www.san449.com/favicon.ico",
"sourceName": "三四娱乐",
"sourceUrl": "https://www.san449.com/",
"style": "img{\n\theight:auto;\n\twidth:100%\n\t}\n.page{\n\tmargin:10px;\n\t}"
}
]