一读小说

https://www.121du.net

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

该用户很懒,什么介绍也没有写!
二维码导入
{
    "bookSourceGroup": "💠 备用",
    "bookSourceName": "一读小说",
    "bookSourceType": 0,
    "bookSourceUrl": "https:\/\/www.121du.net",
    "customOrder": -89010538,
    "enabled": true,
    "enabledCookieJar": false,
    "enabledExplore": true,
    "enabledReview": true,
    "exploreUrl": "玄幻奇幻::\/xuanhuan\/{{page-1}}\/\n武侠仙侠::\/wuxia\/{{page-1}}\/\n都市言情::\/dushi\/{{page-1}}\/\n历史军事::\/lishi\/{{page-1}}\/\n科幻灵异::\/kehuan\/{{page-1}}\/\n网游竞技::\/wangyou\/{{page-1}}\/\n女频频道::\/nvpin\/{{page-1}}\/\n其他小说::\/qita\/{{page-1}}\/",
    "lastUpdateTime": 1673758185986,
    "respondTime": 180000,
    "ruleBookInfo": {
        "author": "[property$=author]@content",
        "coverUrl": "[property$=image]@content",
        "intro": "[property$=description]@content##(^|[。!?]+[”」)】]?)##$1<br>",
        "kind": "[property~=category|status|update_time]@content##\\s\\d.*",
        "lastChapter": "{{@@[property$=chapter_name]@content##[\\((【].*?[求更谢乐发订合补加].*?[】)\\)]}} • {{@@[property$=update_time]@content##\\s.*}}",
        "name": "[property$=book_name]@content"
    },
    "ruleContent": {
        "content": "#BookText@html"
    },
    "ruleExplore": {},
    "ruleReview": {},
    "ruleSearch": {
        "author": "span.1@text",
        "bookList": "<js>\nif(result.match(\/^<script\/)&&result.match(\/\\\/script>$\/)){\njava.log('get Cookie...')\n\n$ = java.head(baseUrl,{referer:baseUrl}).cookies();\n\nsource.putLoginHeader(JSON.stringify({\n\t\t\"Cookie\": \"t=\"+$.token+\";r=\"+($.secret-100)\n}));\n\nurl=baseUrl+`,{\"headers\":{\"referer\":\"${baseUrl}\"}}`\nresult=java.ajax(url)\n}\nresult\n<\/js>#sitebox@dl",
        "bookUrl": "a.1@href",
        "checkKeyWord": "",
        "coverUrl": "img@data-src",
        "intro": "dd.2@textNodes",
        "kind": "span.3:2:0@text##\\s\\d.*",
        "lastChapter": "{{@@a.-1@text}} • {{@@span.0@text##\\s.*}}",
        "name": "a.1@text"
    },
    "ruleToc": {
        "chapterList": "@css:\n#allchapter>.title, #allchapter>.details\n\n@js:\nlist=[]\n$=result\nfor(i in $){\nif(String($[i]).match(\/class=\"title\/)){\n\t\tlist.push({\n\t\t\t\ttext: \"📖 [ \"+$[i].text()+\" ] 📖\",\n\t\t\t\tvolume: true\n\t\t\t})\n\t}\nelse{\n\t\t$[i].select(\"a\").forEach(a=>{\n\t\t\t\tlist.push({\n\t\t\t\t\t\ttext: a.text(),\n\t\t\t\t\t\thref: a.attr(\"href\")\n\t\t\t\t\t})\n\t\t\t})\n\t}\n}\nlist",
        "chapterName": "text",
        "chapterUrl": "href",
        "isVolume": "volume"
    },
    "searchUrl": "@js:\nurl=\"https:\/\/www.121du.net\/search\/?wd=\"+encodeURI(key);\n\nurl+`,{\"headers\":{\"referer\":\"${url}\"}}`",
    "weight": 0
}
广告