血红

https://www.xuehongxs.com

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

数据采集
二维码导入
{
    "bookSourceComment": "xpath;coolapk@芜恙",
    "bookSourceName": "血红",
    "bookSourceType": 0,
    "bookSourceUrl": "https:\/\/www.xuehongxs.com",
    "customOrder": 0,
    "enabled": true,
    "enabledExplore": false,
    "lastUpdateTime": 0,
    "ruleBookInfo": {
        "author": "[property=\"og:novel:author\"]@content",
        "coverUrl": "[property=\"og:image\"]@content",
        "intro": "[property=\"og:description\"]@content",
        "kind": "[property=\"og:novel:category\"]@content&&[property=\"og:novel:status\"]@content",
        "lastChapter": "[property=\"og:novel:latest_chapter_name\"]@content",
        "name": "[property=\"og:novel:book_name\"]@content",
        "tocUrl": "[property=\"og:novel:read_url\"]@content",
        "wordCount": ""
    },
    "ruleContent": {
        "content": "\/\/*[@id=\"content\"]"
    },
    "ruleExplore": {},
    "ruleSearch": {
        "author": "\/\/td[3]\/text()",
        "bookList": "\/\/tbody\/tr[td]",
        "bookUrl": "\/\/td[1]\/a\/@href",
        "coverUrl": "\/\/td[1]\/a\/@href##.*_((\\d+)\\d{3})\/##\/files\/article\/image\/$2\/$1\/$1s.jpg",
        "kind": "\/\/td[6]\/text()",
        "lastChapter": "\/\/td[5]\/text()&&\/\/td[2]\/a\/text()@js:var t = String(java.timeFormat(result.replace(\/\\n.*\/,''))).replace(\/\\\/\/g,'-').match(\/-(\\d+-\\d+)\/)[1];\nvar n = result.replace(\/.*\\n\/,'');\nn+ '▪' +t;",
        "name": "\/\/td[1]\/a\/text()",
        "wordCount": "\/\/td[4]\/text()"
    },
    "ruleToc": {
        "chapterList": "\/\/*[@class=\"chapter\"]\/a",
        "chapterName": "text##\\\/.*",
        "chapterUrl": "href"
    },
    "searchUrl": "\/modules\/article\/search.php,{\n  \"charset\": \"gbk\",\n  \"method\": \"POST\",\n  \"body\": \"searchkey={{key}}&searchtype=articlename&page={{page}}\"\n}",
    "weight": 0
}
广告