纵横中文网

http://www.zongheng.com/

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

该用户很懒,什么介绍也没有写!
二维码导入
{
    "bookSourceUrl": "http:\/\/www.zongheng.com\/",
    "bookSourceType": "0",
    "bookSourceName": "纵横中文网",
    "bookSourceGroup": "v1.0.0",
    "bookSourceComment": "@author: 倒影年华",
    "loginUrl": "",
    "bookUrlPattern": "http:\/\/book.zongheng.com\/",
    "header": "{\"User-Agent\": \"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/103.0.0.0 Safari\/537.36\"}",
    "searchUrl": "http:\/\/search.zongheng.com\/s?keyword={{key}}",
    "exploreUrl": "🍂                          作品榜单                        🍂\n月票榜::http:\/\/www.zongheng.com\/rank\/details.html?rt=1&d=1&i=2&p={{page}}\n24小时畅销榜::http:\/\/www.zongheng.com\/rank\/details.html?rt=3&d=1&p={{page}}\n新书榜::http:\/\/www.zongheng.com\/rank\/details.html?rt=4&d=1&p={{page}}\n点击榜::http:\/\/www.zongheng.com\/rank\/details.html?rt=5&d=1&p={{page}}\n推荐榜::http:\/\/www.zongheng.com\/rank\/details.html?rt=6&d=1&p={{page}}\n捧场榜::http:\/\/www.zongheng.com\/rank\/details.html?rt=7&d=1&p={{page}}\n完结榜::http:\/\/www.zongheng.com\/rank\/details.html?rt=8&d=1&p={{page}}\n新书订阅榜::http:\/\/www.zongheng.com\/rank\/details.html?rt=9&d=1&p={{page}}\n24小时更新榜::http:\/\/www.zongheng.com\/rank\/details.html?rt=10&d=1&p={{page}}",
    "enabled": false,
    "enabledExplore": true,
    "weight": 0,
    "customOrder": 3,
    "lastUpdateTime": 1658322473729,
    "ruleSearch": {
        "bookList": "\/\/div[@class=\"search-tab\"]\/div[@class=\"search-result-list clearfix\"]",
        "name": "[email protected]@text",
        "author": "[email protected]@text",
        "kind": "\/\/div[@class=\"bookinfo\"]\/a[2]\/text()&&\/\/div[@class=\"bookinfo\"]\/span[1]\/text()",
        "wordCount": "\/\/div[@class=\"bookinfo\"]\/span[2]\/text()##字<js>\nvar count = Number(result);\nresult = (count < 10000) ? (String(count) +  \"字\") : (String((count \/ 10000).toFixed(1)) + \"万字\")\n<\/js>",
        "intro": "\/\/p",
        "coverUrl": "\/\/a\/img\/@src",
        "bookUrl": "\/\/div[@class=\"btn\"]\/a[1]\/@href"
    },
    "ruleExplore": {
        "bookList": "\/\/div[@class=\"rank_d_list borderB_c_dsh clearfix\"]",
        "name": "\/\/@bookname",
        "author": "\/\/div[@class=\"rank_d_b_cate\"]\/@title",
        "kind": "\/\/div[@class=\"rank_d_b_cate\"]\/a[2]\/text()&&\/\/div[@class=\"rank_d_b_cate\"]\/a[3]\/text()&&\/\/span[@class=\"rank_d_b_time\"]\/text()",
        "lastChapter": "\/\/div[@class=\"rank_d_b_last\"]\/@title",
        "intro": "\/\/div[@class=\"rank_d_b_info\"]",
        "coverUrl": "\/\/div[@class=\"rank_d_book_img fl\"]\/a\/img\/@src",
        "bookUrl": "\/\/div[@class=\"rank_d_b_name\"]\/a\/@href"
    },
    "ruleBookInfo": {
        "lastChapter": "\/\/div[@class=\"tit\"]\/a\/text()&&\/\/div[@class=\"time\"]\/text()##[\\n|\\·]@js: String(result).replace(\/今日更新\\d{1,3}章\/g, \"\")",
        "intro": "\/\/div[@class=\"book-dec Jbook-dec hide\"]\/p",
        "tocUrl": "\/\/a[@class=\"all-catalog\"]\/@href"
    },
    "ruleToc": {
        "chapterList": "\/\/ul[@class=\"chapter-list clearfix\"]\/li",
        "chapterName": "\/\/a\/text()",
        "chapterUrl": "\/\/a\/@href##$##,{\"webView\":true}",
        "isVip": "@class<js>\nif (String(result) === \"vip col-4\")\nresult = \"1\"\n<\/js>",
        "updateTime": "\/\/a\/@title\n<js>\nvar time = \/\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}\/g.exec(String(result))\nvar count = String(\/字数:\\d{1,5}\/g.exec(String(result))).replace(\/字数:\/g,\"\")\nif (count === \"null\")\ncount = String(\/\\d{1,5}字\/g.exec(String(result))).replace(\/字\/g,\"\")\n\nresult = time + \"  \" + count + \" 字\"\n<\/js>"
    },
    "ruleContent": {
        "content": "\/\/div[@class=\"content\"]\/p<js>\nvar step1 = result.replace(\/<\\\/span><span class=\"r_count\">\\d{1,3}<i><\\\/i><\\\/span>\/g, \"\");\nvar step2 = step1.replace(\/<p><span class=\"con_txt\">\/, \"  \");\nvar step3 = step2.replace(\/<\\\/p>\/, \"\\n\");\nresult = step3\n\n<\/js>"
    }
}
广告