八一中文网
http://www.x81zws.com/
no-mystery (13204)3天前
默认采用缓存搜索链接(尽可能快),失败后自动更新搜索链接(更新缓存)
{
"bookSourceComment": "默认使用缓存的搜索链接,如果识别则自动更新搜索链接",
"bookSourceName": "八一中文网",
"bookSourceType": 0,
"bookSourceUrl": "http:\/\/www.x81zws.com\/",
"customButton": false,
"customOrder": 523,
"enabled": true,
"enabledCookieJar": true,
"enabledExplore": true,
"eventListener": false,
"exploreUrl": "[{\"title\":\"玄幻魔法\",\"url\":\"\/class\/xuanhuan\/{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.3}},{\"title\":\"武侠修真\",\"url\":\"\/class\/wuxia\/{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.3}},{\"title\":\"都市言情\",\"url\":\"\/class\/dushi\/{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.3}},{\"title\":\"历史军事\",\"url\":\"\/class\/lishi\/{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.3}},{\"title\":\"科幻灵异\",\"url\":\"\/class\/kehuan\/{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.3}},{\"title\":\"游戏竞技\",\"url\":\"\/class\/youxi\/{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.3}},{\"title\":\"女生耽美\",\"url\":\"\/class\/nvsheng\/{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.3}},{\"title\":\"其他类型\",\"url\":\"\/class\/qita\/{{page}}\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.3}}]",
"header": "{\"referer\":\"http:\/\/www.x81zws.com\/\"}",
"lastUpdateTime": "1775318353876",
"respondTime": 4641,
"ruleBookInfo": {
"author": "@get:{a}",
"coverUrl": "@get:{i}",
"init": "@put:{n:\"[property$=book_name]@content\",\na:\"[property$=author]@content\",\nc:\"[property~=category|status|update_time]@content\",\nw:\"#count@li[1]@span@text\",\nl:\"[property$=latest_chapter_name]@content||[property$=lastest_chapter_name]@content\",\nd:\"class.hm-scroll@text\",\ni:\"[property$=image]@content\"}",
"intro": "@get:{d}",
"kind": "@get:{c}",
"lastChapter": "@get:{l}",
"name": "@get:{n}",
"wordCount": "@get:{w}"
},
"ruleContent": {
"content": "#TextContent@p@html",
"nextContentUrl": "text.下一页@href||#next_url@href",
"replaceRegex": "##\\s最近转码.*\\s*"
},
"ruleExplore": {},
"ruleSearch": {
"author": ".book_other[0]@span[0]@text",
"bookList": "#nr||#sitebox dl@js:\nif(!!result.size()){\n\tresult\n}else{\n\tconst ba = \"http:\/\/www.x81zws.com\";\n\tconst ser = String(java.ajax(ba)).match(\/ action=\"([^\"]+)\"\/)[1];\n\tconst serurl = `${ba}${ser},{\n\"body\":\"searchkey=${source.get(\"key\")}\",\n\"method\":\"POST\",\n\"charset\": \"UTF-8\"\n\t}`;\n\t\/\/自动更新搜索链接\n\tsource.putVariable(ser);\n java.setContent(java.ajax(serurl), ba);\n\tjava.getElements(\"#nr||#sitebox dl\")\n}",
"bookUrl": "a@href",
"coverUrl": "img@data-original",
"intro": ".book_des@text",
"kind": ".book_other[0]@span[1]@text&&.uptime@text",
"lastChapter": ".book_other[1]@a@text",
"name": "h3 a@text",
"wordCount": ".book_other[0]@span[2]@text"
},
"ruleToc": {
"chapterList": "#chapterList li a",
"chapterName": "text",
"chapterUrl": "href"
},
"searchUrl": "{{\n\tcookie.removeCookie(source.getKey()),\n\tsource.put('key',key),\t`http:\/\/www.x81zws.com${source.getVariable()}`}},\n{\n\"body\":\"searchkey={{key}}\",\n\"method\":\"POST\",\n\"charset\": \"UTF-8\"\n\t}",
"weight": 0
}