🪜101看书
https://101kanshu.com
yezechuandl (3004)07/22 21:53
//2025.6.19 ◎夜泽川◎
{ "bookSourceComment": "\/\/2025.6.19 ◎夜泽川◎", "bookSourceGroup": "自制,网络", "bookSourceName": "🪜101看书", "bookSourceType": 0, "bookSourceUrl": "https:\/\/101kanshu.com", "customOrder": 116, "enabled": true, "enabledCookieJar": true, "enabledExplore": true, "exploreUrl": "@js:\nvar result = [];\nvar push = (title, url, size) => result.push({\n title: java.t2s(title),\n url: url && \/_\/.test(url) ? `\/novels\/${url}.html` : url,\n style: {\n layout_flexGrow: 1,\n layout_flexBasisPercent: size\n }\n});\n\npush(\"全部分类\", null, 1);\n\nconst tag = org.jsoup.Jsoup.parse(java.ajax(source.key + \"\/novels\/hot\")).select('.droplist li:not([class]) a');\nconst sort = [\n [\"连载\", \"newhot_0_0_1\"],\n [\"全本\", \"newhot_0_1_1\"],\n [\"人气\", \"weekvisit_0_0_1\"],\n [\"推荐\", \"allvote_0_0_1\"]\n];\n\nsort.forEach(([name, pattern]) => {\n let Url = pattern.replace(\/1$\/, \"{{page}}\");\n push(`༺ˇ»\\`ʚ ${name} ɞ´«ˇ༻`, Url, 1);\n tag.toArray().forEach((e, i) => push(e.text(), Url.replace(\/^(.+?_)0\/, `$1${i+1}`), 0.25));\n});\n\npush(\"༺ˇ»`ʚ 标签 ɞ´«ˇ༻\", null, 1);\norg.jsoup.Jsoup.parse(java.ajax(source.key)).select('.tag a').forEach(n => \n push(n.text(), n.attr('href') + \"\/{{page}}\", 0.2)\n);\n\nJSON.stringify(result);", "header": "{\"User-Agent\":\"Mozilla\/5.0 (Linux; Android 9) Mobile Safari\/537.36\"}", "lastUpdateTime": "1753192403206", "loginCheckJs": "if (result.code() == 403) java.toast('服务器拒绝访问,请检查网络状况!');\nif (\/Just a moment\/.test(result.body())) {\n\t let url = result.url()\n\t cookie.removeCookie(url);\n result = java.startBrowserAwait(url, \"验证\", false);\n}\nresult;", "respondTime": 180000, "ruleBookInfo": { "author": "@get:{a}", "coverUrl": "@get:{i}", "downloadUrls": "text.完整目录@href||.mybox@a.-1@href", "init": "<js>java.setContent(java.t2s(result));<\/js>\n@put:{\"n\":\"[property$=book_name]@content\",\n\"a\":\"[property$=author]@content\",\n\"t\":\"[property~=category|status]@content\",\n\"l\":\"[property$=latest_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}", "tocUrl": "{{baseUrl}}##^.*book\\\/##\/ajax_novels\/chapterlist\/" }, "ruleContent": { "content": "#txtcontent@html\n@js:java.t2s(result);", "nextContentUrl": "text.下一章@href||[class^=\"page\"]@a.-1@href" }, "ruleExplore": {}, "ruleSearch": { "author": "label.0@text", "bookList": "<js>java.t2s(result);<\/js>\n#article_list_content > li", "bookUrl": "a.0@href", "coverUrl": "img@data-src", "intro": "ol@text", "kind": "label!0@text", "lastChapter": ".zxzj a@text", "name": "h3@text" }, "ruleToc": { "chapterList": "ul a", "chapterName": "text\n@js:java.t2s(result);", "chapterUrl": "href" }, "searchUrl": "\/search\/{{key}}\/{{page}}.html", "weight": 0 }