🎉顶点小说网
https://m.xslca.cc
y11yylhn (10328)2天前
需要同网站书籍详情页URL网址导入
这个修复版是把请求头去掉了的,如果有什么问题尝试把请求头填回去
{
"user-agent": "Mozilla/5.0 (Linux; Android 15; V2338A Build/AP3A.240905.015.A2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.6478.71 Mobile Safari/537.36",
"Cookie": "{{cookie.removeCookie(source.bookSourceUrl);}}"
}
{ "bookSourceComment": "25.7.28\n需要同网站书籍详情页URL网址导入\n\n这个修复版是把请求头去掉了的,如果有什么问题尝试把请求头填回去\n{\n \"user-agent\": \"Mozilla\/5.0 (Linux; Android 15; V2338A Build\/AP3A.240905.015.A2) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/126.0.6478.71 Mobile Safari\/537.36\",\n \"Cookie\": \"{{cookie.removeCookie(source.bookSourceUrl);}}\"\n}", "bookSourceName": "🎉顶点小说网", "bookSourceType": 0, "bookSourceUrl": "https:\/\/m.xslca.cc", "bookUrlPattern": "https:\/\/m.xslca.cc\/book\/\\d+.html", "customOrder": 0, "enabled": true, "enabledCookieJar": false, "enabledExplore": false, "exploreUrl": "@js:\njava.toast(\"稍等,正在更新发现列表!\");\nvar doc = org.jsoup.Jsoup.parse(java.ajax(source.bookSourceUrl + \"\/sort.html\"));\nvar html = doc.select(\"div.content > ul > li.prev\");\n\/\/java.log(html);\n\nvar sort = [];\nsort.push({\n title: '💮 ' + source.bookSourceName + ' 💮',\n url: '',\n style: {\n layout_flexGrow: 0,\n layout_flexBasisPercent: 1\n }\n })\nfor ( var i = 0; i < html.size(); i ++ ) { \n\t var li = html[i];\n\t \n var title = li.select(\"li > a[href]\")[0].text();\n var herf = li.select(\"li > a[href]\")[0].attr(\"href\");\n var url = source.bookSourceUrl + String(herf).replace(\/1(?=[^1]*$)\/, \"{{page}}\");\n \n sort.push({\n title: ' ' + title + ' ',\n url: url,\n style: {\n layout_flexGrow: 1,\n layout_flexBasisPercent: 0.29\n }\n });\n}\nvar docc = org.jsoup.Jsoup.parse(java.ajax(source.bookSourceUrl + \"\/top.html\"));\nvar htmll = docc.select(\"div.content > ul > li.prev\");\n\/\/java.log(htmll);\nsort.push({\n title: '💮 排行榜 💮',\n url: '',\n style: {\n layout_flexGrow: 0,\n layout_flexBasisPercent: 1\n }\n })\nfor ( var p = 0; p < htmll.size(); p ++ ) { \n\t var lii = htmll[i];\n\t \n var titlee = lii.select(\"li > a[href]\")[0].text();\n var herff = lii.select(\"li > a[href]\")[0].attr(\"href\");\n var urll = source.bookSourceUrl + String(herff).replace(\/1\/, \"{{page}}\");\n \n sort.push({\n title: ' ' + titlee + ' ',\n url: urll,\n style: {\n layout_flexGrow: 1,\n layout_flexBasisPercent: 0.29\n }\n });\n}\nJSON.stringify(sort);", "lastUpdateTime": "1753767147285", "respondTime": 180000, "ruleBookInfo": { "author": "[email protected]@a@text", "coverUrl": "img@src", "intro": ".intro_info@text", "kind": "[email protected]@a@text", "name": "h2@text", "tocUrl": "text.查看目录@href" }, "ruleContent": { "content": "div#nr1@html", "nextContentUrl": "text.下一章@href" }, "ruleExplore": { "author": "a[href][2]@text", "bookList": "@css:div.cover > p.line", "bookUrl": "a[href][1]@href", "coverUrl": "a[href][1]@href\n@js:\n\/\/java.log(result);\nvar match = result.match(\/\\\/book\\\/(\\d+)\\.html\/);\nvar id = match[1];\nvar iid = id.toString().substring(0,3);\nvar cover = \"https:\/\/www.xslca.cc\/files\/article\/image\/\" + iid + \"\/\" + id + \"\/\" + id + \".jpg\";\ncover", "kind": "a[href][0]@text##\\[|\\]", "name": "a[href][1]@text" }, "ruleSearch": {}, "ruleToc": { "chapterList": "ul.chapter > li", "chapterName": "li@text", "chapterUrl": "{{source.bookSourceUrl}}{{@@li > a@href}}", "nextTocUrl": "text.下一页@href" }, "weight": 0 }