[
    {
        "bookSourceComment": "69书吧自用书源，需要代理使用。遇到Cloudflare验证时会弹出浏览器让你手动通过。",
        "bookSourceGroup": "自用",
        "bookSourceName": "69书吧",
        "bookSourceType": 0,
        "bookSourceUrl": "https://www.69shuba.com",
        "bookUrlPattern": "https?://www\\.69shuba\\.com/book/\\d+\\.htm",
        "concurrentRate": "3000",
        "customOrder": 0,
        "enabled": true,
        "enabledCookieJar": true,
        "enabledExplore": true,
        "exploreUrl": "@js:\nvar result = [];\nvar push = (title, url, size) => result.push({\n    title: java.t2s(title),\n    url: url,\n    style: {\n        layout_flexGrow: 1,\n        layout_flexBasisPercent: size\n    }\n});\n\npush(\"༺ˇ»\\`ʚ  连载  ɞ´«ˇ༻\", null, 1);\n\nvar classify = [\n    [\"连载-玄幻魔法\", \"/novels/class/1.htm\"],\n    [\"连载-修真武侠\", \"/novels/class/2.htm\"],\n    [\"连载-言情小说\", \"/novels/class/3.htm\"],\n    [\"连载-历史军事\", \"/novels/class/4.htm\"],\n    [\"连载-游戏竞技\", \"/novels/class/5.htm\"],\n    [\"连载-科幻空间\", \"/novels/class/6.htm\"],\n    [\"连载-悬疑惊悚\", \"/novels/class/7.htm\"],\n    [\"连载-同人小说\", \"/novels/class/8.htm\"],\n    [\"连载-都市小说\", \"/novels/class/9.htm\"],\n    [\"连载-官场职场\", \"/novels/class/10.htm\"],\n    [\"连载-穿越时空\", \"/novels/class/11.htm\"],\n    [\"连载-青春校园\", \"/novels/class/12.htm\"]\n];\nclassify.forEach(([name, url]) => push(name, url, 0.25));\n\npush(\"༺ˇ»\\`ʚ  完本  ɞ´«ˇ༻\", null, 1);\n\nvar full = [\n    [\"完本-玄幻魔法\", \"/novels/full/1.htm\"],\n    [\"完本-修真武侠\", \"/novels/full/2.htm\"],\n    [\"完本-言情小说\", \"/novels/full/3.htm\"],\n    [\"完本-历史军事\", \"/novels/full/4.htm\"],\n    [\"完本-游戏竞技\", \"/novels/full/5.htm\"],\n    [\"完本-科幻空间\", \"/novels/full/6.htm\"],\n    [\"完本-悬疑惊悚\", \"/novels/full/7.htm\"],\n    [\"完本-同人小说\", \"/novels/full/8.htm\"],\n    [\"完本-都市小说\", \"/novels/full/9.htm\"],\n    [\"完本-官场职场\", \"/novels/full/10.htm\"],\n    [\"完本-穿越时空\", \"/novels/full/11.htm\"],\n    [\"完本-青春校园\", \"/novels/full/12.htm\"]\n];\nfull.forEach(([name, url]) => push(name, url, 0.25));\n\nJSON.stringify(result);",
        "header": "{'User-Agent':'Mozilla/5.0 (Linux; Android 12; Nexus 5X Build/NRD90M); wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/115.0.4664.104 Mobile Safari/537.36','Referer':'https://www.69shuba.com/'}",
        "respondTime": 3340,
        "ruleBookInfo": {
            "author": "//meta[@property='og:novel:author']/@content",
            "coverUrl": "//meta[@property='og:image']/@content",
            "init": "<js>if(result.match(/^<!DOCTYPE html><html lang=\"en-US\"><head><title>Just a moment.../)){java.longToast('请根据网页提示点击勾选「确认您是真人」来通过人机验证');result=java.startBrowserAwait(baseUrl,'人机验证').body();};result;</js>",
            "intro": "//meta[@property='og:description']/@content",
            "kind": "//meta[@property='og:novel:category' or @property='og:novel:status' or @property='og:novel:update_time']/@content",
            "lastChapter": "//meta[@property='og:novel:latest_chapter_name']/@content",
            "name": "//meta[@property='og:novel:book_name']/@content",
            "tocUrl": "@js:baseUrl.replace('.htm','/')",
            "wordCount": "class.booknav2.0@tag.p.2@text##( \\|.+)"
        },
        "ruleContent": {
            "content": ".txtnav@html\n@js:\nif (!String(result).trim()) {\n  result = \"内容加载失败，请刷新正文或手动过盾。\";\n} else {\n  let doc = org.jsoup.Jsoup.parse(String(result));\n  doc.select(\"h1, script, style, #txtright, .txtinfo, .contentadv, .bottom-ad\").remove();\n  result = String(doc.body().html());\n  result = result.replace(/\\(本章完\\)|\\ue5e5/g, '');\n}\nresult;",
            "nextContentUrl": "text.下一章@href||[class^=\"page\"]@a.-1@href",
            "title": "h1@text"
        },
        "ruleExplore": {
            "author": "tag.label.0@text",
            "bookList": "id.article_list_content.0@tag.li",
            "bookUrl": "tag.a.0@href",
            "coverUrl": "tag.img.0@data-src",
            "intro": "class.ellipsis_2.0@text",
            "kind": "tag.label.1@text&&tag.label.2@text",
            "lastChapter": "class.zxzj.0@tag.p.0@textNodes",
            "name": "tag.h3.0@tag.a.1@text",
            "wordCount": ""
        },
        "ruleSearch": {
            "author": "tag.label.0@text",
            "bookList": "class.newbox.0@tag.ul.0@tag.li",
            "bookUrl": "tag.a.0@href",
            "checkKeyWord": "我有一个",
            "coverUrl": "tag.img.0@data-src",
            "intro": "class.ellipsis_2.0@text",
            "kind": "tag.label.1@text&&tag.label.2@text",
            "lastChapter": "class.zxzj.0@tag.p.0@textNodes",
            "name": "tag.h3.0@tag.a.1@text"
        },
        "ruleToc": {
            "chapterList": "#catalog li\n@js:\nresult.toArray().sort((a, b) => +a.attr('data-num') - +b.attr('data-num')).filter(node => /(?:第.*?章|番外|楔子|序|尾声|终章|结局)/.test(String(node.text())));",
            "chapterName": "a@text",
            "chapterUrl": "a@href"
        },
        "searchUrl": "<js>/modules/article/search.php,{'charset':'gbk','body':'searchkey={{key}}&searchtype=all','method':'POST'};result='';result;</js>",
        "weight": 25
    }
]
