[ { "bookSourceComment": "by·holzora", "bookSourceGroup": "轻小说", "bookSourceName": "机翻机器人", "bookSourceType": 0, "bookSourceUrl": "https://book.xkvi.top", "bookUrlPattern": "(?:https?://)?(?:books\\d?.fishhawk.top|n.novelia.cc|book.xkvi.top)/(?:api/)?novel/\\w+/[\\w-]+", "customOrder": 4, "enabled": true, "enabledCookieJar": false, "enabledExplore": true, "exploreUrl": "\nvar discover = [];\nvar showR18 = false;\nvar token = source.getLoginHeader();\nvar push = (title, url, style) => {\n discover.push({\n title: title,\n url: url,\n style: {\n layout_flexGrow: 1,\n layout_flexBasisPercent: style\n }\n });\n};\nvar addSlots = (count, style) => {\n var remainder = count % 3;\n var slotsAdd = remainder === 0 ? 0 : 3 - remainder;\n for (var i = 0; i < slotsAdd; i++) {\n push(\"\", null, style);\n }\n};\npush(\"书架\", null, 1);\nif (!token) {\n showR18 = false;\n push(\"账号未登录\", null, 0.25);\n addSlots(1, 0.25);\n} else {\n try {\n var favored = java.ajax(`${baseUrl}/api/user/favored`);\n if (favored.includes(\"Token不合法或者过期\")) {\n showR18 = false;\n push(\"账号未登录\", null, 0.25);\n addSlots(1, 0.25);\n } else {\n showR18 = true;\n push(\"阅读历史\", \"/api/user/read-history?page={{(page-1)}}&pageSize=30\", 0.25);\n var favoredData = JSON.parse(favored).favoredWeb;\n favoredData.forEach(item => {\n push(item.title, `/api/user/favored-web/${item.id}?page={{(page-1)}}&pageSize=30&query=&provider=kakuyomu%2Csyosetu%2Cnovelup%2Chameln%2Cpixiv%2Calphapolis&type=0&level=${token ? 0 : 1}&translate=0&sort=update`, 0.25);\n });\n addSlots(1 + favoredData.length, 0.25);\n }\n } catch (e) {\n showR18 = false;\n push(\"未知错误\", null, 0.25);\n addSlots(1, 0.25);\n }\n}\npush(\"来源\", null, 1);\nvar providers = [\"全部\", \"kakuyomu\", \"syosetu\", \"novelup\", \"hameln\", \"pixiv\", \"alphapolis\"];\nproviders.forEach(provider => {\n var url = provider === \"全部\" ? \n `/api/novel?page={{(page-1)}}&pageSize=20&query=&provider=${providers.slice(1).join('%2C')}&type=0&level=${token ? 0 : 1}&translate=0&sort=0` : \n `/api/novel?page={{(page-1)}}&pageSize=20&query=&provider=${provider}&type=0&level=${token ? 0 : 1}&translate=0&sort=0`;\n push(provider, url, 0.25);\n});\naddSlots(providers.length, 0.25);\npush(\"类型\", null, 1);\nvar types = [\"全部\", \"连载中\", \"已完结\", \"短篇\"];\ntypes.forEach((type, index) => {\n var url = `/api/novel?page={{(page-1)}}&pageSize=20&query=&provider=kakuyomu%2Csyosetu%2Cnovelup%2Chameln%2Cpixiv%2Calphapolis&type=${index}&level=${token ? 0 : 1}&translate=0&sort=0`;\n push(type, url, 0.25);\n});\naddSlots(types.length, 0.25);\npush(\"分级\", null, 1);\nvar levels = showR18 ? [\"全部\", \"一般向\", \"R18\"] : [\"一般向\"]\nlevels.forEach((level, index) => {\n var url = `/api/novel?page={{(page-1)}}&pageSize=20&query=&provider=kakuyomu%2Csyosetu%2Cnovelup%2Chameln%2Cpixiv%2Calphapolis&type=0&level=${showR18 ? index : index+1}&translate=0&sort=0`;\n push(level, url, 0.25);\n});\naddSlots(levels.length, 0.25);\npush(\"排序\", null, 1);\nvar sorts = [\"更新\", \"点击\"];\nsorts.forEach((sort, index) => {\n var url = `/api/novel?page={{(page-1)}}&pageSize=20&query=&provider=kakuyomu%2Csyosetu%2Cnovelup%2Chameln%2Cpixiv%2Calphapolis&type=0&level=${token ? 0 : 1}&translate=0&sort=${index}`;\n push(sort, url, 0.25);\n});\naddSlots(sorts.length, 0.25);\nJSON.stringify(discover);\n", "header": "\nvar header = {\n \"Referer\": baseUrl,\n \"Cookie\": \"AccessToken = dbbc24d9-6cfa-4552-940f-59b114818f31\"\n};\nJSON.stringify(header);\n", "jsLib": "var update = (initUrl, initToken) => {\n try {\n var [novelUrl, chapterId] = initUrl.split('/chapter/');\n var url = novelUrl.replace('/novel/', '/user/read-history/');\n var {Authorization: token} = JSON.parse(initToken);\n return Packages.org.jsoup.Jsoup.connect(url).method(Packages.org.jsoup.Connection.Method.PUT).header(\"Authorization\", token).requestBody(chapterId).execute().body();\n } catch (e) {\n return '';\n }\n};\nvar annotate = (paragraphs, chapterUrl) => {\n try {\n var idx = [], texts = [];\n paragraphs.forEach((p, i) => {\n var t = String(p || '');\n if (!t || t.indexOf('<图片>') >= 0) return;\n idx.push(i);\n texts.push(t);\n });\n if (!texts.length) return paragraphs;\n var conn = new java.net.URL('https://static.kksk.io/api/annotate').openConnection();\n conn.setRequestMethod('POST');\n conn.setDoOutput(true);\n conn.setConnectTimeout(5000);\n conn.setReadTimeout(20000);\n conn.setRequestProperty('Content-Type', 'application/json');\n var os = conn.getOutputStream();\n os.write(new java.lang.String(JSON.stringify({paragraphs: texts, chapterUrl: chapterUrl})).getBytes('UTF-8'));\n os.close();\n var code = conn.getResponseCode();\n if (code !== 200) {\n conn.disconnect();\n return paragraphs;\n }\n var reader = new java.io.BufferedReader(new java.io.InputStreamReader(conn.getInputStream(), 'UTF-8'));\n var sb = new java.lang.StringBuilder();\n var line;\n while ((line = reader.readLine()) !== null) sb.append(line);\n reader.close();\n conn.disconnect();\n var resp = JSON.parse(sb.toString());\n if (!resp || !resp.paragraphs || resp.paragraphs.length !== texts.length) return paragraphs;\n var out = paragraphs.slice();\n idx.forEach((oi, k) => { out[oi] = resp.paragraphs[k]; });\n return out;\n } catch (e) {\n return paragraphs;\n }\n};\nvar regex = content => {\n var displayedImages = new Set();\n return JSON.stringify(content).replace(/<图片>(https?:\\/\\/[^\"\\s]+)/g, (match, url) => {\n if (displayedImages.has(url)) return '';\n displayedImages.add(url);\n var referer = url.match(/https?:\\/\\/[^\\/]+/)[0].replace(/i\\.pximg\\.net/, 'www.pixiv.net');\n var headers = JSON.stringify({headers: {Referer: referer}});\n return ``;\n });\n};\nvar format = content => (() => {\n try { var a = JSON.parse(content); return Array.isArray(a) ? a : [a]; }\n catch (e) { return [content]; }\n})().map(item => String(item || '').trim()).filter(Boolean)\n .map(item => ' ' + item).join(\"\\n\");", "lastUpdateTime": 1793081514975, "loginCheckJs": "if (result.body().includes(\"Token不合法或者过期\")) {\n eval(String(source.loginUrl));\n login();\n result = java.connect(result.url());\n}\nresult;", "loginUi": "[\n {\n \"name\": \"账号\",\n \"type\": \"text\"\n },\n {\n \"name\": \"密码\",\n \"type\": \"password\"\n }\n]", "loginUrl": "var login = () => {\n var username = source.getLoginInfoMap().get(\"账号\");\n var password = source.getLoginInfoMap().get(\"密码\");\n var res = java.post(\n `${baseUrl}/api/v1/auth/login`,\n JSON.stringify({\n username: username,\n password: password,\n app: \"legado\"\n }),\n {\"Content-Type\": \"application/json\"}\n );\n source.putLoginHeader(JSON.stringify({\n Authorization: `Bearer ${res.body()}`\n }));\n}\nlogin();", "respondTime": 180000, "ruleBookInfo": { "author": "authors..name", "coverUrl": "{{'https://static.kksk.io/image/convert/885e391180d8d1f37ad157338daa61dd.webp'}}", "init": "\nvar initUrl = book.bookUrl;\nvar url = initUrl.includes('api/novel') ? initUrl : initUrl.replace('/novel/', '/api/novel/');\nvar body = initUrl.includes('api/novel') ? result : java.ajax(url);\nif (body.includes('ID不合适,应当使用')) {\n var match = body.match(/\\/\\w+\\/[\\w-]+/);\n url = `${book.origin}/api/novel${match}`;\n body = java.ajax(url);\n}\njava.put('url', url);\nbody;\n", "intro": "\nvar value = String(book.getVariable(\"custom\")) || String(source.getVariable());\nvar data = JSON.parse(result);\nvar cnIntro = data.introductionZh;\nvar jpIntro = data.introductionJp;\nvar intro = cnIntro ? (value === '5' ? jpIntro : ['6', '8'].includes(value) ? cnIntro + \"\\n‎\\n\" + jpIntro : ['7', '9'].includes(value) ? jpIntro + \"\\n‎\\n\" + cnIntro : cnIntro) : jpIntro;\nvar timeStamp = '{{$.toc[-1].createAt}}' || '{{$.syncAt}}';\nintro = '  📬最近' + ('{{$.toc[-1].createAt}}' ? '更新' : '同步') + ':' + java.timeFormat(timeStamp * 1000) + '\\n‎\\n' + intro;\nintro;\n", "kind": "{{$.type##中|已}},{{$.attentions}},{{$.keywords}}", "name": "\nvar value = String(book.getVariable(\"custom\")) || String(source.getVariable());\nvar data = JSON.parse(result);\nvar name = value === '5' ? data.titleJp : data.titleZh || data.titleJp;\nname;\n", "tocUrl": "{{java.get('url')}}", "wordCount": "totalCharacters" }, "ruleContent": { "content": "\nvar token = source.getLoginHeader();\nif (token) {\n update(baseUrl, token);\n}\nvar value = String(book.getVariable(\"custom\")) || String(source.getVariable());\nvar get = /^[1-9]$/.test(value) ? value : '1';\nvar config = {\n 1: 'sakuraParagraphs',\n 2: 'gptParagraphs',\n 3: 'youdaoParagraphs',\n 4: 'baiduParagraphs',\n 5: 'paragraphs'\n};\nvar data;\ntry { data = JSON.parse(result); } catch (e) { data = {}; }\nvar content = data[config[get]] || data[config[1]] || data[config[2]] || data[config[3]] || data[config[4]] || data[config[5]] || result;\nif (['6', '7', '8', '9'].includes(get) && data[config[5]]) {\n var cnContent = data[config[1]] || data[config[2]] || data[config[3]] || data[config[4]];\n var jpContent = data[config[5]];\n if (cnContent) {\n if (['8', '9'].includes(get)) {\n jpContent = annotate(jpContent, baseUrl);\n }\n var type = ['6', '8'].includes(get);\n content = jpContent.flatMap((jp, i) => {\n if (!((jp || '').trim() && (cnContent[i] || '').trim())) return [];\n var pair = type ? [cnContent[i], jp] : [jp, cnContent[i]];\n return pair.filter(Boolean).concat(i === jpContent.length - 1 ? [] : '\\u200B');\n }).filter(Boolean);\n } else {\n content = jpContent;\n }\n}\nformat(regex(content));\n" }, "ruleExplore": {}, "ruleSearch": { "bookList": "items", "bookUrl": "/api/novel/{{$.providerId}}/{{$..novelId}}", "coverUrl": "{{'https://static.kksk.io/image/convert/885e391180d8d1f37ad157338daa61dd.webp'}}", "intro": "  源站:{{$.providerId}}{{'\\n'}}📬最近同步:{{java.timeFormat(java.getString('$.updateAt')*1000)}}{{'\\n'}}总计{{$.total}}|百度{{$.baidu}}|有道{{$.youdao}}|gpt{{$.gpt}}|sakura{{$.sakura}}", "kind": "{{$.type##中|已}},{{$.attentions}},{{$.keywords}}", "name": "\nvar value = String(book.getVariable(\"custom\")) || String(source.getVariable());\nvar name = value === '5' ? result.titleJp : result.titleZh || result.titleJp;\nname;\n" }, "ruleToc": { "chapterList": "toc\n\nresult.forEach(item => {\n if ('chapterId' in item) {\n item.url = `${baseUrl}/chapter/${item.chapterId}`;\n var timeStamp = item.createAt ? item.createAt * 1000 : null;\n if (timeStamp) {\n item.time = java.timeFormat(timeStamp);\n }\n } else {\n item.isVolume = true;\n }\n});\nresult;\n", "chapterName": "\nvar value = String(book.getVariable(\"custom\")) || String(source.getVariable());\nvar name = result.titleZh ? (value === '5' ? result.titleJp : ['6', '8'].includes(value) ? result.titleZh + ' ↔ ' + result.titleJp : ['7', '9'].includes(value) ? result.titleJp + ' ↔ ' + result.titleZh : result.titleZh) : result.titleJp;\nname;\n", "chapterUrl": "url", "isVolume": "isVolume", "updateTime": "\nvar value = String(book.getVariable(\"custom\")) || String(source.getVariable());\nvar info = result.isVolume ? null : (result.time ? (result.titleZh ? (['6', '8'].includes(value) ? result.titleJp + ' · ' + result.time : ['7', '9'].includes(value) ? result.titleZh + ' · ' + result.time : result.time) : result.time) : (['7', '9'].includes(value) ? result.titleZh : ['6', '8'].includes(value) ? result.titleJp : null));\ninfo;\n" }, "searchUrl": "\nvar providers = {\n kakuyomu: /(?:https?:\\/\\/)?kakuyomu\\.jp\\/works\\/(\\d+)/,\n syosetu: /(?:https?:\\/\\/)?(ncode|novel18)\\.syosetu\\.com\\/(\\w+)/,\n novelup: /(?:https?:\\/\\/)?novelup\\.plus\\/story\\/(\\d+)/,\n hameln: /(?:https?:\\/\\/)?syosetu\\.org\\/novel\\/(\\d+)/,\n pixiv: /(?:https?:\\/\\/)?(www\\.pixiv\\.net\\/novel\\/series\\/(\\d+)|www\\.pixiv\\.net\\/novel\\/show\\.php\\?id=(\\d+))/,\n alphapolis: /(?:https?:\\/\\/)?www\\.alphapolis\\.co\\.jp\\/novel\\/(\\d+)\\/(\\d+)/,\n sakura: /(?:https?:\\/\\/)?(?:books\\d?\\.fishhawk\\.top|n\\.novelia\\.cc|book\\.xkvi\\.top)\\/(?:api\\/)?novel\\/(\\w+)\\/([\\w-]+)/\n};\nvar url;\nfor (var provider in providers) {\n var match = key.match(providers[provider]);\n if (match) {\n var providerId = provider === 'sakura' ? match[1] : provider;\n var novelId = provider === 'alphapolis' ? `${match[1]}-${match[2]}` : provider === 'pixiv' ? (match[3] ? `s${match[3]}` : match[2]) : (match[2] || match[1]);\n url = `${baseUrl}/api/novel/${providerId}/${novelId}`;\n break;\n }\n}\nvar token = source.getLoginHeader();\nif (!url) {\n url = `${baseUrl}/api/novel?page=${page-1}&pageSize=20&query=${key}&provider=kakuyomu,syosetu,novelup,hameln,pixiv,alphapolis&type=0&level=${token ? 0 : 1}&translate=0&sort=0`;\n}\nurl;\n", "variableComment": "输入对应数字刷新即可获取对应文本,{1: \"sakura译文\", 2: \"gpt译文\", 3: \"有道译文\", 4: \"百度译文\", 5: \"原文\", 6: \"中日对照\", 7: \"日中对照\", 8: \"6+平假注音\", 9: \"7+平假注音\"},默认sakura译文。书籍变量作用于一本书,源变量作用于整个书源,书籍变量优先级高于源变量。", "weight": 0 }, { "bookSourceComment": "//本来是在找某部作品信息的,意外发现网站也提供在线观看,赶紧加工加点做源。\n//致轻友们\n//2024.1.13", "bookSourceGroup": "日轻小说(2024-12-13)\nGitHub@ZWolken", "bookSourceName": "轻小说百科", "bookSourceType": 0, "bookSourceUrl": "https://lnovel.tw", "customOrder": -88951552, "enabled": true, "enabledCookieJar": true, "enabledExplore": true, "exploreUrl": "[\n{\"title\":\"🍁全部文库🍁\",\"url\":\"/books?page={{page}}\",\"style\":{\"layout_flexBasisPercent\":1,\"layout_flexGrow\":1}},\n{\"title\":\"分类\",\"url\":\"\",\"style\":{\"layout_flexBasisPercent\":1,\"layout_flexGrow\":1}},\n{\"title\":\"校园\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=3\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"爱情\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=1\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"冒险\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=6\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"搞笑\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=10\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"奇幻\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=15\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"魔法\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=2\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"异界\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=17\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"侦探\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=8\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"穿越\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=18\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"科幻\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=4\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"神鬼\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=5\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"后宫\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=12\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"其他\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=9\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"格斗\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=11\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"恐怖\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=7\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"战争\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=16\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"百合\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=20\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"异能\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=14\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"治愈\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=21\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"机战\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=19\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"励志\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=23\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"都市\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=13\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"历史\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=22\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"纯爱\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=24\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"🎈状态分类🎈\",\"url\":\"\",\"style\":{\"layout_flexBasisPercent\":1,\"layout_flexGrow\":1}},\n{\"title\":\"连载中\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=15&q%5Bstatus_eq%5D=ongoing\",\"style\":{\"layout_flexBasisPercent\":0.3,\"layout_flexGrow\":1}},\n{\"title\":\"已完结\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=15&q%5Bstatus_eq%5D=completed\",\"style\":{\"layout_flexBasisPercent\":0.3,\"layout_flexGrow\":1}},\n]", "lastUpdateTime": 1705078644555, "respondTime": 180000, "ruleBookInfo": { "author": ".text-body-tertiary.0@text", "coverUrl": "https://lnovel.tw{{@@class.w-100 h-100.0@src}}", "intro": " \n🎁:{{@@.card-body@p@text}}", "kind": "{{@@dd.1@a@text}},{{@@dd.2@a@text}}", "name": "h1@text" }, "ruleContent": { "content": "class.card-body.0@html##{{title}}" }, "ruleExplore": {}, "ruleReview": {}, "ruleSearch": { "bookList": "class.col-6 col-md-4 col-md-3 col-lg-6 col-xl-4", "bookUrl": "href", "coverUrl": "img@src", "name": "text" }, "ruleToc": { "chapterList": ".accordion-item@a", "chapterName": "text", "chapterUrl": "href" }, "searchUrl": "/books?page={{page}}&q%5Bname_cont%5D={{key}}", "weight": 0 }, { "bookSourceComment": "登录需要\n整理:GitHub@ZWolken", "bookSourceGroup": "日轻小说(2024-12-13)\nGitHub@ZWolken", "bookSourceName": "轻小说文库.net", "bookSourceType": 0, "bookSourceUrl": "https://www.wenku8.net/index.php", "bookUrlPattern": "https://www.wenku8.net/book/.*", "customOrder": -88951561, "enabled": true, "enabledCookieJar": false, "enabledExplore": true, "exploreUrl": "[{'title':'文库分类','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'电击文库','url':'https://www.wenku8.net/modules/article/articlelist.php?class=1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'富士见文库','url':'https://www.wenku8.net/modules/article/articlelist.php?class=2&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'角川文库','url':'https://www.wenku8.net/modules/article/articlelist.php?class=3&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'MF文库J','url':'https://www.wenku8.net/modules/article/articlelist.php?class=4&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'Fami通文库','url':'https://www.wenku8.net/modules/article/articlelist.php?class=5&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'GA文库','url':'https://www.wenku8.net/modules/article/articlelist.php?class=6&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'HJ文库','url':'https://www.wenku8.net/modules/article/articlelist.php?class=7&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'一迅社','url':'https://www.wenku8.net/modules/article/articlelist.php?class=8&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'集英社','url':'https://www.wenku8.net/modules/article/articlelist.php?class=9&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'小学馆','url':'https://www.wenku8.net/modules/article/articlelist.php?class=10&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'讲谈社','url':'https://www.wenku8.net/modules/article/articlelist.php?class=11&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'少女文库','url':'https://www.wenku8.net/modules/article/articlelist.php?class=12&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'其他文库','url':'https://www.wenku8.net/modules/article/articlelist.php?class=13&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'游戏剧本','url':'https://www.wenku8.net/modules/article/articlelist.php?class=14&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'全部轻小说','url':'https://www.wenku8.net/modules/article/articlelist.php?page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'动画化作品','url':'https://www.wenku8.net/modules/article/toplist.php?sort=anime&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'完结全本','url':'https://www.wenku8.net/modules/article/articlelist.php?fullflag=1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'排行榜','url':'https://www.wenku8.net/modules/article/toplist.php?sort=allvisit&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'总收藏榜','url':'https://www.wenku8.net/modules/article/toplist.php?sort=goodnum&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'总排行榜','url':'https://www.wenku8.net/modules/article/toplist.php?sort=allvisit&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'月排行榜','url':'https://www.wenku8.net/modules/article/toplist.php?sort=monthvisit&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'周排行榜','url':'https://www.wenku8.net/modules/article/toplist.php?sort=weekvisit&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'日排行榜','url':'https://www.wenku8.net/modules/article/toplist.php?sort=dayvisit&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'总推荐榜','url':'https://www.wenku8.net/modules/article/toplist.php?sort=allvote&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'月推荐榜','url':'https://www.wenku8.net/modules/article/toplist.php?sort=monthvote&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'周推荐榜','url':'https://www.wenku8.net/modules/article/toplist.php?sort=weekvote&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'日推荐榜','url':'https://www.wenku8.net/modules/article/toplist.php?sort=dayvote&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'最新入库','url':'https://www.wenku8.net/modules/article/toplist.php?sort=postdate&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'最近更新','url':'https://www.wenku8.net/modules/article/toplist.php?sort=lastupdate&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'字数排行','url':'https://www.wenku8.net/modules/article/toplist.php?sort=size&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'日常系属性','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'校园','url':'https://www.wenku8.net/modules/article/tags.php?t=%D0%A3%D4%B0&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'青春','url':'https://www.wenku8.net/modules/article/tags.php?t=%C7%E0%B4%BA&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'恋爱','url':'https://www.wenku8.net/modules/article/tags.php?t=%C1%B5%B0%AE&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'治愈','url':'https://www.wenku8.net/modules/article/tags.php?t=%D6%CE%D3%FA&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'群像','url':'https://www.wenku8.net/modules/article/tags.php?t=%C8%BA%CF%F1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'竞技','url':'https://www.wenku8.net/modules/article/tags.php?t=%BE%BA%BC%BC&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'音乐','url':'https://www.wenku8.net/modules/article/tags.php?t=%D2%F4%C0%D6&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'美食','url':'https://www.wenku8.net/modules/article/tags.php?t=%C3%C0%CA%B3&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'旅行','url':'https://www.wenku8.net/modules/article/tags.php?t=%C2%C3%D0%D0&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'欢乐向','url':'https://www.wenku8.net/modules/article/tags.php?t=%BB%B6%C0%D6%CF%F2&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'经营','url':'https://www.wenku8.net/modules/article/tags.php?t=%BE%AD%D3%AA&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'职场','url':'https://www.wenku8.net/modules/article/tags.php?t=%D6%B0%B3%A1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'斗智','url':'https://www.wenku8.net/modules/article/tags.php?t=%B6%B7%D6%C7&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'脑洞','url':'https://www.wenku8.net/modules/article/tags.php?t=%C4%D4%B6%B4&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'宅文化','url':'https://www.wenku8.net/modules/article/tags.php?t=%D5%AC%CE%C4%BB%AF&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'幻想系属性','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'穿越','url':'https://www.wenku8.net/modules/article/tags.php?t=%B4%A9%D4%BD&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'奇幻','url':'https://www.wenku8.net/modules/article/tags.php?t=%C6%E6%BB%C3&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'魔法','url':'https://www.wenku8.net/modules/article/tags.php?t=%C4%A7%B7%A8&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'异能','url':'https://www.wenku8.net/modules/article/tags.php?t=%D2%EC%C4%DC&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'战斗','url':'https://www.wenku8.net/modules/article/tags.php?t=%D5%BD%B6%B7&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'科幻','url':'https://www.wenku8.net/modules/article/tags.php?t=%BF%C6%BB%C3&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'机战','url':'https://www.wenku8.net/modules/article/tags.php?t=%BB%FA%D5%BD&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'战争','url':'https://www.wenku8.net/modules/article/tags.php?t=%D5%BD%D5%F9&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'冒险','url':'https://www.wenku8.net/modules/article/tags.php?t=%C3%B0%CF%D5&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'龙傲天','url':'https://www.wenku8.net/modules/article/tags.php?t=%C1%FA%B0%C1%CC%EC&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'黑深残属性','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'悬疑','url':'https://www.wenku8.net/modules/article/tags.php?t=%D0%FC%D2%C9&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'犯罪','url':'https://www.wenku8.net/modules/article/tags.php?t=%B7%B8%D7%EF&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'复仇','url':'https://www.wenku8.net/modules/article/tags.php?t=%B8%B4%B3%F0&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'黑暗','url':'https://www.wenku8.net/modules/article/tags.php?t=%BA%DA%B0%B5&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'猎奇','url':'https://www.wenku8.net/modules/article/tags.php?t=%C1%D4%C6%E6&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'惊悚','url':'https://www.wenku8.net/modules/article/tags.php?t=%BE%AA%E3%A4&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'间谍','url':'https://www.wenku8.net/modules/article/tags.php?t=%BC%E4%B5%FD&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'末日','url':'https://www.wenku8.net/modules/article/tags.php?t=%C4%A9%C8%D5&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'游戏','url':'https://www.wenku8.net/modules/article/tags.php?t=%D3%CE%CF%B7&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'大逃杀','url':'https://www.wenku8.net/modules/article/tags.php?t=%B4%F3%CC%D3%C9%B1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'人物属性类','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'青梅竹马','url':'https://www.wenku8.net/modules/article/tags.php?t=%C7%E0%C3%B7%D6%F1%C2%ED&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'妹妹','url':'https://www.wenku8.net/modules/article/tags.php?t=%C3%C3%C3%C3&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'女儿','url':'https://www.wenku8.net/modules/article/tags.php?t=%C5%AE%B6%F9&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'JK','url':'https://www.wenku8.net/modules/article/tags.php?t=JK&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'JC','url':'https://www.wenku8.net/modules/article/tags.php?t=JC&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'大小姐','url':'https://www.wenku8.net/modules/article/tags.php?t=%B4%F3%D0%A1%BD%E3&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'性转','url':'https://www.wenku8.net/modules/article/tags.php?t=%D0%D4%D7%AA&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'伪娘','url':'https://www.wenku8.net/modules/article/tags.php?t=%CE%B1%C4%EF&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'人外','url':'https://www.wenku8.net/modules/article/tags.php?t=%C8%CB%CD%E2&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'特殊属性类','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'后宫','url':'https://www.wenku8.net/modules/article/tags.php?t=%BA%F3%B9%AC&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'百合','url':'https://www.wenku8.net/modules/article/tags.php?t=%B0%D9%BA%CF&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'耽美','url':'https://www.wenku8.net/modules/article/tags.php?t=%B5%A2%C3%C0&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'NTR','url':'https://www.wenku8.net/modules/article/tags.php?t=NTR&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'女性视角','url':'https://www.wenku8.net/modules/article/tags.php?t=%C5%AE%D0%D4%CA%D3%BD%C7&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'这本轻小说真厉害!TOP20 榜单','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'2024','url':'https://www.wenku8.net/zt/sugoi/2024.php','style':{layout_flexGrow:1,layout_flexBasisPercent:0.4}},\n{'title':'2023','url':'https: //www.wenku8.net/zt/sugoi/2023.php','style':{layout_flexGrow:1,layout_flexBasisPercent:0.4}},\n{'title':'2022','url':'https://www.wenku8.net/zt/sugoi/2022.php','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'2021','url':'https://www.wenku8.net/zt/sugoi/2021.php','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'2020','url':'https://www.wenku8.net/zt/sugoi/2020.php','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'2019','url':'https://www.wenku8.net/zt/sugoi/2019.php','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'2018','url':'https://www.wenku8.net/zt/sugoi/2018.php','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'2017','url':'https://www.wenku8.net/zt/sugoi/2017.php','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'2016','url':'https://www.wenku8.net/zt/sugoi/2016.php','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'2015','url':'https://www.wenku8.net/zt/sugoi/2015.php','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'2014','url':'https://www.wenku8.net/zt/sugoi/2014.php','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'2013','url':'https://www.wenku8.net/zt/sugoi/2013.php','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'2012','url':'https://www.wenku8.net/zt/sugoi/2012.php','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'2011','url':'https://www.wenku8.net/zt/sugoi/2011.php','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'2010','url':'https://www.wenku8.net/zt/sugoi/2010.php','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'2009','url':'https://www.wenku8.net/zt/sugoi/2009.php','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'2008','url':'https://www.wenku8.net/zt/sugoi/2008.php','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'2007','url':'https://www.wenku8.net/zt/sugoi/2007.php','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'2006','url':'https://www.wenku8.net/zt/sugoi/2006.php','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'2005','url':'https://www.wenku8.net/zt/sugoi/2005.php','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}}]", "header": "", "lastUpdateTime": 1704981503184, "loginUrl": "https://www.wenku8.net/login.php", "respondTime": 1599, "ruleBookInfo": { "author": "tag.td.4@text##.*作者:", "coverUrl": "tag.img.1@src", "init": "", "intro": "//span[contains(text(), \\\"简介\\\")]/following-sibling::span/text()", "kind": "tag.td.3@text&&tag.td.5@text##.*分类:|.*状态:", "lastChapter": "@xpath://span[@style=\"font-size:14px;\"][1]/a/text()", "name": "tag.b.1@text", "tocUrl": "text.小说目录@href", "wordCount": "" }, "ruleContent": { "content": "id.content@html##本文来自.*|最新.*一网打尽!", "nextContentUrl": "", "sourceRegex": "", "webJs": "" }, "ruleExplore": { "author": "", "bookList": "", "bookUrl": "", "coverUrl": "tag.img.1@src", "intro": "", "kind": "", "lastChapter": "", "name": "", "wordCount": "" }, "ruleReview": {}, "ruleSearch": { "author": "tag.p.0@text##\\/.*", "bookList": "@css:table.grid td>div,th a:nth-child(2n+1)", "bookUrl": "tag.a.0@href", "coverUrl": "tag.img.0@src", "intro": "##简介:([^<]+)<##$1###", "kind": "tag.p.0@text##.*分类:|状态:|/##", "lastChapter": "text.最后更新@text##最后更新.", "name": "@css:b>a,a[href^=http]@text##我要阅读|加入书架|推荐本书", "wordCount": "text.字数@text##.*字数." }, "ruleToc": { "chapterList": "class.css@tag.td@a", "chapterName": "text", "chapterUrl": "href", "isVip": "", "nextTocUrl": "", "updateTime": "" }, "searchUrl": "https://www.wenku8.net/modules/article/search.php?searchtype=articlename&searchkey={{key}}&page={{page}},{\"charset\":\"gbk\"}", "weight": 0 }, { "bookSourceComment": "科学上网使用\n整理修改:GitHub@ZWolken\n原作者:酷安户山香澄Official", "bookSourceGroup": "日轻小说(2024-12-13)\nGitHub@ZWolken", "bookSourceName": "ESJ轻小说.cc(科学)", "bookSourceType": 0, "bookSourceUrl": "http://www.esjzone.cc", "bookUrlPattern": "https?://www.esjzone.cc/detail/.*", "customOrder": -88951560, "enabled": true, "enabledCookieJar": false, "enabledExplore": true, "exploreUrl": "[\r\n{'title':'首页推荐','url':'/&&','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'全部轻小说','url':'/list-01/{{page}}.html','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'日轻小说','url':'/list-11/{{page}}.html','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'原创小说','url':'/list-21/{{page}}.html','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'韩轻小说','url':'/list-31/{{page}}.html','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'R15','url':'/tags/R15/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'残酷描写','url':'/tags/殘酷描寫/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'喜剧','url':'/tags/喜劇/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'异世界','url':'/tags/异世界/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'勇者','url':'/tags/勇者/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'龙','url':'/tags/龙/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'技能','url':'/tags/技能/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'冒险','url':'/tags/冒险/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'转生','url':'/tags/转生/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'黑暗','url':'/tags/黑暗/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'萝莉','url':'/tags/萝莉/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'后宫','url':'/tags/后宫/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'魔法','url':'/tags/魔法/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'少女','url':'/tags/少女/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'病娇','url':'/tags/病娇/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'魔王','url':'/tags/魔王/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'战争','url':'/tags/战争/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'死亡','url':'/tags/死亡/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'穿越','url':'/tags/穿越/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'奴隶','url':'/tags/奴隶/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'主角','url':'/tags/主角/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'R18','url':'/tags/R18/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'恋爱','url':'/tags/恋爱/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'恶意千金','url':'/tags/惡役千金/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'主角(女)','url':'/tags/主角(女)/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'青梅竹马','url':'/tags/青梅竹馬/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'NTR','url':'/tags/NTR/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'战斗','url':'/tags/戰鬥/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"公告\",\"url\":\"/tags/公告/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"催坑区\",\"url\":\"/tags/推坑區/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"吧台(聊天)\",\"url\":\"/tags/吧台(聊天)/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}}\r\n]", "lastUpdateTime": 1647304184559, "loginUrl": "https://www.esjzone.cc/login.html", "respondTime": 180000, "ruleBookInfo": { "author": "@css:ul[class=list-unstyled mb-2 book-detail]> li:nth-child(1) > a@text", "coverUrl": "@css:div.col-md-3 > div > a > img@src", "init": "", "intro": "@css:div.description@text", "kind": "@css:section.widget.widget-tags.hidden-lg-up.mt-30 > a@text", "lastChapter": "@css:div[id = chapterList] >a:last-child@text", "name": "@css:div.col-md-9.book-detail > h2@text", "tocUrl": "" }, "ruleContent": { "content": "@css:div.forum-content.mt-3,div[class =d_post_content j_d_post_content]@all" }, "ruleExplore": { "bookList": "" }, "ruleSearch": { "author": "", "bookList": "@css: div.col-xl-9.col-lg-8.p-r-30 > div.row > div ", "bookUrl": "@css:div> div > div > h5 > a@href", "coverUrl": "@css:div > div > a > div > div > img@data-src", "kind": "{{@css:.column:has(.icon-star-s)@text}},关注:{{@css:.column:has(.icon-eye)@text}},喜欢:{{@css:.column:has(.icon-heart)@text}},羽毛:{{@css:.column:has(.icon-feather)@text}},评论:{{@css:.column:has(.icon-message-square)@text}}##(\\([^()]+)##星$1人", "lastChapter": "@css:div>div>div[class=card-ep mt-2]@text", "name": "@css:div@title" }, "ruleToc": { "chapterList": "r=org.jsoup.Jsoup.parse(result).select(\"#chapterList>*\");r.select(\"p:has(br)\").remove();\nm=r.select(\"p.non\").eachText();\nl=String(r).split(/

[\\S\\s]+?<\\/p>/);\nfor(i=1,j=0;i(\\d+(?:-[^<>]+| *))(?=<)/g,\">\"+m[j]+\" $1\");l.join(\"\")a", "chapterName": "text##{{book.name}}[::\\d\\s]+|\\d+-", "chapterUrl": "a@href" }, "searchUrl": "https://www.esjzone.cc/tags/{{key}}/", "weight": 0 }, { "bookSourceComment": "建议登录\n整理修改缝合:GitHub@ZWolken\n灰色章节修复目录部分By叶落岚起+关耳/乃星改2021.8.3\n补丁 : 神秘人\n修复搜索问题\n修复发现榜单没图的问题\n修复章节内图片问题\n改为繁体站,需要VPN", "bookSourceGroup": "日轻小说(2024-12-13)\nGitHub@ZWolken", "bookSourceName": "哔哩轻小说(tw)", "bookSourceType": 0, "bookSourceUrl": "https://tw.linovelib.com/", "bookUrlPattern": "", "coverDecodeJs": "", "customOrder": -88951550, "enabled": true, "enabledCookieJar": false, "enabledExplore": true, "exploreUrl": "[{'title':'全部榜单','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'点击总榜','url':'/wenku/allvisit_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'点击月榜','url':'/wenku/monthvisit_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'点击周榜','url':'/wenku/weekvisit_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'推荐总榜','url':'/wenku/allvote_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'推荐月榜','url':'/wenku/monthvote_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'推荐周榜','url':'/wenku/weekvote_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'完结总点','url':'/wenku/allvisit_0_0_0_0_0_0_5_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'完结月点','url':'/wenku/monthvisit_0_0_0_0_0_0_5_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'完结周点','url':'/wenku/weekvisit_0_0_0_0_0_0_5_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'完结总推','url':'/wenku/allvote_0_0_0_0_0_0_5_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'完结月推','url':'/wenku/monthvote_0_0_0_0_0_0_5_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'完结周推','url':'/wenku/weekvote_0_0_0_0_0_0_5_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'收藏榜单','url':'/wenku/goodnum_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'字数榜单','url':'/wenku/words_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'新书榜单','url':'/wenku/postdate_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'更新榜单','url':'/wenku/lastupdate_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'编辑推荐','url':'/wenku/toptime_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'全部文库','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'电击文库','url':'/wenku/lastupdate_0_1_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'角川文库','url':'/wenku/lastupdate_0_3_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'少女文库','url':'/wenku/lastupdate_0_12_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'GA文库','url':'/wenku/lastupdate_0_6_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'HJ文库','url':'/wenku/lastupdate_0_7_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'MF文库J','url':'/wenku/lastupdate_0_4_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'富士见文库','url':'/wenku/lastupdate_0_2_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'Fami通文库','url':'/wenku/lastupdate_0_5_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'小学馆','url':'/wenku/lastupdate_0_10_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'集英社','url':'/wenku/lastupdate_0_9_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'讲谈社','url':'/wenku/lastupdate_0_11_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'一迅社','url':'/wenku/lastupdate_0_8_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'其他文库','url':'/wenku/lastupdate_0_13_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'轻改漫画','url':'/wenku/lastupdate_0_15_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'华文轻小说','url':'/wenku/lastupdate_0_14_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}}]", "header": "{\n \"User-Agent\": \"Mobile\",\n \"Referer\": \"https://tw.linovelib.com/\"\n}", "lastUpdateTime": 1708245915592, "loginCheckJs": "", "loginUi": "[\n {\n \"name\": \"账号\",\n \"type\": \"text\"\n },\n {\n \"name\": \"密码\",\n \"type\": \"password\"\n }\n]", "loginUrl": "@js:\nfunction login() {\n let une = source.getLoginInfoMap().get(\"账号\")\n let pwd = source.getLoginInfoMap().get(\"密码\")\n if (une && pwd) {\n let body = String('username=' + une + '&password=' + pwd + '&usecookie=315360000&action=login')\n let url = source.bookSourceUrl + '/login.php'\n let ck = java.post(url, body, { \"Content-Type\": \"application/x-www-form-urlencoded\" }).cookies()\n let header = JSON.stringify({\n \"Cookie\": String(ck).match(/\\{(.*?)\\}/)[1].replace(/,/g, ';')\n })\n source.putLoginHeader(header)\n }\n}", "respondTime": 25101, "ruleBookInfo": { "author": "[property=\"og:novel:author\"]@content", "coverUrl": "[property=\"og:image\"]@content", "intro": "id.bookSummary@tag.content@textNodes\n@js:\nresult=\" \"+result;", "kind": "class.book-cell@tag.p.1@ownText&&class.tag-small red@text\n##.*万字|·.*", "lastChapter": "class.gray ell@text##(\\d+-\\d+-\\d+\\s\\d+:\\d+)·(.*)##$2 • $1", "name": "[property=\"og:novel:book_name\"]@content", "tocUrl": "class.btn-normal red@href", "wordCount": "class.book-cell@tag.p.1@ownText##连载|完结" }, "ruleContent": { "content": "\n!(/google.com/).test(baseUrl) ? java.getString(\"id.acontent@html\") : decodeURIComponent(baseUrl.replace(/^.*?text=/, ''))\n", "imageDecode": "", "imageStyle": "FULL", "nextContentUrl": "##url_next:'([^']*)'##$1###\n@js:\nvar isNew = /\\/(\\d+).html/.test(result);\nvar out = isNew ? '' : result;\nout", "replaceRegex": "##((?<=[\\u4e00-\\u9fa5“‘「(,])\\s+)?\\s*|((?<=[\\u4e00-\\u9fa5“‘「(,])\\s+)?\\(本章未完\\)\\s*|" }, "ruleExplore": { "author": "class.book-author@ownText", "bookList": "class.book-ol book-ol-normal jsBooks@tag.li", "bookUrl": "a@href", "coverUrl": "img@data-src", "intro": "class.book-desc@text", "kind": "class.tag-small-group origin-right@tag.em.0@text&&\nclass.tag-small-group origin-right@tag.em.1@text", "name": "class.book-title@text", "wordCount": "class.tag-small blue@text" }, "ruleReview": {}, "ruleSearch": { "author": "class.book-author@textNodes", "bookList": "@js:\npath = 'class.book-ol book-ol-normal@tag.li';\nc = java.getElement(path);\nif (!c.length && result.includes('no-js')) {\n res = java.startBrowserAwait(baseUrl, '等待至跳转,然后重搜');\n java.setContent(res.body());\n c = java.getElement(path);\n}\nc", "bookUrl": "tag.a.0@href", "checkKeyWord": "我的青春恋爱喜剧", "coverUrl": "a@href@js:\nvar id = result.match(/\\/(\\d+)\\.html/)[1];\n'https://www.linovelib.com/files/article/image/'+parseInt(id/1000)+'/'+id+'/'+id+'s.jpg';", "intro": "class.book-desc@text", "kind": "class.tag-small-group origin-right@tag.em@text", "name": "class.book-title-x@class.book-title@text" }, "ruleToc": { "chapterList": "a.chapter-li-a, li.chapter-bar\n@js:\n//现实debug(尝试修复正文链接问题,和目录不全)\n//<<好友角色的我怎么可能大受欢迎>>第三卷12\n//<<我的青春恋爱喜剧>>\n//2022-8-19\n//原来的代码在源注释\n//2022-8-20修复https://w.linovelib.com/novel/2765.html目录加载失败\na = result\nlist = []\n\nfor (i = 0; i < a.length; i++) {\n java.setContent(a[i])\n b = java.getString(\"tag.a@href\")\n if (b == \"javascript:cid(0)\") {\n if (i == a.length - 1) {\n java.setContent(a[i - 1])\n c1 = java.getString(\"tag.a@href\")\n if (c1 == \"\") {\n java.setContent(a[i - 2])\n c1 = java.getString(\"tag.a@href\")\n }\n d1 = java.ajax(\"https://w.linovelib.com\" + c1)\n java.setContent(d1)\n e1 = java.getElements(\"id.footlink\")\n\n while (e1.indexOf(\"下一页\") != -1) {\n f1 = d1.match(/\n`;\n\nfunction showChapterComments() {\n const { java, chapter } = this;\n const url = chapter.url;\n const paramsHtml = '

\\'' + url + '\\'
';\n java.showBrowser(\"\", reviewHtmlTemplate.replace(\"$2\", paramsHtml), \"window.run=run\", '{\"heightPercentage\":0.8,\"expandedCornersRadius\":20,\"hideFriction\":0.9}');\n}\n\nfunction escapeHtml(str) {\n return String(str)\n .replace(/&/g, '&')\n .replace(//g, '>')\n .replace(/\"/g, '"');\n}\n\nfunction fixRelativeUrls(html, origin) {\n if (html == null) return '';\n html = String(html);\n if (!html || !origin) return html;\n return html.replace(/\\bsrc=\"([^\"]+)\"/g, function(m, url) {\n if (/^https?:\\/\\//i.test(url) || /^data:/i.test(url)) return m;\n if (url.charAt(0) === '/') return 'src=\"' + origin + url + '\"';\n return 'src=\"' + origin + '/' + url + '\"';\n });\n}\nfunction getChapterComments(chapterUrl) {\n var html = this.java.ajax(chapterUrl);\n var doc = org.jsoup.Jsoup.parse(html);\n var commentArr = doc.select(\"section.comments-section div.comment\").toArray();\n if (commentArr.length === 0) return \"\";\n var originMatch = /^(https?:\\/\\/[^\\/]+)/.exec(chapterUrl);\n var origin = originMatch ? originMatch[1] : '';\n var result = [];\n for (var i = 0; i < commentArr.length; i++) {\n var c = commentArr[i];\n var isRegistered = c.select(\"span.comment-title a\").size() > 0;\n var author = escapeHtml(c.select(\"span.comment-title\").text());\n var floor = escapeHtml(c.select(\"span.comment-floor\").text());\n var date = escapeHtml(c.select(\"span.comment-meta:not(.comment-floor)\").text());\n var quoteEl = c.select(\"blockquote p\");\n var quote = quoteEl.size() > 0 ? fixRelativeUrls(quoteEl.html(), origin) : \"\";\n var textEl = c.select(\"p.comment-text\");\n var text = textEl.size() > 0 ? fixRelativeUrls(textEl.html(), origin) : \"\";\n var replyLink = c.select(\"a.forum_reply\");\n var replyData = replyLink.size() > 0 ? escapeHtml(replyLink.attr(\"data-comment\")) : \"\";\n var authorClass = isRegistered ? \"comment-author\" : \"comment-author-guest\";\n var item = '
  • ';\n item += '
    ' + author + '' + floor + ' ' + date + '
    ';\n if (quote) item += '
    ' + quote + '
    ';\n item += '
    ' + text + '
    ';\n if (replyData) {\n item += '
    ';\n }\n item += '
  • ';\n result.push(item);\n }\n return result.join(\"\");\n}\nfunction postForumReply(chapterUrl, content, replyData) {\n var tokenBody;\n try {\n tokenBody = this.java.post(\n chapterUrl,\n 'plxf=getAuthToken',\n {'Content-Type': 'application/x-www-form-urlencoded'}\n ).body();\n } catch(e) {\n return JSON.stringify({status: 500, msg: '無法連接伺服器'});\n }\n var tokenMatch = /(.*?)<\\/JinJing>/.exec(tokenBody);\n if (!tokenMatch) {\n return JSON.stringify({status: 500, msg: '獲取令牌失敗'});\n }\n var token = tokenMatch[1];\n var originMatch = /^(https?:\\/\\/[^\\/]+)/.exec(chapterUrl);\n var origin = originMatch ? originMatch[1] : source.bookSourceUrl;\n var forumMatch = /\\/(\\d+)\\.html/.exec(chapterUrl);\n if (!forumMatch) {\n return JSON.stringify({status: 500, msg: '無法解析章節ID'});\n }\n var forumId = forumMatch[1];\n var postBody = 'data=forum&forum_id=' + encodeURIComponent(forumId) + '&content=' + encodeURIComponent(content);\n if (replyData) {\n postBody += '&reply=' + encodeURIComponent(replyData);\n }\n var responseBody;\n try {\n responseBody = this.java.post(\n origin + '/inc/forum_reply.php',\n postBody,\n {\n 'Content-Type': 'application/x-www-form-urlencoded',\n 'Authorization': token\n }\n ).body();\n } catch(e) {\n return JSON.stringify({status: 500, msg: '網路錯誤'});\n }\n return responseBody;\n}\n", "lastUpdateTime": 1774345798864, "loginUrl": "/my/profile.html", "respondTime": 2438, "ruleBookInfo": { "author": "class.list-unstyled mb-2 book-detail@tag.li.1@tag.a@text\n@js:\njava.t2s(result)", "canReName": "true", "coverUrl": "@css:div.col-md-3 > div > a > img@src", "intro": "

    {{@@section.m-t-20@a.tag@text##(^|[\\n])##🏷️}}

    \n{{'‎'}}\n
    \n{{@@div.description@html}}\n@js:\nvar intro = java.t2s(result);\ntry {\n var commentsHtml = java.getString(\"@@.comments-section@html\");\n if (commentsHtml && commentsHtml.trim() !== \"\") {\n var doc = org.jsoup.Jsoup.parse(\"
    \" + commentsHtml + \"
    \");\n var comments = doc.select(\"div.comment\");\n var total = comments.size();\n if (total > 0) {\n var commentText = \"\\n

    ☕【评论】\\n评论数:\" + total + \"

    \";\n for (var i = 0; i < comments.size(); i++) {\n var c = comments.get(i);\n var name = c.select(\"span.comment-title a\").text();\n var floor = c.select(\"span.comment-floor\").text();\n var date = c.select(\"span.comment-meta:not(.comment-floor)\").text();\n var quote = c.select(\"blockquote p\").text();\n var text = c.select(\"p.comment-text\").text();\n commentText += \"\\n

    \\u200e
    [\" + date + \"] \" + floor + \" 【\" + name + \"】

    \";\n if (quote && quote.trim()) commentText += \"\\n

    > \" + quote + \"

    \";\n if (text && text.trim()) commentText += \"\\n

    \" + text + '

    ';\n }\n intro += java.t2s(commentText)\n }\n }\n} catch(e) {}\nresult = '' + intro.replaceAll(/]*?href=[\"'](.*?)[\"'][^>]*?>/g,\n\t(match, href) => {\n const fullUrl = href.startsWith('/') ? `https://www.esjzone.one${href}` : href;\n if (/^https?:\\/\\/www\\.esjzone\\.one\\/detail\\//.test(fullUrl)) {\n return ``;\n }\n return ``;\n }\n) + '';", "kind": "关注:{{@css:.book-detail label:has(.icon-eye)@text}},喜欢:{{@css:.book-detail label:has(.icon-heart)@text}}\n{{@@class.list-unstyled mb-2 book-detail@tag.li.-2@text##.+: }}\n{{@@class.list-unstyled mb-2 book-detail@tag.li.-1@text## .+}}", "lastChapter": "@css:div[id = chapterList] >a:last-child@text\n@js:\njava.t2s(result)", "name": "@css:div.col-md-9.book-detail > h2@text\n@js:\njava.t2s(result)", "wordCount": "@css: .book-detail label:has(.icon-file-text)@text##,##" }, "ruleContent": { "content": "@css:div.forum-content.mt-3,div[class =d_post_content j_d_post_content]@all\n@js:\njava.t2s(result)", "subContent": "@js:\nif (!chapter.isVolume()) {\n var svg = '💬 章节评论';\n result = '';\n} else {\n result = '';\n}" }, "ruleExplore": {}, "ruleSearch": { "author": "class.card-author@tag.a@text\n@js:\njava.t2s(result)", "bookList": "@css: div.col-xl-9.col-lg-8.p-r-30 > div.row > div || .product-item", "bookUrl": "@css:div> div > div > h5 > a, .product-title > a@href", "coverUrl": "class.main-img@class.lazyload@data-src\n@js:\nresult.match(\"empty\") ? \"\" : result", "intro": "class.book-ep@div.-1@text\n@js:\njava.t2s(result)", "kind": "{{@css:.column:has(.icon-star-s)@text}},关注:{{@css:.column:has(.icon-eye)@text}},喜欢:{{@css:.column:has(.icon-heart)@text}},羽毛:{{@css:.column:has(.icon-feather)@text}},评论:{{@css:.column:has(.icon-message-square)@text}}##(\\([^()]+)##星$1人\n@js:\n!!result.split(\",\")[0] ? result : java.getString(\"class.book-update@text\")", "lastChapter": "@css:div>div>div[class=card-ep mt-2], .book-ep a@text\n@js:\njava.t2s(result)", "name": "@css: .card-title a, .product-title@text\n@js:\njava.t2s(result)", "wordCount": "@css: .column:has(.icon-file-text)@text##,##" }, "ruleToc": { "chapterList": "#chapterList@a[data-title], p.non, summary", "chapterName": "text\n@js:\njava.t2s(result)", "chapterUrl": "href", "isVolume": "p.non@text||summary@text" }, "searchUrl": "/tags/{{key}}/{{page}}.html", "weight": 0 }, { "bookSourceComment": "酷安 @吉王义昊\nGitHub:https://github.com/jiwangyihao/source-j-legado\n\n# 关于许可的额外声明(在线版本参见 GitHub,以在线版本为准)\n\n- 当许可证与本声明冲突时,以本声明为准;\n- 对于本仓库中的任意代码片段:按照 `MPL 2.0` 中有关约定执行;\n- 对于本仓库中的某一完整书源的转载或二次开发,需满足以下全部条件:\n - 在[本仓库](https://github.com/jiwangyihao/source-j-legado)的 `issue` 中提出请求并具体说明转载地址、二次开发后的书源开源地址以及其他必要信息;\n - 等待原作者(即本仓库的初始所有者和初始代码贡献者 [@jiwangyihao](https://github.com/jiwangyihao))查看并通过 `issue` 或依据原作者要求更改转载方式或补充更详细的信息。\n - 考虑到本项目弃坑的可能,新 `issue` 开启后超过 20 个工作日原作者没有回复或者原作者回复要求更改的 `issue` 在更改后超过 20 个工作日原作者没有回复即视为原作者通过该 `issue`:\n - 此处的 `issue` 仅包括在[本仓库](https://github.com/jiwangyihao/source-j-legado)开启的,处于「开启状态」的 issue。(也就是说,请不要在已经关闭的 issue 中回复)。\n - 对于此种方式通过的 issue,转载/二次开发者仍应当遵守本声明中已经写明的相关约定。\n - 不得上传至源仓库或整理至`非轻小说专用`的书源合集中并应当避免其他人将转载/二次开发版本上传至源仓库或整理至`非轻小说专用`的书源合集中:\n - 关于轻小说的定义的额外说明:不包括国内的原创网络文学作品(如 `SF 轻小说` 中的原创轻小说以及`起点中文网`中标签包含轻小说的作品)。\n - 轻小说专用的定义:有且仅有想看轻小说的人可能会添加。\n - 必须在转载/二次开发地址的明显位置完整包含本声明的全部内容。\n - 必须保留源注释中原有的更改记录。\n\n2024.4.10\n酷安 @吉王义昊\n处理目录中的卷名\n解决了章节中的引号导致加载目录失败的问题\n2024.5.7\n酷安 @吉王义昊\n支持登录\n支持网站阅读历史\n支持收藏(多收藏夹)\n新增发现\n2024.5.31\n酷安 @吉王义昊\n修正优先级序列模式下意外忽略后续翻译源的问题\n2024.6.21\n酷安 @吉王义昊\n跟进最新 API 更改\n2024.7.8\n酷安 @吉王义昊\n跟进源站发现更改\n2024.7.23\n酷安 @吉王义昊\n跟进源站登录更改\n2024.8.10\n酷安 @吉王义昊\n支持添加网址\n2024.10.28\n酷安 @吉王义昊\n支持「Lordly•阅读」\n支持在正文中加载图片\n2025.4.25\n酷安 @吉王义昊\n修复发现页加载\n调整目录章节名规则\n2025.9.5\n酷安 @吉王义昊\n跟进域名更改\n修复发现\n2025.9.27\n@DarkTide\n添加文库本支持\n发现增加文库分类\n2025.12.5\n@DarkTide\n文库本支持切换语言及翻译\n@DarkTide\n详情页添加书评\n@DarkTide\n处理正文图片的防盗链\n@DarkTide\n添加阅读进度上传功能(依赖事件监听需要新版阅读)", "bookSourceGroup": "轻小说", "bookSourceName": "轻小说机翻🤖", "bookSourceType": 0, "bookSourceUrl": "https://n.novelia.cc/", "bookUrlPattern": "https?://n.novelia.cc/(api/)?novel/\\w+/\\w+", "customButton": false, "customOrder": 267, "enabled": true, "enabledCookieJar": true, "enabledExplore": true, "eventListener": true, "exploreUrl": "@js:\nresult=[\n {\n 'title': '>> 个人中心 <<',\n 'url': \"\",\n 'style':{\n layout_flexGrow:1,\n layout_flexBasisPercent:1\n }\n }\n]\nfavored = String(java.ajax(source.bookSourceUrl + \"/api/user/favored\"))\nif (favored.match(\"Token不合法或者过期\")) {\n result[0].title = '>> 个人中心 | 未登录 <<'\n} else {\n result.push({\n 'title': '阅读历史',\n 'url': `/api/user/read-history?page={{page-1}}&pageSize=30`,\n 'style':{\n layout_flexGrow:1,\n layout_flexBasisPercent:1\n }\n }) \n favored = JSON.parse(java.ajax(source.bookSourceUrl + \"/api/user/favored\")).favoredWeb\n favored.forEach(favor => {\n result.push({\n 'title': favor.title,\n 'url': `/api/user/favored-web/${favor.id}?page={{page-1}}&pageSize=30&query=&provider=kakuyomu%2Csyosetu%2Cnovelup%2Chameln%2Cpixiv%2Calphapolis&type=0&level=0&translate=0&sort=update`,\n 'style':{\n layout_flexGrow:2,\n layout_flexBasisPercent:0.25\n \t}\n })\n })\n}\nresult.push({\n 'title': '>> 文库小说 <<',\n 'url': null,\n 'style': {\n layout_flexGrow: 1,\n layout_flexBasisPercent: 1\n }\n});\nString(java.ajax(`https://fastly.jsdelivr.net/gh/FishHawk/auto-novel@main/web/src/pages/list/option.ts`))\n.match(/getWenkuListOptions.*?{([\\s\\S]+?)}[^,;]/i)[1]\n.match(/levels.*?=.*?\\[[^\\]]+\\]/g)\n.flatMap(s => s.match(/'[^']+'/g))\n.map(s => s.replaceAll(\"'\", \"\"))\n.forEach((level, id) => {\n result.push({\n 'title': level,\n 'url': `/api/wenku?page={{page-1}}&pageSize=24&query=&level=${id}`,\n 'style': {\n layout_flexGrow: 1,\n layout_flexBasisPercent: id ? 0.25 : 1\n }\n });\n});\nresult.push({\n 'title': '>> 网络小说 <<',\n 'url': null,\n 'style': {\n layout_flexGrow: 1,\n layout_flexBasisPercent: 1\n }\n});\nconst websort = [\"kakuyomu\",\"syosetu\",\"novelup\",\"hameln\",\"pixiv\",\"alphapolis\"];\nresult.push({\n 'title': `全部`,\n 'url': `/api/novel?page={{page-1}}&pageSize=20&query=&provider=${websort.join(',')}&type=0&level={{source.getLoginHeader() ? 0 : 1}}&translate=0&sort=0`,\n 'style':{\n layout_flexGrow:1,\n layout_flexBasisPercent:1\n }\n});\nwebsort.forEach(tagg => {\n result.push({\n 'title': `${tagg}`,\n 'url': `/api/novel?page={{page-1}}&pageSize=20&query=&provider=${tagg}&type=0&level={{source.getLoginHeader() ? 0 : 1}}&translate=0&sort=0 `,\n 'style':{\n layout_flexGrow:1,\n layout_flexBasisPercent:0.4\n }\n })\n});\nString(java.ajax(`https://fastly.jsdelivr.net/gh/FishHawk/auto-novel@main/web/src/pages/MainLayout.vue, {\n \"headers\": {\n \"Authorization\": \"\"\n }\n}`))\n.match(/label:.?'小说排行'[^\\]]+]/gi)[0]\n.match(/children:.?\\[[^\\]]+/gi)[0]\n.match(/{[^}]+}/gi)\n.forEach((menu,index)=>{\n if (index!=1) {\n title=menu.match(/label:\\s*?\\'([^']+)/)[1]\n href=menu.match(/key:\\s*?\\'([^']+)/)[1]\n result.push({\n 'title': `>> ${title} <<`,\n 'url': \"\",\n 'style':{\n layout_flexGrow:1,\n layout_flexBasisPercent:1\n }\n })\n html = org.jsoup.Jsoup.parse(String(java.webView(null,source.bookSourceUrl + href.replace(/^\\//i,''),null)))\n sorts = html.select(\".py-6 > .gap-y-3 > .items-baseline\")\n sorts[0].select(\".gap-y-1 > span\").forEach(tag => {\n result.push({\n 'title': tag.text(),\n 'url': href.replace(/\\/(.+)\\/(.+)\\/(.+)/gi, \"$3\") != \"2\" ? `/api/novel/rank/${href.replace(/\\/(.+)\\/(.+)\\/(.+)/gi, \"$2\")}?type=${title.replace(/(.+):(.+)/gi,\"$2\").replace(\"异世界转移/转生\", \"异世界转生/转移\")}&genre=${tag.text()}&range=总计&status=全部&page={{page-1}}` : `/api/novel/rank/${href.replace(/\\/(.+)\\/(.+)\\/(.+)/gi, \"$2\")}?type=${title.replace(/(.+):(.+)/gi,\"$2\")}&range=${tag.text()}&status=全部&page={{page-1}}`,\n 'style':{\n layout_flexGrow:2,\n layout_flexBasisPercent:0.4\n \t}\n })\n \t})\n }\n})\nJSON.stringify(result)", "jsLib": "function getConfig() {\n const { book, source, java } = this\n const config = {\n language: \"中日\",\n translation: \"SGYB\",\n translationArr: []\n }\n const languages = [\n \"日文\",\n \"中文\",\n \"中日\",\n \"日中\"\n ]\n const translations = {\n B: \"baiduParagraphs\",\n Y: \"youdaoParagraphs\",\n G: \"gptParagraphs\",\n S: \"sakuraParagraphs\"\n }\n\n function applyTran(tranStr) {\n config.translation = tranStr\n if (tranStr === \"并列\") tranStr = \"SGYB\"\n let tranArr = []\n for (let i = 0; i < tranStr.length; i++) {\n tranArr.push(translations[tranStr.charAt(i)])\n }\n config.translationArr = tranArr\n }\n\n function applyLanguage(lang) {\n if (languages.includes(lang))\n config.language = lang\n }\n applyTran(config.translation)\n const sVar = String(source.getVariable()).replace(/\\s/gi, '').split('-')\n if (sVar[0]) applyLanguage(sVar[0])\n if (sVar[1]) applyTran(sVar[1])\n const bVar = String(book.getVariable(\"custom\")).replace(/\\s/gi, '').split('-')\n if (bVar[0]) applyLanguage(bVar[0])\n if (bVar[1]) applyTran(bVar[1])\n return config\n}\n\n//构建Put请求函数;\nfunction OkhttpPut(url, body, headers) {\n const { java } = this\n const javaImport = new JavaImporter();\n javaImport.importPackage(\n Packages.okhttp3\n );\n with(javaImport) {\n const requestBody = RequestBody.create(MediaType.parse(\"text/plain;charset=UTF-8\"), body || \"\");\n\n const requestBuilder = new Request.Builder()\n .url(url)\n .put(requestBody);\n\n if (headers) {\n for (let key in headers) {\n requestBuilder.addHeader(key, headers[key]);\n }\n }\n\n const client = new OkHttpClient();\n const response = client.newCall(requestBuilder.build()).execute();\n const responsebody = response.body().string();\n if (response.code() !== 200) {\n throw new Error(\"请求失败\");\n }\n return responsebody;\n }\n}", "lastUpdateTime": 1794668052544, "loginCheckJs": "if (/Token不合法或者过期/.test(result.body()) && source.getLoginHeader()) {\n eval(String(source.loginUrl));\n login();\n java.toast('Token已更新');\n result = java.connect(result.url() + \",\" + JSON.stringify({\n \"headers\": {\n \"Authorization\": source.getLoginHeaderMap().get(\"Authorization\")\n }\n })\n );\n}\nresult;", "loginUi": "[\n {\n \"name\": \"账号\",\n \"type\": \"text\"\n },\n {\n \"name\": \"密码\",\n \"type\": \"password\"\n }\n]", "loginUrl": "function login() {\n let une = source.getLoginInfoMap().get(\"账号\")\n let pwd = source.getLoginInfoMap().get(\"密码\")\n if (une && pwd) {\n let body = JSON.stringify({\n username: une,\n password: pwd,\n app: \"n\"\n })\n let url = source.bookSourceUrl.replace(\"n.\", \"auth.\") + 'api/v1/auth/login'\n let res = java.post(url, body, {\n \"Content-Type\": \"application/json\"\n })\n if (res.body().match(/错误/gi)) {\n throw(res.body())\n }\n //throw(String(res.body()))\n //result = JSON.parse(res.body())\n \n let header = JSON.stringify({\n \"Authorization\": \"Bearer \" + res.body()\n })\n source.putLoginHeader(header)\n }\n}", "respondTime": 180000, "ruleBookInfo": { "author": "$.authors.*.name||$.authors", "coverUrl": "$.cover", "downloadUrls": "@js:\nconst { language, translation } = getConfig();\nif (language === \"日文\") java.toast('\\n文库本无法选择纯日文展现,已切换为默认 中日 展现');\nconst languageMap = {\n \"中文\": \"zh\",\n \"日文\": \"zh-jp\",\n \"中日\": \"zh-jp\",\n \"日中\": \"jp-zh\"\n};\nconst translationsMap = {\n 'S': 'sakura',\n 'G': 'gpt',\n 'Y': 'youdao',\n 'B': 'baidu'\n};\nconst mode = languageMap[language];\nconst translations = (translation === \"并列\"\n ? Object.values(translationsMap).map(s => `translations=${s}`)\n : translation.split('').map(c => `translations=${translationsMap[c]}`)).join('&');\nJSON.parse(src).volumeJp.map(e => `${baseUrl}/file/${e.volumeId}?mode=${mode}&translationsMode=priority&filename=zh-jp.Ysgyb.${e.volumeId}&${translations}`);", "init": "@js:\nif (/\\/wenku\\//.test(book.bookUrl)) book.type = 128;\nif (!/api/g.test(book.bookUrl)) {\n book.bookUrl=book.bookUrl.replace(\"novel\",\"api/novel\")\n result=java.ajax(book.bookUrl)\n}\nresult=JSON.parse(result)\nif (result.points) result.points+=' PT'\nresult.visited+=' 浏览'\nJSON.stringify(result)", "intro": "@js:\nconst $ = JSON.parse(result);\nconst baseUrlApi = `https://forum.novelia.cc/api/v1/external/comment/novel/${/\\/wenku\\//.test(baseUrl) ? 'wenku' : 'web'}-${baseUrl.match(/\\/(?:novel|wenku)\\/(.*)$/)[1].replaceAll('/', '-')}?page_size=10`;\n\nfunction formatIsoString(isoString) {\n const match = isoString.match(/(\\.\\d+)(Z)$/);\n if (match) {\n let milliseconds = match[1];\n let digits = milliseconds.substring(1);\n\n if (digits.length < 3) {\n milliseconds = `.${digits.padEnd(3, '0')}`;\n } else if (digits.length > 3) {\n milliseconds = `.${digits.substring(0, 3)}`;\n }\n\n return isoString.replace(/(\\.\\d+)(Z)$/, `${milliseconds}$2`);\n }\n return isoString;\n}\n\nfunction formatComments(items, parentName) {\n if (!items.length) return '';\n return items.map(item => {\n let time = java.timeFormatUTC(new Date(formatIsoString(item.createdAt)).getTime(), 'yyyy-MM-dd HH:mm:ss', 8);\n let replyTag = parentName ? ` | @${parentName}` : '';\n let content = (parentName ? 'ㅤ' : '') + item.content;\n\n let block = `${parentName ? '└' + item.authorUsername : item.authorUsername} | ${time}${replyTag}\\n${parentName ? content.replaceAll('\\n', '\\nㅤ') : content}`;\n\n if (item.replyCount > 0) {\n block += '\\n' + formatComments(item.replies.items, item.authorUsername);\n }\n return block;\n }).join(parentName ? '\\n' : '\\n​\\n');\n}\n\nconst allComments = [];\nlet page = 1;\nlet hasMore = true;\n\nwhile (hasMore && page <= 5) {\n let res;\n try {\n res = JSON.parse(java.get(`${baseUrlApi}&page=${page}`, {}).body() || '{}');\n } catch (e) {\n java.log('书评获取失败:' + e.message);\n break;\n }\n if (res.items.length) {\n allComments.push(formatComments(res.items));\n page++;\n } else {\n hasMore = false;\n }\n}\n\nconst Comment = allComments.length ? `\n​\n💬 [书籍评论 | 时间倒序]:\n${allComments.join('\\n​\\n')}`.replaceAll('::: star ', '评分:⭐×').replaceAll('::: details 点击展开', '').replace('\\n:::\\n', '') : '';\n\n`当前规则:语言展现形式-${getConfig().language},翻译优先级-${getConfig().translation}(可在源变量或书籍变量中修改,详情参考变量说明)\n​\n[书籍信息]:\n${/\\/wenku\\//.test(baseUrl) ? `${$.artists.length ? '画师:' + $.artists.join(' & ') : ''}\n${$.imprint ? '书系:' + $.imprint : ''}\n${$.publisher ? '出版社:' + $.publisher : ''}\n${String(java.getString('$.latestPublishAt')) ? '最新出版时间:' + java.timeFormatUTC(+java.getString('$.latestPublishAt') * 1000, 'yyyy-MM-dd', 8) : ''}` : `${$.titleJp}\n总计:${$.toc.filter(item => item.chapterId).length} 百度:${$.baidu} 有道:${$.youdao} GPT:${$.gpt} Sakura:${$.sakura}`}\n​\n[书籍简介]:\n${$.introductionZh||''}\n${$.introductionJp||''}\n${$.introduction||''}` + Comment;", "kind": "$.attentions&&$.type&&$.points&&$.visited&&$.keywords&&$.level\n@js:Array.from(new Set(result));", "lastChapter": "{{$.toc[-1].titleZh||$.toc[-1].titleJp}}", "name": "$.titleZh", "wordCount": "$.totalCharacters" }, "ruleContent": { "callBackJs": "let consume = false;\nconst reading = ['startRead', 'saveRead', 'endRead'];\nconst userToken = source.getLoginHeaderMap();\nif (book?.type !== 128 && userToken && chapter && !chapter.isVolume() && reading.includes(event)) {\n const repuestUrl = book.bookUrl.replace('/novel/', '/user/read-history/');\n const chapterId = chapter.url.match(/([^\\/]+)$/)[0];\n try {\n OkhttpPut(repuestUrl, chapterId, userToken);\n java.log(`进度已同步传至网站\\n书籍:${book.name}\\n进度:${chapter.title}`);\n consume = true;\n } catch (e) {\n java.log('请求失败' + e.message);\n }\n}\nconsume;", "content": "@js:\nlet content;\ntry {\n result = JSON.parse(result)\n const config = getConfig()\n const resultList = []\n\n function makeImgTag(url) {\n return ''\n }\n\n for (let ip = 0; ip < result.paragraphs.length; ip++) {\n let p = result.paragraphs[ip]\n if (/^<图片>http.+$/.test(p)) {\n resultList.push(makeImgTag(p.replace(/^<图片>/i, \"\")))\n continue\n }\n\n function generateTran(i) {\n const chars = {\n baiduParagraphs: \"ᵇ\",\n youdaoParagraphs: \"ʸ\",\n gptParagraphs: \"ᵍ\",\n sakuraParagraphs: \"ˢ\"\n }\n if (config.translation === \"并列\") {\n const processed = []\n for (let ii = 0; ii < config.translationArr.length; ii++) {\n let t = config.translationArr[ii]\n if (result[t]) {\n if (/^<图片>http.+$/.test(result[t][i])) {\n let tmp = makeImgTag(result[t][i].replace(/^<图片>/i, \"\"))\n if (!processed.includes(tmp))\n processed.push(tmp)\n continue\n }\n processed.push((result[t][i] != \"\" ? chars[t] : \"\") + result[t][i].trim())\n continue\n }\n processed.push(\"\")\n }\n return processed.join(\"\\n\")\n } else {\n for (let tt = 0; tt < config.translationArr.length; tt++) {\n let t = config.translationArr[tt]\n if (result[t]) {\n if (/^<图片>http.+$/.test(result[t][i])) {\n return makeImgTag(result[t][i].replace(/^<图片>/i, \"\"))\n }\n return (result[t][i] != \"\" ? chars[t] : \"\") + result[t][i].trim()\n }\n }\n }\n }\n switch (String(config.language)) {\n case \"日文\":\n resultList.push(p)\n break\n case \"中文\":\n resultList.push(generateTran(ip))\n break\n case \"中日\":\n resultList.push([generateTran(ip), p.trim()].join(\"\\n\"))\n break\n case \"日中\":\n resultList.push([p, generateTran(ip)].join(\"\\n\"))\n break\n }\n }\n content = resultList.join(\"\\n\")\n} catch (e) {\n content = result;\n}\ncontent;" }, "ruleExplore": {}, "ruleSearch": { "bookList": "$.items", "bookUrl": "@js:\n/\\/wenku\\?/.test(baseUrl) ? `/api/wenku/{{$.id}}` : `/api/novel/{{$.providerId}}/{{$.novelId}}`;", "checkKeyWord": "驯兽师少女的逃亡日记", "coverUrl": "$.cover", "intro": "@js:\n/\\/wenku\\?/.test(baseUrl) ? '' : `{{$.titleJp}}\n总计:{{$.total}} 百度:{{$.baidu}} 有道:{{$.youdao}} GPT:{{$.gpt}} Sakura:{{$.sakura}}`;", "kind": "$.attentions&&$.type&&$.keywords\n@js:Array.from(new Set(result));", "lastChapter": "@js:\n/\\/wenku\\?/.test(baseUrl) ? '' : `{{$.total}} - ` + new Date(parseInt({{$.updateAt}}) * 1000).toJSON().replace(/T|\\.\\d+Z/gi, ' ')", "name": "$.titleZh||$.titleJp" }, "ruleToc": { "chapterList": "$.toc", "chapterName": "$.titleZh||$.titleJp", "chapterUrl": "@js:\nresult.chapterId ? `{{baseUrl}}/chapter/${result.chapterId}` : ''", "isVolume": "@js:\n!result.chapterId", "updateTime": "@js:\nresult.chapterId ? (`${result.titleJp} - ` + (result.createAt ? new Date(parseInt(result.createAt) * 1000).toJSON().replace(/T|\\.\\d+Z/gi, ' ') : '暂无')) : ''" }, "searchUrl": "@js:\nif (/文库\\d-/.test(key)) {\n let data = key.split('-');\n let level = data[0].match(/\\d/)[0];\n result = `/api/wenku?page={{page-1}}&pageSize=24&query=${key.replace(data[0] + \"-\", \"\")}&level=${level}`;\n} else {\n result = `/api/novel?page={{page-1}}&pageSize=20&query={{key}}&provider=kakuyomu%2Csyosetu%2Cnovelup%2Chameln%2Cpixiv%2Calphapolis&level={{source.getLoginHeader() ? 0 : 1}}&type=0&translate=0&sort=0`\n}\nresult;", "variableComment": "设置正文语言展现形式及翻译优先级\n!错误的设置可能导致书源工作不正常\n格式:语言展现形式 - 翻译优先级\n\n语言展现形式:\n- 日文\n- 中文\n- 中日\n- 日中\n翻译优先级:\n- 并列(展示所有存在的翻译)\n- 优先级序列,写在前面的优先采用,B-百度、Y-有道、G-GPT、S-Sakura,如 `SGYB`\n\n示例(默认值):中日 - SGYB\n示例:中文 - 并列", "weight": 0 }, { "bookSourceComment": "酷安 @吉王义昊\nGitHub:https://github.com/jiwangyihao/source-j-legado\n\n# 关于许可的额外声明(在线版本参见 GitHub,以在线版本为准)\n\n- 当许可证与本声明冲突时,以本声明为准;\n- 对于本仓库中的任意代码片段:按照 `MPL 2.0` 中有关约定执行;\n- 对于本仓库中的某一完整书源的转载或二次开发,需满足以下全部条件:\n - 在[本仓库](https://github.com/jiwangyihao/source-j-legado)的 `issue` 中提出请求并具体说明转载地址、二次开发后的书源开源地址以及其他必要信息;\n - 等待原作者(即本仓库的初始所有者和初始代码贡献者 [@jiwangyihao](https://github.com/jiwangyihao))查看并通过 `issue` 或依据原作者要求更改转载方式或补充更详细的信息。\n - 考虑到本项目弃坑的可能,新 `issue` 开启后超过 20 个工作日原作者没有回复或者原作者回复要求更改的 `issue` 在更改后超过 20 个工作日原作者没有回复即视为原作者通过该 `issue`:\n - 此处的 `issue` 仅包括在[本仓库](https://github.com/jiwangyihao/source-j-legado)开启的,处于「开启状态」的 issue。(也就是说,请不要在已经关闭的 issue 中回复)。\n - 对于此种方式通过的 issue,转载/二次开发者仍应当遵守本声明中已经写明的相关约定。\n - 不得上传至源仓库或整理至`非轻小说专用`的书源合集中并应当避免其他人将转载/二次开发版本上传至源仓库或整理至`非轻小说专用`的书源合集中:\n - 关于轻小说的定义的额外说明:不包括国内的原创网络文学作品(如 `SF 轻小说` 中的原创轻小说以及`起点中文网`中标签包含轻小说的作品)。\n - 轻小说专用的定义:有且仅有想看轻小说的人可能会添加。\n - 必须在转载/二次开发地址的明显位置完整包含本声明的全部内容。\n - 必须保留源注释中原有的更改记录。\n\n搜索时只会搜索合集,加载目录失败很可能是这个合集是空的,无法处理[流汗滑稽]\n\n小说简介和正文都添加了评论,不想看的话可以把书源规则里相关代码删了\n\n默认图片样式是TEXT,这是为了方便看评论里的表情包(\n\n想看漫画的话可以自行更改为FULL\n\n漫画长时间处于加载中或者加载失败很可能是因为原帖中用的图床挂了或者被墙了,无法处理[流汗滑稽]\n\n发现没做一是因为里面各种类型的帖子混在一起,太复杂,二是因为我用不着[受虐滑稽]\n\n!!非常重要:\n使用前需要先登录,登录界面是电脑版网页,可能需要找一下登录按钮在哪[流汗滑稽]\n(不确定现在是不是还有)账号需要通过勇者测试\n点登录没反应可能是ip被ban了或者访问频率过高,着急的话可以换下ip\n\n2024.4.8\n酷安@吉王义昊\n使用JSON格式重写了部分规则\n处理了3.24.040501中无法使用的问题", "bookSourceGroup": "轻小说,需要登录", "bookSourceName": "lk轻之国度", "bookSourceType": 0, "bookSourceUrl": "https://www.lightnovel.fun/", "customOrder": 1, "enabled": true, "enabledCookieJar": true, "enabledExplore": true, "exploreUrl": "@js:\nvar result = [];\nvar BaseUrl = \"https://www.lightnovel.fun\";\nvar baseBody = {\n \"is_encrypted\": 0,\n \"platform\": \"pc\",\n \"client\": \"web\",\n \"sign\": \"\",\n \"gz\": 0,\n \"d\": {\n \"uid\": JSON.parse(decodeURIComponent(cookie.getKey(BaseUrl, \"token\"))).security_key.split(':')[1],\n \"page\": \"{{page}}\",\n \"security_key\": JSON.parse(decodeURIComponent(cookie.getKey(BaseUrl, \"token\"))).security_key\n }\n};\nvar headers = {\n \"User-Agent\": \"Mozilla/5.0 (Android 11; Mobile; rv:142.0) Gecko/142.0 Firefox/142.0\",\n \"Content-Type\": \"application/json\",\n \"Cookie\": cookie.getCookie(BaseUrl)\n};\n\nresult.push({\n title: \"阅览记录\",\n url: null,\n style: {\n layout_flexGrow: 1,\n layout_flexBasisPercent: 1\n }\n});\n\n[\n [\"帖子\", 1],\n [\"合集\", 2]\n].forEach(([sort, id]) => {\n baseBody.d.type = 1;\n baseBody.d.class = id;\n let url = BaseUrl + \"/proxy/api/history/get-history,\" + JSON.stringify({\n \"body\": JSON.stringify(baseBody),\n \"headers\": headers,\n \"method\": \"POST\"\n });\n result.push({\n title: sort,\n url: url,\n style: {\n layout_flexGrow: 1,\n layout_flexBasisPercent: 0.4\n }\n });\n\n});\n\n[\n [\"轻小说\", 3],\n [\"漫画\", 33]\n].forEach(([tag, id]) => {\n result.push({\n title: tag,\n url: null,\n style: {\n layout_flexGrow: 1,\n layout_flexBasisPercent: 1\n }\n });\n baseBody.d.parent_gid = id;\n let sorts = java.post(BaseUrl + \"/proxy/api/category/get-categories\", JSON.stringify(baseBody), headers).body();\n JSON.parse(sorts).data.forEach(sort => {\n baseBody.d.gid = sort.gid;\n let url = BaseUrl + \"/proxy/api/category/get-article-by-cate,\" + JSON.stringify({\n \"body\": JSON.stringify(baseBody),\n \"headers\": headers,\n \"method\": \"POST\"\n });\n result.push({\n title: sort.name,\n url: url,\n style: {\n layout_flexGrow: 1,\n layout_flexBasisPercent: tag === \"漫画\" ? 0.2 : 0.25\n }\n });\n })\n});\n\nJSON.stringify(result);", "header": "{\n \"User-Agent\": \"Mozilla/5.0 (Android 11; Mobile; rv:142.0) Gecko/142.0 Firefox/142.0\",\n \"Referer\": \"https://www.lightnovel.fun/\"\n}", "lastUpdateTime": 1780191375499, "loginUrl": "https://www.lightnovel.fun/", "respondTime": 180000, "ruleBookInfo": { "author": "$.series.author", "coverUrl": "$.series.cover", "init": "\njsContent=src.match(/