豆豆小说
https://www.ddkanshu.com
采集机器人 (2)2023/04/01
数据采集
{ "bookSourceComment": "", "bookSourceName": "豆豆小说", "bookSourceType": 0, "bookSourceUrl": "https:\/\/www.ddkanshu.com", "customOrder": 0, "enabled": true, "enabledExplore": true, "lastUpdateTime": 1620877819597, "ruleBookInfo": { "coverUrl": "class.bookcover@img@src", "intro": "class.bookintro@textNodes", "tocUrl": "text.点击阅读@href" }, "ruleContent": { "content": "id.content@html##【注:豆豆独家连载VIP作品.*?】" }, "ruleExplore": {}, "ruleSearch": { "author": "$3", "bookList": ":<ul id=\"info\">(?:[^<]+<){2}[^\"]+\"([^\"]+)\"[^>]+>([^<]+)<(?:[^<]+<){1}[^\"]+\"[^\"]+\"[^>]+>([^<]+)<(?:[^<]+<){1}[^\"]+\"[^\"]+\"[^>]+>([^<]+)<(?:[^<]+<){3}[^\"]+\"[^\"]+\"[^>]+>([^<]+)<[\\s\\S]+?class=\"bookintro\">([\\s\\S]+?)<\/p>", "bookUrl": "$1", "intro": "$6", "kind": "$4", "lastChapter": "$5", "name": "$2", "wordCount": "" }, "ruleToc": { "chapterList": "tbody@tr@td@a", "chapterName": "text", "chapterUrl": "href" }, "searchUrl": "<js>\nvar javaImport = new JavaImporter();\njavaImport.importPackage(\nPackages.java.net\n);\nwith(javaImport){\nfunction encoding(keydata) {\n s=keydata; \n\t\t\ts = URLEncoder.encode(s, \"GBK\");\n\t\t\treturn s\n}}\nkey=encoding(key);\nurl=\"https:\/\/www.ddkanshu.com\/search.php,\";\njson={\"chaset\":\"gbk\",\n\"method\": \"POST\",\n\"body\": \"keyword=\"+key+\"&select=name&Submit=%CB%D1%CB%F7\",\n\"webView\":true}\nresult=url+JSON.stringify(json)\n<\/js>", "weight": 0 }