2K中文

http://m.2kzhongwen.com/

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

该用户很懒,什么介绍也没有写!
二维码导入
{
    "bookSourceComment": "",
    "bookSourceGroup": "常用",
    "bookSourceName": "2K中文",
    "bookSourceType": 0,
    "bookSourceUrl": "http:\/\/m.2kzhongwen.com\/",
    "customOrder": 26,
    "enabled": true,
    "enabledExplore": false,
    "exploreUrl": "",
    "lastUpdateTime": 1646660641271,
    "respondTime": 185494,
    "ruleBookInfo": {
        "author": "\/\/meta[@property=\"og:novel:author\"]\/@content",
        "coverUrl": "\/\/meta[@property=\"og:image\"]\/@content",
        "init": "",
        "intro": "\/\/meta[@property=\"og:description\"]\/@content",
        "kind": "\/\/meta[@property=\"og:novel:category\"]\/@content",
        "lastChapter": "\/\/meta[@property=\"og:novel:lastest_chapter_name\"]\/@content&&\/\/meta[@property=\"og:novel:update_time\"]\/@content##\\n##•",
        "name": "\/\/meta[@property=\"og:title\"]\/@content",
        "tocUrl": "@js:baseUrl.replace(\/m\\.\/,'www.')"
    },
    "ruleContent": {
        "content": "id.article@html",
        "nextContentUrl": "",
        "replaceRegex": ""
    },
    "ruleExplore": {
        "author": "",
        "bookList": "",
        "bookUrl": "",
        "lastChapter": "",
        "name": ""
    },
    "ruleSearch": {
        "author": "class.mr15@text",
        "bookList": "@css:.list-item:lt(8)",
        "bookUrl": "tag.a.0@href",
        "coverUrl": "img@src",
        "intro": "class.fs12 gray.-1@text",
        "lastChapter": "tag.a.0@href\n<js>java.ajax('https:\/\/m.2kzw.cc'+result)<\/js>\n\/\/meta[@property=\"og:novel:lastest_chapter_name\"]\/@content&&\/\/meta[@property=\"og:novel:update_time\"]\/@content##\\n##•",
        "name": "class.article@text",
        "wordCount": ""
    },
    "ruleToc": {
        "chapterList": "class.info-chapters.-1@a\n<js>\n\/\/章节链接+1,修复空白章\nlist=result.toArray();\nl=[];\nfor(i in list){\n\ttext=list[i].text()\n\tif(i%6==0 && i!=0){\n\t\tnum=Number(String(list[i-1]).match(\/(\\d+)\\.html\/)[1])+1;\n\t\thref=String(list[i-1].attr(\"href\")).replace(\/\\d+\\.html\/,num+\".html\");\n\t\t}else{\n\t\t\thref=String(list[i]).match(\/href=\"([^\"]+)\"\/)[1];\n\t\t\t}\n\tl.push({\n\t\ttext:text,\n\t\thref:href\n\t\t})\n\tl\n\t}\n<\/js>",
        "chapterName": "text",
        "chapterUrl": "href",
        "nextTocUrl": "select@option@value"
    },
    "searchUrl": "http:\/\/m.2kzhongwen.com\/search\/,{\n\"method\": \"POST\",\n\"body\": \"searchtype=all&searchkey={{key}}&submit=\"\n}",
    "weight": 0
}
广告