血红

https://www.xuehongxs.com#tbody tr!0

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

数据采集
二维码导入
{
    "bookSourceComment": "xpath;coolapk@芜恙;intro",
    "bookSourceGroup": "",
    "bookSourceName": "血红",
    "bookSourceType": 0,
    "bookSourceUrl": "https:\/\/www.xuehongxs.com#tbody tr!0",
    "bookUrlPattern": "https:\/\/www.xuehongxs.com\/\\d+_\\d+\/",
    "customOrder": 43,
    "enabled": false,
    "enabledExplore": false,
    "lastUpdateTime": 1600830330229,
    "ruleBookInfo": {
        "author": "[property=\"og:novel:author\"]@content",
        "coverUrl": "[property=\"og:image\"]@content",
        "intro": "\/\/*[@id=\"intro\"]##(^|[。!?]+[”」)】]?)##$1<br>",
        "kind": "[property=\"og:novel:category\"]@content&&\n[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})\/##http:\/\/img.xuehongxs.com\/article\/image\/$2\/$1\/$1s.jpg",
        "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": "\/\/*[@id=\"list\"]\/dl\/dd\/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
}
广告