换源神器+求大佬修改
http://api.hongshuo666.cn:1952
采集机器人 (2)2023/04/01
数据采集
{ "bookSourceGroup": "", "bookSourceName": "换源神器+求大佬修改", "bookSourceType": 0, "bookSourceUrl": "http:\/\/api.hongshuo666.cn:1952", "customOrder": 0, "enabled": true, "enabledExplore": true, "exploreUrl": "玄幻奇幻::http:\/\/info.xmtcpz.com:80\/list\/category\/book-hot-1-{{page}}.htm", "header": "", "lastUpdateTime": 0, "ruleBookInfo": { "coverUrl": "", "init": "", "tocUrl": "@js:\nvar vname=result.match(\/data[\\s\\S]*?site_name\":\"([^\"]+)\"[\\s\\S]*?chapter_path\":\"([^\"]+)\"\/)[1];\nvar path=result.match(\/data[\\s\\S]*?site_name\":\"([^\"]+)\"[\\s\\S]*?chapter_path\":\"([^\"]+)\"\/)[2];\nif(vname=='ddxs' || vname=='2otea' || vname=='147xs' || vname=='bqg' || vname=='xbqg'){var url='http:\/\/01.hongshuo666.cn'+path};\n\nif(vname=='mht' || vname=='ddxscc' || vname=='slsy' || vname=='dmrxs' || vname=='sqg' ){var url='http:\/\/02.hongshuo666.cn'+path};\n\nif(vname=='bxwx' || vname=='dyxs' || vname=='31xs' || vname=='386xs' || vname=='asxsw' ){var url='http:\/\/03.hongshuo666.cn'+path};\n\nif(vname=='dhzwxs' || vname=='sqsxs' || vname=='33yqxs' || vname=='bczwxsw'){var url='http:\/\/04.hongshuo666.cn'+path};\n\n\n\n\nurl" }, "ruleContent": { "content": "$..data", "nextContentUrl": "text.下一页@href" }, "ruleExplore": {}, "ruleSearch": { "author": "$.author_name", "bookList": "$..data.*", "bookUrl": "$.cover@js:'http:\/\/info.hongshuo666.cn'+result.replace(\/cover.*\/,'sources.htm')", "coverUrl": "$.cover\n@js:'http:\/\/info.hongshuo666.cn:80'+result", "intro": "$.description", "kind": "$..name", "lastChapter": "$.last_chapter_name", "name": "$.title", "wordCount": "$.book_status" }, "ruleToc": { "chapterList": "$..data.*", "chapterName": "$.name", "chapterUrl": "$.path<js>baseUrl.replace(\/\\\/chapters.*\/,'')+result<\/js>", "isVip": "" }, "searchUrl": "http:\/\/api.hongshuo666.cn:19527\/search?page=1&pagesize=15&keyword={{key}}\n", "weight": 0 }