篱笆好文学

https://m.libahao2.com

ycbsteamed-buns (14809)10/09 17:15

篱笆好书源
二维码导入
{
    "bookSourceComment": "\/\/ 作者:姚浅书 \/\/ 篱笆好文学,含辅助登录。v1.2 修复正文翻页:选择器改为 .mr-pagination a.mr-next。",
    "bookSourceGroup": "纳兰验证",
    "bookSourceName": "篱笆好文学",
    "bookSourceType": 0,
    "bookSourceUrl": "https:\/\/m.libahao2.com",
    "bookUrlPattern": "https:\/\/m\\.libahao2\\.com\/book\/\\d+_\\d+\/?",
    "customButton": false,
    "customOrder": 3,
    "enabled": true,
    "enabledCookieJar": true,
    "enabledExplore": true,
    "eventListener": false,
    "exploreUrl": "玄幻魔法::https:\/\/m.libahao2.com\/xuanhuan\/{{page}}\/\n武侠修真::https:\/\/m.libahao2.com\/xiuzhen\/{{page}}\/\n都市言情::https:\/\/m.libahao2.com\/dushi\/{{page}}\/\n历史军事::https:\/\/m.libahao2.com\/lishi\/{{page}}\/\n游戏竞技::https:\/\/m.libahao2.com\/wangyou\/{{page}}\/\n科幻灵异::https:\/\/m.libahao2.com\/kehuan\/{{page}}\/\n女生言情::https:\/\/m.libahao2.com\/nvpin\/{{page}}\/\n其他小说::https:\/\/m.libahao2.com\/qita\/{{page}}\/",
    "header": "{\"User-Agent\":\"Mozilla\/5.0 (Linux; Android 13) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/120.0.0.0 Mobile Safari\/537.36\"}",
    "lastUpdateTime": "1791537358614",
    "loginUi": "[\n  {\n    \"name\": \"🌐 打开网站首页\",\n    \"type\": \"button\",\n    \"action\": \"openBrowser()\",\n    \"style\": {\"layout_flexGrow\": 1, \"layout_flexBasisPercent\": 1}\n  },\n  {\n    \"name\": \"🍪 查看当前Cookie\",\n    \"type\": \"button\",\n    \"action\": \"checkCookie()\",\n    \"style\": {\"layout_flexGrow\": 1, \"layout_flexBasisPercent\": 0.5}\n  },\n  {\n    \"name\": \"🗑️ 清除Cookie\",\n    \"type\": \"button\",\n    \"action\": \"clearCookie()\",\n    \"style\": {\"layout_flexGrow\": 1, \"layout_flexBasisPercent\": 0.5}\n  }\n]",
    "loginUrl": "openBrowser = () => {\n    java.startBrowser('https:\/\/m.libahao2.com', '若页面出现验证,请手动通过,然后返回阅读即可');\n}\n\ncheckCookie = () => {\n    var c = java.getCookie('https:\/\/m.libahao2.com');\n    java.toast('Cookie: ' + (c ? c : '当前为空'));\n}\n\nclearCookie = () => {\n    java.clearCookie('https:\/\/m.libahao2.com');\n    java.toast('🗑️ Cookie 已清除');\n}\nlogin = () => {};",
    "respondTime": 1023,
    "ruleBookInfo": {
        "author": "meta[property=og:novel:author]@content",
        "coverUrl": ".mb-cover@src",
        "intro": "meta[property=og:description]@content",
        "kind": "meta[property=og:novel:category]@content",
        "lastChapter": "meta[property=og:novel:lastest_chapter_name]@content",
        "name": "meta[property=og:novel:book_name]@content"
    },
    "ruleContent": {
        "content": "@js:var doc = org.jsoup.Jsoup.parse(result);\nvar content = String(doc.select('#chapterContent').html());\ncontent = content.replace(\/<b style=\"color:#ff0000[^\"]*\"[^>]*>[^<]*<\\\/b>\/g, '');\ncontent = content.replace(\/<a [^>]*rel=\"next\"[^>]*>[\\s\\S]*?<\\\/a>\/g, '');\ncontent;",
        "nextContentUrl": ".mr-pagination a.mr-next@href"
    },
    "ruleExplore": {
        "author": ".m-book-meta@text##·.*",
        "bookList": "a.m-book-row",
        "bookUrl": "@href",
        "coverUrl": "img.m-cover@src",
        "intro": "p.m-book-description@text",
        "name": "h3.m-book-title@text"
    },
    "ruleSearch": {
        "author": "p.m-book-meta@text##·.*",
        "bookList": "a.m-book-row",
        "bookUrl": "@href",
        "coverUrl": "img.m-cover@src",
        "intro": "p.m-book-description@text",
        "name": "h3.m-book-title@text"
    },
    "ruleToc": {
        "chapterList": "#catalog ol.mb-catalog li a",
        "chapterName": "text",
        "chapterUrl": "href"
    },
    "searchUrl": "https:\/\/m.libahao2.com\/sou?wd={{key}}",
    "weight": 0
}
广告