69书吧

https://www.69shuba.com/

gxmandppx (2706)04/15 00:38

修改自@yelnt,在他的基础上添加发现和正文替换规则。

注意:UA添加为自己浏览器Web view的ua,不然cf通过不了。

手机ua可用via搜索查看,注意是未修改ua,而不是自定义ua。

二维码导入
{
    "bookSourceComment": "",
    "bookSourceGroup": "",
    "bookSourceName": "69书吧",
    "bookSourceType": 0,
    "bookSourceUrl": "https:\/\/www.69shuba.com\/",
    "bookUrlPattern": "https:\/\/www.69shuba.com\/book\/[0-9]+\\.htm",
    "concurrentRate": "",
    "coverDecodeJs": "",
    "customOrder": 0,
    "enabled": true,
    "enabledCookieJar": false,
    "enabledExplore": true,
    "exploreUrl": "[{\"title\":\"分类\",\"url\":\"\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":1}},\n{\"title\":\"男生推荐\",\"url\":\"\/novels\/male\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.4}},\n{\"title\":\"女生推荐\",\"url\":\"\/novels\/female\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.4}},\n{\"title\":\"玄幻魔法\",\"url\":\"\/novels\/class\/1.htm\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\n{\"title\":\"武侠修真\",\"url\":\"\/novels\/class\/2.htm\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\n{\"title\":\"言情小说\",\"url\":\"\/novels\/class\/3.htm\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\n{\"title\":\"历史军事\",\"url\":\"\/novels\/class\/4.htm\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\n{\"title\":\"游戏竞技\",\"url\":\"\/novels\/class\/5.htm\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\n{\"title\":\"科幻空间\",\"url\":\"\/novels\/class\/6.htm\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\n{\"title\":\"悬疑惊悚\",\"url\":\"\/novels\/class\/7.htm\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\n{\"title\":\"同人小说\",\"url\":\"\/novels\/class\/8.htm\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\n{\"title\":\"都市小说\",\"url\":\"\/novels\/class\/9.htm\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\n{\"title\":\"官场职场\",\"url\":\"\/novels\/class\/10.htm\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\n{\"title\":\"穿越时空\",\"url\":\"\/novels\/class\/11.htm\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\n{\"title\":\"青春校园\",\"url\":\"\/novels\/class\/12.htm\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\n{\"title\":\"排行榜\",\"url\":\"\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":1}},\n{\"title\":\"连载人气榜\",\"url\":\"\/novels\/weekvisit_0_2_{{page}}.htm\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\n{\"title\":\"连载推荐榜\",\"url\":\"\/novels\/allvote_0_2_{{page}}.htm\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\n{\"title\":\"连载新书榜\",\"url\":\"\/novels\/newhot_0_2_{{page}}.htm\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\n{\"title\":\"完本人气榜\",\"url\":\"\/novels\/weekvisit_0_1_{{page}}.htm\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\n{\"title\":\"完本推荐榜\",\"url\":\"\/novels\/allvote_0_1_{{page}}.htm\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\n{\"title\":\"完本新书榜\",\"url\":\"\/novels\/newhot_0_1_{{page}}.htm\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}}]",
    "header": "@js:\nJSON.stringify({\n  \"User-Agent\": \"Mozilla\/5.0 (Linux; Android 12; ANA-AN00 Build\/HUAWEIANA-AN00) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/114.0.5735.196 Mobile Safari\/537.36\",\n  \"Referer\": baseUrl\n})",
    "jsLib": "function getSearchOpt() {\n\t var { java, key } = this\n\t key = key ? java.put(\"key\", key) : java.get(\"key\")\n\t return  \",\" + JSON.stringify(\n\t \t  {\n\t \t  \t  \"charset\": \"GBK\",\n\t \t  \t  \"method\": \"POST\",\n\t \t  \t  \"body\": `searchkey=${key}&searchtype=all`\n\t \t  \t}\n\t \t)\n}",
    "lastUpdateTime": "1744648701509",
    "loginUrl": "",
    "respondTime": 180000,
    "ruleBookInfo": {
        "author": "[property$=\"author\"]@content",
        "coverUrl": "img@src",
        "init": "",
        "intro": " \n🏷️ 标签:{{\n  eval(String(java.getElement(\"script.0\").html()))\n  bookinfo.tags.slice(0,-1).replaceAll(\"|\",\", \")||\"无\"\n}}\n📖 详情:{{@@.navtxt p.0@text}}",
        "kind": "[property$=\"category\"]@content&& \n[property$=\"status\"]@content&& \n[property$=\"update_time\"]@content",
        "lastChapter": "[property$=\"latest_chapter_name\"]@content##\\d+\\.(?=第)",
        "name": "[property$=\"book_name\"]@content",
        "tocUrl": ".addbtn .btn@href",
        "wordCount": ".infolist li.0@textNodes"
    },
    "ruleContent": {
        "content": ".txtnav@textNodes",
        "replaceRegex": "##\\s*({{ book.durChapterTitle }}|.*作者:.*|\\(本章完\\)|PS:.*求推荐!|PS:.*求收藏!|感谢.*打赏.*|感谢.*推荐票.*|感谢.*月票.*|(.*月票.*)|(为大家的.*票加更.*)|第二更在.*|为防止采集.*支持!|如果您.*观看!|(看完.*阅读!.*)|loadAdv.*)\\s*",
        "title": "h1@text##\\d+\\.(?=第)"
    },
    "ruleExplore": {
        "author": "",
        "bookList": "",
        "bookUrl": "",
        "coverUrl": "",
        "intro": "",
        "name": ""
    },
    "ruleSearch": {
        "author": "label[0]@text",
        "bookList": "<js>\nif (result.match(\/onloadTurnstileCallback\/)) {\n\t cookie.removeCookie(source.getKey())\n\t url = baseUrl + getSearchOpt()\n  java.startBrowserAwait(url, \"\").body()\n} else result\n<\/js>\n.newbox li",
        "bookUrl": "h3 a@href\n@js:\nif (!result.startsWith(source.getKey())) {\n\t url = String(book.coverUrl)\n  url.replace(\/^.*\\\/(\\d+)s\\.jpg$\/, \"\/book\/$1.htm\")\n} else result",
        "checkKeyWord": "",
        "coverUrl": "img@data-src",
        "intro": "ol@text",
        "kind": "label[1:-1]@text",
        "lastChapter": ".zxzj p@textNodes##\\d+\\.(?=第)",
        "name": "h3@text",
        "wordCount": ""
    },
    "ruleToc": {
        "chapterList": "-#catalog li a",
        "chapterName": "text##\\d+\\.(?=第)",
        "chapterUrl": "href",
        "preUpdateJs": ""
    },
    "searchUrl": "\/modules\/article\/search.php{{getSearchOpt()}}",
    "variableComment": "",
    "weight": 0
}
广告