果文学网

https://www.guowx.com

KuderTest (11635)1天前

果文学网https

二维码导入
{
    "bookSourceGroup": "更新",
    "bookSourceName": "果文学网",
    "bookSourceType": 0,
    "bookSourceUrl": "https:\/\/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": "1763601574712",
    "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##([^\\n]*?(提醒您|想看|的作品|本作者)[\\s\\S]*?《[\\s\\S]*?》[\\s\\S]*?完整章节[\\s\\S]*?(om|om)\\)[\\s\\S]*?\\r?\\n?|([\\s\\S]{3}guo|[\\s\\S]{7}来|[\\s\\S]{2}果)([\\s\\S]*?)(om|om|om)\\))##",
        "nextContentUrl": "@js:\n(()=>{\n   \/\/根据url获取下一页nextBaseUrl的nextPage \n   if (\/\\?page=\\d+\/.test(baseUrl)) {\n      nextPage = parseInt(baseUrl.match(\/page=(\\d+)\/)[1])+1;\n   } else {\n      nextPage =2\n   }\n   \/\/根据result的区别判断是否加载下一页\n   if (result.includes('id=\"linkNext\"')) {\n      \/\/置null,否则会尝试执行\n      nextBaseUrl = null;\n  } else {\n      nextBaseUrl = baseUrl.replace(\/\\?page=\\d+\/, '')+\"?page=\"+nextPage;\n  }\n})()\nnextBaseUrl"
    },
    "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
}
广告