{
"bookSourceComment": "By_聆听月与悦-2025 . 3.22-15:33:41\n\n*在上一次的基础上修改了换源逻辑,更方便了\n*书源支持修改书籍变量来实现与网站相同的换源功能,详细请看书籍详情页\n*书籍变量≤c",
"bookSourceName": "🎉蓝海搜书",
"bookSourceType": 0,
"bookSourceUrl": "https:\/\/www.letsboox.com",
"customOrder": 0,
"enabled": true,
"enabledCookieJar": true,
"enabledExplore": true,
"header": "",
"lastUpdateTime": "1742630209883",
"loginUi": "",
"loginUrl": "",
"respondTime": 180000,
"ruleBookInfo": {
"canReName": "",
"coverUrl": "class.BGsectionOne-top-left@img@src",
"intro": " \n📜简 介:{{@@#intro@text##[《》]*}}{{'\\n'+''}}\n🔎换源信息:\na =>{{@@.BGsectionThree-content@li.0@text##正文 第\\d+节 }}\nb =>{{@@.BGsectionThree-content@li.1@text##正文 第\\d+节 }}\nc =>{{@@.BGsectionThree-content@li.2@text##正文 第\\d+节 }}{{'\\n'+''}}\n📄使用说明:由于网站涉及到更换不同的目录链接,所以在阅读中你可以通过在书籍详情页点击右上角修改书籍变量来实现换源!(默认为a)\n!!!!修改之后请刷新!!!!\n@js:\nvar intro = java.t2s(result);\nintro",
"lastChapter": "{{@@class.newestChapter@span@text}}•{{@@class.time@span@text}}",
"tocUrl": "class.BGsectionThree-content@all\n@js:\nvar html = result;\nvar doc = org.jsoup.Jsoup.parse(html);\nvar siteList = doc.select(\"li.site\");\nvar result = {};\nvar actionMap = {};\nfor (var i = 0; i < siteList.size(); i++) {\n var site = siteList.get(i);\n var aTags = site.select(\"a\");\n if (aTags.size() >= 2) {\n var secondHref = aTags.get(1).attr(\"href\");\n var secondText = java.t2s(aTags.get(1).text());\n var key = String.fromCharCode(97 + i); \/\/ a\/b\/c...\n \n result[key] = secondHref;\n actionMap[key] = secondText;\n }\n}\nvar sourceKey = book.getVariable(\"custom\");\nvar isVariableSet = (sourceKey !== null && sourceKey !== undefined);\nif (!isVariableSet) {\n sourceKey = 'a';\n java.longToast(\"当前未选择目录地址,请通过修改书籍变量来选择(默认为a)\");\n} else {\n if (!result.hasOwnProperty(sourceKey)) {\n java.longToast(\"错误:变量值 '\" + sourceKey + \"' 无效,已回退到默认值a\");\n sourceKey = 'a';\n } else {\n java.longToast(\"更换成功,当前目录地址为:\" + actionMap[sourceKey]);\n }\n}\nresult[sourceKey];"
},
"ruleContent": {
"content": "class.RBGsectionThree@div.1@html\n@js:\nvar content = java.t2s(result);\ncontent",
"replaceRegex": "##[\\<\\!\\-go\\>]*"
},
"ruleExplore": {},
"ruleSearch": {
"author": "span.1@text",
"bookList": "class.SHsectionThree-middle@p",
"bookUrl": "span.0@a@href",
"coverUrl": "java.toast('text')",
"kind": "span.2@text",
"name": "span.0@text##[《》]*"
},
"ruleToc": {
"chapterList": "class.BCsectionTwo-top@class.BCsectionTwo-top-chapter\n<js>\ntry {\na=src.match(\/var originalOrder = \\[.*\\];\/)[0]\neval(String(a))\n\nlist=[]\nfor (i in result) {\nlist[originalOrder[i]]=result[i]\n}\n\nlist\n} catch(err) {\nresult\n}\n\n<\/js>",
"chapterName": "li@text\n@js:\nvar text = java.t2s(result);\ntext",
"chapterUrl": "li@a@href@js:result+',{\"webView\":true}'",
"formatJs": ""
},
"searchUrl": "https:\/\/www.letsboox.com\/s\/{{key}}\/{{page}}\/",
"weight": 0
}