Mitaku加搜索
https://mitaku.net
分享者: sonwrinli (451)发布时间: 2024/08/10
搜索就是把网址里关键字的部分换成{{source.getVariable()}} 大部分第一页网址和后面页的网址是不一样的,复制一下后面页的网址,把里面的页码数换成{{page}},再用<>把网址里不同于第一页网址的部分括起来,<>里最前方加的英文格式逗号表示当{{page}}为0或者1时忽略掉括号里的部分,这样第一页的网址就没有括号的部分了(这样就能获取到第一页的正确网址了)。
{ "articleStyle": 2, "concurrentRate": "5", "customOrder": -10098454, "enableJs": true, "enabled": true, "enabledCookieJar": false, "lastUpdateTime": 0, "loadWithBaseUrl": true, "ruleArticles": "[email protected]", "ruleContent": "[email protected]@data-lazy##(.*)\n<pre>\n <js>\n imgList = result.split(\"\\n\");\n imgDom = \"\";\n for (let i = 0; i < imgList.length; i++) {\n imgDom += `<img src=\"http:\/\/iph.href.lu\/375x400?text=AiKan\" data-src=\"${imgList[i]}\" \/>`;\n }\n <\/js>\n<\/pre>\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0\" \/>\n<h3>{{@@class.entry-title.0@text}}<\/h3>\n<p>时间:{{@@class.updated.0@text}}<\/p>\n<p>{{@@[email protected].[0:4]@text}}<\/p>\n<div id=\"imgbox\">{{result}}<\/div>\n<!-- tag.iframe.0@data-src -->\n<iframe src=\"{{@@tag.iframe.0@data-src}}\"><\/iframe>\n<link rel=\"stylesheet\" href=\"https:\/\/cdn.bootcdn.net\/ajax\/libs\/viewerjs\/1.10.1\/viewer.min.css\" \/>\n<script src=\"https:\/\/cdn.bootcdn.net\/ajax\/libs\/viewerjs\/1.10.1\/viewer.min.js\"><\/script>\n<script>\n root = document.getElementById(\"imgbox\");\n \/\/查看大图插件\n new Viewer(root, {\n title: false,\n interval: 3000,\n });\n lazy = new IntersectionObserver(\n (entires) => {\n console.log(\"entires\", entires);\n entires.forEach((item) => {\n if (item.isIntersecting) {\n item = item.target;\n item.src = item.getAttribute(\"data-src\");\n lazy.unobserve(item);\n }\n });\n },\n {\n root: root,\n threshold: [0],\n rootMargin: \"0px 0px 500px 0px\",\n }\n );\n\n imgs = document.getElementsByTagName(\"img\");\n Array.from(imgs).forEach((item) => {\n lazy.observe(item);\n });\n<\/script>\n", "ruleDescription": "", "ruleImage": "tag.img@src", "ruleLink": "[email protected]@href", "ruleNextPage": "page", "rulePubDate": "class.updated.0@text", "ruleTitle": "[email protected]@title", "shouldOverrideUrlLoading": "1", "singleUrl": false, "sortUrl": "首页::https:\/\/mitaku.net\/<,page\/{{page}}\/>\n搜索::https:\/\/mitaku.net\/<,page\/2\/>?s={{source.getVariable()}}\n角色扮演::\/category\/ero-cosplay\/<,page\/{{page}}\/>", "sourceComment": "搜索就是把网址里关键字的部分换成{{source.getVariable()}}\n大部分第一页网址和后面页的网址是不一样的,复制一下后面页的网址,把里面的页码数换成{{page}},再用<>把网址里不同于第一页网址的部分括起来,<>里最前方加的英文格式逗号表示当{{page}}为0或者1时忽略掉括号里的部分,这样第一页的网址就没有括号的部分了(这样就能获取到第一页的正确网址了)。", "sourceIcon": "https:\/\/mitaku.net\/wp-content\/uploads\/2020\/05\/cropped-Mitaku-Logo-1-32x32.jpg", "sourceName": "Mitaku加搜索", "sourceUrl": "https:\/\/mitaku.net", "style": " body {\n padding: 30rpx;\n }\n img {\n display: block;\n width: 100%;\n }\n iframe {\n margin-top: 30rpx;\n display: block;\n width: 100%;\n min-height: 200px;\n border: 0;\n outline: 0;\n background: url(\"http:\/\/iph.href.lu\/375x200?text=Video\") contian\/center no-repeat;\n }" }