{
"bookSourceGroup": "自制源",
"bookSourceName": "博趣小说网",
"bookSourceType": 0,
"bookSourceUrl": "https:\/\/m.bq0.net",
"customOrder": 0,
"enabled": false,
"enabledCookieJar": true,
"enabledExplore": true,
"exploreUrl": "[{\"title\":\"书库\",\"url\":\"\/all\/index.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"排行榜\",\"url\":\"\/wo\/rank\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"完本小说\",\"url\":\"\/over\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"都市重生\",\"url\":\"\/wo-71\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"科幻未来\",\"url\":\"\/wo-72\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"仙侠武侠\",\"url\":\"\/wo-73\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"二次元\",\"url\":\"\/wo-74\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"女生言情\",\"url\":\"\/wo-75\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"游戏竞技\",\"url\":\"\/wo-76\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"玄幻奇幻\",\"url\":\"\/wo-77\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"灵异悬疑\",\"url\":\"\/wo-79\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"历史军事\",\"url\":\"\/wo-80\/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}}]",
"header": "{\n\t\"Host\": \"m.bq0.net\",\n\t\"Content-Type\": \"application\/x-www-form-urlencoded;charset=gbk\",\n\t\"User-Agent\": \"Mozilla\/5.0 (Linux; Android 10; PCAM10 Build\/QP1A.190711.020) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/77.0.3865.92 Mobile Safari\/537.36\",\n\t\"Referer\": \"https:\/\/m.bq0.net\/sscc\/\"\n}",
"lastUpdateTime": 1694370132103,
"respondTime": 180000,
"ruleBookInfo": {
"author": "[property=\"og:novel:author\"]@content",
"coverUrl": "[property=\"og:image\"]@content",
"intro": "[property=\"og:description\"]@content",
"kind": "[property~=og:novel:category|og:novel:status|og:novel:update_time]@content",
"lastChapter": "[property=\"og:novel:latest_chapter_name\"]@content",
"name": "[property=\"og:title\"]@content"
},
"ruleContent": {
"content": "<js>\nif (\/内容正在载入\/.test(src)) {\n c2 = src.match(\/c2=\"([^\"]+)\/)[1];\n url = src.match(\/src=\"([^\"]+)\/)[1];\n j = java.ajax(source.getKey() + url);\n reg = \/function ajax[\\s\\S]+?\\}(?=Ajax)\/;\n eval(String(j.match(reg)[0]))\n java.ajax(source.getKey() + ajax(c2))\n h = java.ajax(baseUrl);\n java.setContent(h), h;\n} else result;\n<\/js>div.TxtContent@html||div#content@html##\\\"|\\.",
"nextContentUrl": "div#PageSet@span+a@href",
"replaceRegex": "##本章没完.*继续阅读!如果被转码.*更换浏揽器即可。|.*提醒.*看完记得.*"
},
"ruleExplore": {},
"ruleReview": {},
"ruleSearch": {
"author": "dd.1@span.0@text",
"bookList": "<js>su = source.getKey()\nif (\/内容正在载入\/.test(result)) {\n c2 = result.match(\/c2=\"([^\"]+)\/)[1];\n url = result.match(\/src=\"([^\"]+)\/)[1];\n j = java.ajax(su + url);\n reg = \/function ajax[\\s\\S]+?\\}(?=Ajax)\/;\n eval(String(j.match(reg)[0]))\n java.ajax(su + ajax(c2))\n result = java.ajax(baseUrl)\n}\n\nwhile (\/请输入验证码:\/.test(result)) {\n\timg = `${su}\/member\/getcode.asp,{\"headers\":{\"Referer\":\"${baseUrl}\"}}`;\n\n\tcode=java.getVerificationCode(img)\n\taa=org.jsoup.Jsoup.parse(result)\n\taa.select(\"[placeholder=请输入验证码]\").attr(\"value\",code)\n\tbody=Array.from(aa.select(\"div.RegDiv form input\"),x=>x.attr(\"name\")+\"=\"+x.attr(\"value\")).join(\"&\")\n\tresult=java.ajax(`${baseUrl},{\n \"body\": \"${body}\",\n \"charset\": \"GBK\",\n \"headers\": {\n\"Referer\": \"${baseUrl}\"\n },\n \"method\": \"POST\"\n}`)\n}\n\nresult\n<\/js>dl.B",
"bookUrl": "a.0@href",
"checkKeyWord": "剑来",
"coverUrl": "img.src",
"intro": "class.d2@text##简介:",
"kind": "dd.1@span.1@text##更新时间:",
"lastChapter": "dd.3@a@text",
"name": "dt.0@a@text"
},
"ruleToc": {
"chapterList": "ul.1@li",
"chapterName": "a@text",
"chapterUrl": "a@href"
},
"searchUrl": "@js:url = source.getKey()\nhtml = java.ajax(url)\nact = org.jsoup.Jsoup.parse(html).select('form[name~=earch] input[name=act]').attr('value')\n\nsubmit = java.encodeURI(\/www\/.test(url) ? \"搜索 \" : \"快速搜书\", 'gbk')\nurl += \"\/sscc\/\"\nbody = `act=${act}&q=${java.encodeURI(key, 'gbk')}&submit=${submit}`\n\nurl = `${url},{\"body\": \"${body}\", \"method\": \"POST\"}`",
"weight": 0
}