燃文小说
https://m.ranwena.com
yezechuandl (3004)07/06 07:44
//2025.6.7 ◎夜泽川◎
{
"bookSourceComment": "\/\/2025.6.7 ◎夜泽川◎",
"bookSourceGroup": "自制,网络",
"bookSourceName": "燃文小说",
"bookSourceType": 0,
"bookSourceUrl": "https:\/\/m.ranwena.com",
"customOrder": 151,
"enabled": true,
"enabledCookieJar": true,
"enabledExplore": true,
"exploreUrl": "@js:\nvar result = [];\nvar push = (title, url, size) => result.push({\n title: title,\n url: url,\n style: {\n layout_flexGrow: 1,\n layout_flexBasisPercent: size\n }\n});\nvar urls = [source.key + \"\/xuanhuan\/\",source.key + \"\/paihang\/weekvisit.html\"];\njava.ajaxAll(urls).map((src,index) =>{\n\t push(index == 0 ? \"分类\" : \"排行榜\", null, 1);\norg.jsoup.Jsoup.parse(src.body()).select('#smallnav a').toArray().forEach(t => {\n \tpush(t.text(), t.attr('href'), 0.25);\n \t});\n});\nJSON.stringify(result);",
"header": "{\"User-Agent\":\"Mozilla\/5.0 (Linux; Android 9) Mobile Safari\/537.36\"}",
"lastUpdateTime": "1751759042436",
"respondTime": 180000,
"ruleBookInfo": {
"author": "@get:{a}",
"coverUrl": "@get:{i}",
"init": "@put:{\"n\":\"[property$=book_name]@content\",\n\"a\":\"[property$=author]@content\",\n\"t\":\"[property~=category|status]@content\",\n\"l\":\"[property$=last_chapter_name]@content\",\n\"i\":\"[property$=image]@content\",\n\"o\":\"[property$=description]@content\",\n\"g\":\"[property$=update_time]@content\"\n}",
"intro": "@get:{o}",
"kind": "@get:{t}",
"lastChapter": "@get:{l}◎@get:{g}",
"name": "@get:{n}"
},
"ruleContent": {
"content": "#text@html",
"nextContentUrl": ".pagebar@a.-1@href"
},
"ruleExplore": {
"author": "p.0@text",
"bookList": "#list article",
"bookUrl": "a.0@href",
"coverUrl": "img@src",
"intro": ".intro@text##^简介:",
"name": ".title@text"
},
"ruleSearch": {
"author": "$.author",
"bookList": "$.data.search",
"bookUrl": "$.book_list_url",
"coverUrl": "$.cover",
"intro": "$.intro##^简介:",
"kind": "{{$.cate_name}}\n{{$.uptime}}\n{{$.status_str}}",
"lastChapter": "$.latest_chapter_name",
"name": "$.book_name"
},
"ruleToc": {
"chapterList": ".chapter a",
"chapterName": "text",
"chapterUrl": "href"
},
"searchUrl": "@js:\ncookie.removeCookie(source.key);\nvar parameters = Array.from(java.ajax(source.key).matchAll(\/var\\s*(\\w+?)\\s*=\\s*\"(\\w+?)\"\/g), m => `${m[1]}=${m[2]}`).join('&');\n\/\/java.log(Cookie);\nresult = \"\/api\/search\" + \",\" + JSON.stringify({\n \"body\": `q=${key}&${parameters}`,\n \"headers\": {\n \"X-Requested-With\": \"XMLHttpRequest\",\n \"Cookie\": cookie.getCookie(source.key),\n \"Accept\": \"application\/json\"\n },\n \"method\": \"POST\"\n});",
"weight": 0
}