想看就来小说网
https://www.xk9l.com
采集机器人 (2)2023/04/01
数据采集
{ "bookSourceComment": "", "bookSourceGroup": "", "bookSourceName": "想看就来小说网", "bookSourceType": 0, "bookSourceUrl": "https:\/\/www.xk9l.com", "bookUrlPattern": "", "customOrder": 0, "enabled": true, "enabledExplore": false, "lastUpdateTime": 0, "loginUrl": "", "ruleBookInfo": { "author": "id.info@tag.p.0@text", "coverUrl": "id.fmimg@tag.img@src", "intro": "id.intro@text", "name": "id.info@tag.h1@text", "tocUrl": "" }, "ruleContent": { "content": "id.content@html##【章节未完,当前页面不支持此浏览器,请更换其他浏览器打开本页面即可正常阅读】|章节错误,点此举报.*", "nextContentUrl": "", "webJs": "" }, "ruleExplore": {}, "ruleSearch": { "author": "class.s4@text", "bookList": "class.novelslist2@tag.li", "bookUrl": "class.s2@tag.a@href", "kind": "class.s1@text##.*\\[|\\]", "lastChapter": "class.s3@tag.a@text", "name": "class.s2@tag.a@text" }, "ruleToc": { "chapterList": "<js>\nif(result.match(\/中间隐藏的\/) && result.match(\/点击查看\/)){\nhtml1=java.getString(\"@@class.list.0@html\",false);\nhtml2=java.getString(\"@@class.list.-1@html\",false);\nurl='https:\/\/www.xk9l.com\/action.php,';\nid=baseUrl.match(\/(\\d+)\\\/$\/)[1];\nbody='action=clist&bookid='+id;\npost={\n\"method\": \"POST\",\n\"body\": String(body)\n}\njson=JSON.parse(java.ajax(url+JSON.stringify(post)));\nlist=json.columnlist;\nhtml='';\nfor(i in list){\nlist2=list[i].chapterlist\nfor(j in list2){\nchapterid=parseInt(list2[j].chapterid)+parseInt(id*11);\nhref='\/'+id+'\/'+list2[j].chapterid+'.html';\nhtml=html+'<a href=\"'+href+'\">'+list2[j].chaptername+'<\/a>'\n}\nresult=html1+html+html2}}else{result=java.getString(\"@@class.list@html\",false);}\n<\/js>\ntag.a", "chapterName": "text", "chapterUrl": "href##$##,{\"webView\":true}" }, "searchUrl": "https:\/\/www.xk9l.com\/searchbook.php?keyword={{key}}", "weight": 0 }