就爱谈

https://m.9itan.com

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

数据采集
二维码导入
{
    "bookSourceComment": "",
    "bookSourceName": "就爱谈",
    "bookSourceType": 0,
    "bookSourceUrl": "https:\/\/m.9itan.com",
    "customOrder": 0,
    "enabled": true,
    "enabledExplore": true,
    "exploreUrl": "玄幻小说::\/sort\/1_{{page}}\/&&仙侠小说::\/sort\/2_{{page}}\/&&都市小说::\/sort\/3_{{page}}\/&&军史小说::\/sort\/4_{{page}}\/&&网游小说::\/sort\/5_{{page}}\/&&科幻小说::\/sort\/6_{{page}}\/&&恐怖小说::\/sort\/7_{{page}}\/&&其他小说::\/sort\/8_{{page}}\/&&\n",
    "lastUpdateTime": 1603882834165,
    "ruleBookInfo": {
        "coverUrl": "img@data-original",
        "intro": ".jj@p@textNodes",
        "tocUrl": "@js:baseUrl.replace('m\\.','www.')"
    },
    "ruleContent": {
        "content": "id.novelcontent@html||id.articlecontent@html",
        "nextContentUrl": "text.下一页@href"
    },
    "ruleExplore": {
        "author": ".p4@text",
        "bookList": ".tt",
        "bookUrl": "tag.a.0@href",
        "coverUrl": "img@src",
        "intro": ".p5@textNodes",
        "name": ".p1@text"
    },
    "ruleSearch": {
        "author": "tag.a.2@text",
        "bookList": ".search_box@p",
        "bookUrl": "tag.a.0@href",
        "coverUrl": "tag.a.0@href<js>\nvar id = result.match(\/(\\d+)\\\/?$\/)[1];\nvar iid = parseInt(id\/1000);\n'https:\/\/www.9itan.com\/files\/article\/image\/'+iid+'\/'+id+'\/'+id+'s.jpg';\n<\/js>",
        "intro": "",
        "kind": "tag.a.1@text",
        "name": "tag.a.0@text"
    },
    "ruleToc": {
        "chapterList": "@css:ul.p2 li a||div.ml_list ul li a",
        "chapterName": "text",
        "chapterUrl": "href",
        "nextTocUrl": "@js:var regex = \/value=\"([^\"]+all)\"\/g;\nvar match;\nvar list = [];\nwhile ((match = regex.exec(result)) != null) {\nlist.push(match[1])};\nlist"
    },
    "searchUrl": "https:\/\/m.9itan.com:443\/s.php,{\n\"charset\": \"gbk\",\n\"method\": \"POST\",\n\"body\": \"s={{key}}&type=articlename\",\n\"headers\": {\"User-Agent\": \"\"}\n}",
    "weight": 0
}
广告