书堂

http://www.500shuba.cc#tbody tr!0

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

数据采集
二维码导入
{
    "bookSourceComment": "xpath;coolapk@芜恙",
    "bookSourceGroup": "次级",
    "bookSourceName": "书堂",
    "bookSourceType": 0,
    "bookSourceUrl": "http:\/\/www.500shuba.cc#tbody tr!0",
    "bookUrlPattern": "",
    "customOrder": 0,
    "enabled": true,
    "enabledExplore": false,
    "lastUpdateTime": 0,
    "ruleBookInfo": {
        "author": "[property=\"og:novel:author\"]@content",
        "coverUrl": "[property=\"og:image\"]@content",
        "intro": "\/\/*[@class=\"book-intro\"]\/text()\n@js:result.replace(\/(^|&nbsp;|[。!?]+[”」)】]?)\/g,'$1<br>')",
        "kind": "[property=\"og:novel:category\"]@content&&[property=\"og:novel:status\"]@content##小说|中|已",
        "lastChapter": "\/\/*[@class=\"book-intro\"]\/a\/text()&&\n\/\/*[@class=\"book-stats\"]\/b[3]\/text()\n<js>\nvar n = result.replace(\/\\n.*\/, '');\nvar t = result.match(\/-(\\d+-\\d+)\/)[1];\nn + '▪' + t\n<\/js>",
        "name": "[property=\"og:novel:book_name\"]@content",
        "tocUrl": "\/\/a[text()=\"全文目录\"]\/@href",
        "wordCount": ""
    },
    "ruleContent": {
        "content": "\/\/*[@id=\"content\"]"
    },
    "ruleExplore": {},
    "ruleSearch": {
        "author": "\/\/td[3]\/text()",
        "bookList": "\/\/tbody\/tr[td]",
        "bookUrl": "\/\/td[1]\/a\/@href",
        "coverUrl": "",
        "kind": "\/\/td[6]\/text()",
        "lastChapter": "\/\/td[2]\/a\/text()&&\/\/td[5]\/text()\n<js>\nvar n = result.replace(\/\\n.*\/, '');\nvar t = result.match(\/-(\\d+-\\d+)\/)[1];\nn + '▪' + t\n<\/js>",
        "name": "\/\/td[1]\/a\/text()",
        "wordCount": "\/\/td[4]\/text()"
    },
    "ruleToc": {
        "chapterList": "\/\/div[@id=\"list\"]\/dl\/dd\/a",
        "chapterName": "text",
        "chapterUrl": "href"
    },
    "searchUrl": "\/modules\/article\/search.php,{\n  \"charset\": \"gbk\",\n  \"method\": \"POST\",\n  \"body\": \"s={{key}}&type=articlename\"\n}",
    "weight": 0
}
广告