果文学网

http://www.guowx.com

木木 (1)02/20 10:42

修复最后一章加载失败问题。
二维码导入
{
    "bookSourceGroup": "自制,源仓库,网页源",
    "bookSourceName": "果文学网",
    "bookSourceType": 0,
    "bookSourceUrl": "http:\/\/www.guowx.com",
    "bookUrlPattern": "http:\/\/\\w+.guowx.com\/$",
    "customOrder": 0,
    "enabled": true,
    "enabledCookieJar": true,
    "enabledExplore": true,
    "exploreUrl": "玄幻奇幻::http:\/\/www.guowx.com\/xuanhuan<,?page={{page}}>\n武侠仙侠::http:\/\/www.guowx.com\/xianxia<,?page={{page}}>\n都市言情::http:\/\/www.guowx.com\/dushi<,?page={{page}}>\n历史军事::http:\/\/www.guowx.com\/lishi<,?page={{page}}>\n科幻传奇::http:\/\/www.guowx.com\/kehuan<,?page={{page}}>\n恐怖灵异::http:\/\/www.guowx.com\/kongbu<,?page={{page}}>\n其他类型::http:\/\/www.guowx.com\/qita<,?page={{page}}>\n全本小说::http:\/\/www.guowx.com\/quanben<,?page={{page}}>",
    "header": "{\"User-Agent\": \"Mozilla\/5.0 (Linux; Android 9) Mobile Safari\/537.36\"}",
    "lastUpdateTime": "1740019354750",
    "respondTime": 180000,
    "ruleBookInfo": {
        "author": "[property$=author]@content",
        "coverUrl": "[property$=image]@content",
        "downloadUrls": "text.下载@href",
        "intro": "[property$=description]@content",
        "kind": "[property~=category|status|time]@content",
        "lastChapter": "[property$=latest_chapter_name]@content",
        "name": "[property$=book_name]@content",
        "wordCount": "{{@@#count span.1@text}}字"
    },
    "ruleContent": {
        "content": "#TextContent p@textNodes",
        "nextContentUrl": "text.下一页@id\n@js:\nnext=src.match(\/var u\\w+=\\\"(\\d+.*)\\\"\/);\nvar next2=\"\";\nif(next){\nnext2 = next[1];\n}\nnext2;"
    },
    "ruleExplore": {
        "bookList": "#sitebox dl",
        "bookUrl": "a.1@href",
        "coverUrl": "img@_src",
        "intro": ".book_des@text",
        "kind": "span.2:3:1@text",
        "lastChapter": "a.-1@text",
        "name": "h3 a@text",
        "wordCount": "{{@@span.-1@text}}字"
    },
    "ruleSearch": {
        "bookList": "#nr",
        "bookUrl": "a.1@href",
        "checkKeyWord": "剑来",
        "coverUrl": "img@_src",
        "intro": ".book_des@text",
        "kind": "span.2:3:1@text",
        "lastChapter": "a.-1@text",
        "name": "h3 a@text",
        "wordCount": "{{@@span.-1@text}}字"
    },
    "ruleToc": {
        "chapterList": "#chapterList li a",
        "chapterName": "text",
        "chapterUrl": "href"
    },
    "searchUrl": "@js:\n\nvar url=source.getKey();\n\nvar html = java.ajax(url);\n\ntoken = org.jsoup.Jsoup.parse(html).select('input[name=_token]').attr('value');\n\nurl+\"\/search,\"+JSON.stringify({\n  \"body\": `_token=${token}&keyword=${key}&searchtype=articlename`,\n  \"method\": \"post\"\n})",
    "weight": 0
}
广告