Skip to content

Instantly share code, notes, and snippets.

@benzBrake
Created October 22, 2022 15:18
Show Gist options
  • Save benzBrake/8a87e0dacc57d142222b92b2abf8ea15 to your computer and use it in GitHub Desktop.
Save benzBrake/8a87e0dacc57d142222b92b2abf8ea15 to your computer and use it in GitHub Desktop.
精华小说阁 WAP 版阅读书源
{
"bookSourceComment": "",
"bookSourceGroup": "",
"bookSourceName": "精华书阁手机版",
"bookSourceType": 0,
"bookSourceUrl": "https://wap.jhssd.com/",
"customOrder": -2085958774,
"enabled": true,
"enabledCookieJar": false,
"enabledExplore": false,
"enabledReview": false,
"header": "",
"lastUpdateTime": 1666451843116,
"respondTime": 180000,
"ruleBookInfo": {
"author": "p.2@text",
"coverUrl": "class.block_img2@tag.img@src",
"intro": "class.intro_info@textNodes",
"lastChapter": "@li.0@text",
"name": "class.block_txt2@a.1@text"
},
"ruleContent": {
"content": "id.nr1@html",
"imageStyle": "TEXT",
"nextContentUrl": "id.pb_next@href",
"replaceRegex": "##精华书阁.*|.*免费阅读.*https.*com.*|为您提供.*请务必保存好书签.|最新章节!|(本章未完,请点击下一页继续阅读)|@|具体最快.*|最快更新.*|看《.*》|[\\((]本章完[\\))]|www.*|</a.*|温馨提示.*|域名更换.*|本章未完!|『章节有误?登录后点此报错~』|最快更请.*|[_\\/\\\\.`]*无[_\\/\\\\.`]*错[_\\/\\\\.`]*更[_\\/\\\\.`]*新[_\\/\\\\.`]*|[_\\/\\\\.]*精[_\\/\\\\.]*华[_\\/\\\\.]*书[_\\/\\\\.]*阁[_\\/\\\\.]*手[_\\/\\\\.]*机[_\\/\\\\.]*版[_\\/\\\\.]*无[_\\/\\\\.]*错[_\\/\\\\.]*首[_\\/\\\\.]*发[_\\/\\\\.~!]*|[_\\/\\\\.`]*w[_\\/\\\\.`]*a[_\\/\\\\.`]*p[_\\/\\\\.`]*j[_\\/\\\\.`]*h[_\\/\\\\.`]*s[_\\/\\\\.`]*s[_\\/\\\\.`]*d[_\\/\\\\.`]*c[_\\/\\\\.`]*o[_\\/\\\\.`]*m[_\\/\\\\.`]*",
"webJs": "let nr_content = $(\"#nr1\");\nif (nr_content) {\n\tlet html = nr_content.html();\n $('span', nr_content).each((i, e) => {\n\t\thtml = html.replaceAll(e.outerHTML, getComputedStyle(e, ':before').getPropertyValue('content').replace(/\"/g, \"\"))\n });\n\treturn html;\n};\nreturn \"正文获取失败\";"
},
"ruleExplore": {},
"ruleReview": {},
"ruleSearch": {
"author": "class.author@text",
"bookList": "class.searchbook",
"bookUrl": "class.bookimg@tag.a@href",
"checkKeyWord": "7号基地",
"coverUrl": "class.bookimg@tag.img@src",
"kind": ".pa@text&&.p6@text&&.p5@text&&.s1@text&&.s5@text##\\s.*|\\[|\\]|小说",
"lastChapter": "a.1@text",
"name": "h4@text",
"wordCount": ".p4@text##字"
},
"ruleToc": {
"chapterList": "li!0:1:2:3:4@a",
"chapterName": "text",
"chapterUrl": "href",
"nextTocUrl": "option!0@value"
},
"searchUrl": "https://wap.jhssd.com/search.html?ie=utf-8&word={{key}}",
"weight": 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment