轻之国度

https://www.lightnovel.us

采集机器人 (2)2023/04/06

该用户很懒,什么介绍也没有写!
二维码导入
{
    "bookSourceComment": "不完善,请注意使用方法,方法详见酷安图文\n整理修改:酷安 Wolken\n原作者:酷安 转义字符\n发现规则原作者:酷安 金01461",
    "bookSourceGroup": "日轻小说,轻小说(2022-3-14)\n酷安@Wolken",
    "bookSourceName": "轻之国度",
    "bookSourceType": 0,
    "bookSourceUrl": "https:\/\/www.lightnovel.us",
    "bookUrlPattern": "https:\/\/www.lightnovel.us(\/cn)?\/(series|detail)\/\\d+",
    "customOrder": -88951520,
    "enabled": true,
    "enabledExplore": true,
    "exploreUrl": "[{\"title\":\"最新\",\"url\":\"https:\/\/www.lightnovel.us\/proxy\/api\/category\/get-article-by-cate,{\\\"method\\\":\\\"POST\\\",\\\"body\\\":\\\"{\\\\\\\"is_encrypted\\\\\\\":0,\\\\\\\"platform\\\\\\\":\\\\\\\"pc\\\\\\\",\\\\\\\"client\\\\\\\":\\\\\\\"web\\\\\\\",\\\\\\\"sign\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"gz\\\\\\\":0,\\\\\\\"d\\\\\\\":{\\\\\\\"parent_gid\\\\\\\":3,\\\\\\\"gid\\\\\\\":\\\\\\\"106\\\\\\\",\\\\\\\"page\\\\\\\":\\\\\\\"{{page}}\\\\\\\"}}\\\"}\",\"style\":{\"layout_flexGrow\":1}},{\"title\":\"整卷\",\"url\":\"https:\/\/www.lightnovel.us\/proxy\/api\/category\/get-article-by-cate,{\\\"method\\\":\\\"POST\\\",\\\"body\\\":\\\"{\\\\\\\"is_encrypted\\\\\\\":0,\\\\\\\"platform\\\\\\\":\\\\\\\"pc\\\\\\\",\\\\\\\"client\\\\\\\":\\\\\\\"web\\\\\\\",\\\\\\\"sign\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"gz\\\\\\\":0,\\\\\\\"d\\\\\\\":{\\\\\\\"parent_gid\\\\\\\":3,\\\\\\\"gid\\\\\\\":\\\\\\\"107\\\\\\\",\\\\\\\"page\\\\\\\":\\\\\\\"{{page}}\\\\\\\"}}\\\"}\",\"style\":{\"layout_flexGrow\":1}},{\"title\":\"原创\",\"url\":\"https:\/\/www.lightnovel.us\/proxy\/api\/category\/get-article-by-cate,{\\\"method\\\":\\\"POST\\\",\\\"body\\\":\\\"{\\\\\\\"is_encrypted\\\\\\\":0,\\\\\\\"platform\\\\\\\":\\\\\\\"pc\\\\\\\",\\\\\\\"client\\\\\\\":\\\\\\\"web\\\\\\\",\\\\\\\"sign\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"gz\\\\\\\":0,\\\\\\\"d\\\\\\\":{\\\\\\\"parent_gid\\\\\\\":3,\\\\\\\"gid\\\\\\\":\\\\\\\"111\\\\\\\",\\\\\\\"page\\\\\\\":\\\\\\\"{{page}}\\\\\\\"}}\\\"}\",\"style\":{\"layout_flexGrow\":1}}]",
    "header": "",
    "lastUpdateTime": 1647227762580,
    "respondTime": 180000,
    "ruleBookInfo": {
        "author": "",
        "coverUrl": "div.collection-cover@style##url\\((.*?)\\)##$1,{headers:{Referer:\"{{baseUrl}}\"}}###",
        "init": "",
        "intro": "class.intro fs-xs say@text",
        "kind": "p.1@text",
        "name": "h3@text||h2@text"
    },
    "ruleContent": {
        "content": "id.article-main-contents@html\n<js>\nlet options = {\n\"headers\": {\"Referer\": \"https:\/\/www.lightnovel.us\"}\n};\nt=JSON.stringify(options)\nresult.replace(\/(src=\"[^\"]+)\/g,'$1,'+t)\n<\/js>"
    },
    "ruleExplore": {
        "author": "$.author",
        "bookList": "$..list[*]",
        "bookUrl": "<js>\na=java.getString('$.aid')\nb=java.getString('$.sid')\n!(a==0)?'https:\/\/www.lightnovel.us\/cn\/detail\/'+parseInt(a):'https:\/\/www.lightnovel.us\/cn\/series\/'+parseInt(b)\n<\/js>",
        "coverUrl": "$.cover##$##,{\"headers\":{\"Referer\":\"https:\/\/www.lightnovel.us\"}}",
        "kind": "",
        "lastChapter": "$.last_time",
        "name": "$.title"
    },
    "ruleSearch": {
        "author": "$.author",
        "bookList": "<js>\nr=result.match(\/window.__NUXT__=(.*\\)\\));\/)[1]\neval(r)\n<\/js>\n$..data\n<js>\n'{\"data\":'+result+'}'\n<\/js>\n$..collections[*]&&$..articles[*]",
        "bookUrl": "<js>\na=java.getString('$.aid')\nb=java.getString('$.sid')\n!(a==0)?'https:\/\/www.lightnovel.us\/cn\/detail\/'+parseInt(a):'https:\/\/www.lightnovel.us\/cn\/series\/'+parseInt(b)\n<\/js>",
        "checkKeyWord": "",
        "coverUrl": "$.cover##$##,{\"headers\":{\"Referer\":\"https:\/\/www.lightnovel.us\"}}",
        "kind": "$.name##.*##合集###",
        "name": "$.name||$.title"
    },
    "ruleToc": {
        "chapterList": "<js>\nr=result.match(\/window.__NUXT__=(.*\\)\\));\/)[1]\nv=eval(r)\n<\/js>\n$..data\n<js>\n'{\"data\":'+result+'}'\n<\/js>\n$..articles[*]\n<js>\nif(baseUrl.match(\/series\/)){\n\t result\n\t}else{\n\t\t list=[]\n\t\t list. push({'$.title':'01','$.aid':baseUrl})\n\t\t list\n\t\t}\n<\/js>",
        "chapterName": "$.title",
        "chapterUrl": "$.aid##\\.0\n<js>\n!(\/http\/).test(result)?'https:\/\/www.lightnovel.us\/cn\/detail\/'+result:result\n<\/js>"
    },
    "searchUrl": "https:\/\/www.lightnovel.us\/search?keywords={{key}}",
    "weight": 0
}
广告