爱丽丝
# 洛制的爱丽丝书屋!
wwwcloger (11776)2小时前
依旧只会拉路线一
搜索后部分书显示不完全书名,保存书架依然不完全的问题已经被解决了
本来想把拉取网址的部分放在jsLib,发现cache没法被使用,阿巴阿巴
就这样吧
{
"bookSourceGroup": "洛制",
"bookSourceName": "爱丽丝",
"bookSourceType": 0,
"bookSourceUrl": "# 洛制的爱丽丝书屋!",
"customOrder": 0,
"enabled": true,
"enabledCookieJar": true,
"enabledExplore": true,
"lastUpdateTime": "1772624014527",
"respondTime": 180000,
"ruleBookInfo": {
"coverUrl": "tag.img[1]@src\n@js:\nif (!result){\n\t\"https:\/\/img.321cdn.com\/img\/01.png\";\n}else{\n\tresult;\n\t\t}",
"intro": "class.jianjie@text##(内容简介:\\t*?|爱丽丝书屋所有小说中出现的人物均为18岁以上的成人,若有不妥之处,仅是文学创作效果)",
"name": "class.novel_title@text",
"tocUrl": "class.tabtitle@tag.a@href"
},
"ruleContent": {
"content": "{{@class.read-content j_readContent user_ad_content@text## ##\n}}"
},
"ruleExplore": {},
"ruleSearch": {
"author": "tag.a[1]@text",
"bookList": "class.list-group-item",
"bookUrl": "tag.a[0]@href",
"checkKeyWord": "姐姐",
"intro": "class.content-txt@text",
"kind": "class.text-muted[2]@tag.a@text###",
"name": "tag.a[0]@text##[0-9]+\\."
},
"ruleToc": {
"chapterList": "class.mulu_list@tag.li",
"chapterName": "tag.a@text",
"chapterUrl": "tag.a@href"
},
"searchUrl": "@js:\nfunction getUrl() {\n const lineUrl = cache.get(\"Alice\")\n let Url;\n if(!lineUrl){\n const data = java.ajax(\"https:\/\/爱国.asw3.cc\/\");\n Url = data.match(\/id: '1'[\\s\\S]*?targetHref: '(https:\\\/\\\/[^']+)'\/)[1];\n cache.put(\"Alice\", Url, 60);\n }else {\n Url = lineUrl;\n }\n return Url;\n}\n\n\/\/ 呃啊啊,为什么cache放jslib里用不了啊 !!\n\nconst searchUrl = getUrl() + \"\/search.html?q=\" + java.encodeURI(key) + \"&f=_all&sort=relevance&p=\" + String(page) + \"&serialize=\";\njava.log(searchUrl);",
"weight": 0
}