(验证码)雨忆文学网

https://www.ghjun.com

laizhiyu (6509)1天前

也是AI制作的,也需要验证码
二维码导入
{
    "bookSourceComment": "雨忆文学网书源 (https:\/\/www.ghjun.com)\n\n搜索时自动弹出验证码图片,输入后自动搜索。\n获取一次验证码后缓存,一段时间内无需再次输入。\n验证码过期会自动重新弹出。\n\n发现包含8大分类、8个排行榜和全本小说。\n分类:玄幻、仙侠、都市、历史、网游、科幻、灵异、其他\n排行:总排行、周榜、日榜、月榜、更新榜、新书上架、收藏榜、字数榜",
    "bookSourceGroup": "验证码,AI",
    "bookSourceName": "(验证码)雨忆文学网",
    "bookSourceType": 0,
    "bookSourceUrl": "https:\/\/www.ghjun.com",
    "customButton": false,
    "customOrder": 172,
    "enabled": true,
    "enabledCookieJar": true,
    "enabledExplore": true,
    "eventListener": false,
    "exploreUrl": "玄幻小说::https:\/\/www.ghjun.com\/sort\/1\/{{page}}.html\n仙侠小说::https:\/\/www.ghjun.com\/sort\/2\/{{page}}.html\n都市小说::https:\/\/www.ghjun.com\/sort\/3\/{{page}}.html\n历史小说::https:\/\/www.ghjun.com\/sort\/4\/{{page}}.html\n网游小说::https:\/\/www.ghjun.com\/sort\/5\/{{page}}.html\n科幻小说::https:\/\/www.ghjun.com\/sort\/6\/{{page}}.html\n灵异小说::https:\/\/www.ghjun.com\/sort\/7\/{{page}}.html\n其他小说::https:\/\/www.ghjun.com\/sort\/8\/{{page}}.html\n总排行榜::https:\/\/www.ghjun.com\/top\/allvisit\/{{page}}.html\n周排行榜::https:\/\/www.ghjun.com\/top\/weekvisit\/{{page}}.html\n日排行榜::https:\/\/www.ghjun.com\/top\/dayvisit\/{{page}}.html\n月排行榜::https:\/\/www.ghjun.com\/top\/monthvisit\/{{page}}.html\n更新榜::https:\/\/www.ghjun.com\/top\/lastupdate\/{{page}}.html\n新书上架::https:\/\/www.ghjun.com\/top\/postdate\/{{page}}.html\n收藏榜::https:\/\/www.ghjun.com\/top\/goodnum\/{{page}}.html\n字数榜::https:\/\/www.ghjun.com\/top\/size\/{{page}}.html\n全本小说::https:\/\/www.ghjun.com\/full\/{{page}}.html",
    "lastUpdateTime": "1784123178428",
    "respondTime": 180000,
    "ruleBookInfo": {
        "author": "meta[property~=og:novel:author]@content",
        "coverUrl": "meta[property~=og:image]@content",
        "intro": "meta[property~=og:description]@content",
        "kind": "meta[property~=og:novel:category]@content",
        "lastChapter": "meta[property~=og:novel:latest_chapter_name]@content",
        "name": "meta[property~=og:novel:book_name]@content",
        "tocUrl": "@js:baseUrl.replace(\/\\\/$\/, '') + '\/1\/'"
    },
    "ruleContent": {
        "content": "#chapter@html##\\[.*?】.*?\\]##",
        "nextContentUrl": "text.下一章@href"
    },
    "ruleExplore": {
        "author": "@css:td:nth-child(4)@text",
        "bookList": "table.table tr",
        "bookUrl": "a[title]@href",
        "kind": "@css:td:nth-child(1)@text",
        "lastChapter": "a.text-muted@text",
        "name": "a[title]@title",
        "wordCount": "@css:td:nth-child(5)@text"
    },
    "ruleSearch": {
        "author": "@css:td:nth-child(4)@text",
        "bookList": "<js>\nif(result.indexOf('searchcode')>-1){\n    var sUrl=String(source.bookSourceUrl);\n    var sk=java.get('search_key')||'';\n    var captchaUrl=sUrl+'\/searchcode.php?t='+Date.now();\n    function doPost(code){\n        var u=sUrl+'\/s\/search\/,{\"method\":\"POST\",\"body\":\"keyword='+encodeURIComponent(sk)+'&code='+code+'\"}';\n        return java.ajax(u);\n    }\n    var yzco=source.getVariable();\n    if(yzco&&yzco!=''){\n        result=doPost(yzco);\n        if(result.indexOf('searchcode')>-1){\n            java.longToast('验证码过期,请重新输入');\n            var yzm=java.getVerificationCode(captchaUrl);\n            result=doPost(yzm);\n            source.setVariable(yzm);\n        }\n    }else{\n        var yzm=java.getVerificationCode(captchaUrl);\n        result=doPost(yzm);\n        source.setVariable(yzm);\n    }\n}\nresult;\n<\/js>\ntable.table tr",
        "bookUrl": "a[title]@href",
        "kind": "@css:td:nth-child(1)@text",
        "lastChapter": "a.text-muted@text",
        "name": "a[title]@title",
        "wordCount": "@css:td:nth-child(5)@text"
    },
    "ruleToc": {
        "chapterList": "dl.panel-chapterlist dd a",
        "chapterName": "@text",
        "chapterUrl": "@href",
        "nextTocUrl": "text.下一页@href"
    },
    "searchUrl": "@js:\njava.put('search_key',key);\nvar sUrl=String(source.bookSourceUrl);\nresult=sUrl+'\/s\/search\/?keyword='+encodeURIComponent(key);",
    "weight": 0
}
广告