听中国

https://www.tingchina.com

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

数据采集
二维码导入
{
    "bookSourceComment": "coolapk@芜恙",
    "bookSourceGroup": "有声",
    "bookSourceName": "听中国",
    "bookSourceType": 1,
    "bookSourceUrl": "https:\/\/www.tingchina.com",
    "customOrder": 0,
    "enabled": true,
    "enabledExplore": false,
    "lastUpdateTime": 1607194715666,
    "ruleBookInfo": {
        "author": "\/\/*[@class=\"book01\"]\/ul\/li[6]\/a\/text()",
        "coverUrl": "\/\/*[@class=\"book01\"]\/img\/@src",
        "intro": "\/\/*[@class=\"book02 padding5 line5\"]\/text()\n##(^|[。!?]+[”」)】]?)##$1<br>",
        "kind": "\/\/*[@class=\"book01\"]\/ul\/li[2]\/text()\n&&\n\/\/*[@class=\"book01\"]\/ul\/li[7]\/span\/text()##分类:|中.*",
        "lastChapter": "\/\/*[@class=\"book01\"]\/ul\/li[8]\/span\/text()",
        "name": "\/\/*[@class=\"book01\"]\/ul\/li[1]\/span\/strong\/text()",
        "wordCount": "\/\/*[@class=\"book01\"]\/ul\/li[5]\/\/text()"
    },
    "ruleContent": {
        "content": "\/\/*[@id=\"wjAudio\"]\/@src"
    },
    "ruleExplore": {},
    "ruleSearch": {
        "author": "\/\/@href\n<js>\njava.ajax(result.replace(\/^\/, baseUrl.match(\/(.+?\\\/\\\/[^\\\/]+\\\/)\/)[1]))\n<\/js>\n\/\/*[@class=\"book01\"]\/ul\/li[6]\/a\/text()",
        "bookList": "\/\/*[@class=\"singerlist1\"]\/dd\/ul\/li\/a",
        "bookUrl": "\/\/@href",
        "lastChapter": "",
        "name": "\/\/text()"
    },
    "ruleToc": {
        "chapterList": "\/\/*[@class=\"list\"]\/ul\/li[position()>3]\/a",
        "chapterName": "\/\/text()",
        "chapterUrl": "\/\/@href##$##,{webView:“true”}"
    },
    "searchUrl": "\/search1.asp?mainlei=0&lei=0&keyword={{key}},{\"charset\": \"gbk\"}",
    "weight": 0
}
广告