We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
有的网站就跟博客似的,那种一页就是全部内容 有好几十万字,到手机里看就是一章600多页,就按照1万字符一章分了一下内容,每章为了不被当成重复链接合并,加了#数字,抓包时看每章都是加载一次这一页 { "bookSourceComment": "", "bookSourceGroup": "", "bookSourceName": "📃盐选", "bookSourceType": 0, "bookSourceUrl": "https://www.yanxuan.org", "bookUrlPattern": ".www.yanxuan.org/\\w+/.", "concurrentRate": "20/60000", "customOrder": 138, "enabled": true, "enabledCookieJar": false, "enabledExplore": true, "exploreUrl": "[{"title":"首页","url":"<,/page/{{page}}/>","style":{"layout_flexGrow":1,"layout_flexBasisPercent":0.25}},{"title":"霸总","url":"https://www.yanxuan.org/categories/霸总/<,page/{{page}}/>","style":{"layout_flexGrow":1,"layout_flexBasisPercent":0.25}},{"title":"盐选","url":"https://www.yanxuan.org/categories/知乎盐选/<,page/{{page}}/>","style":{"layout_flexGrow":1,"layout_flexBasisPercent":0.25}}]", "lastUpdateTime": 1742525223591, "respondTime": 248622, "ruleBookInfo": { "coverUrl": "@js:'https://z3.ax1x.com/2021/08/22/fzzNBq.png'", "kind": ".post-meta@span.10@text&&time@text", "name": "h1@text", "wordCount": ".post-meta@span.13@text## 字" }, "ruleContent": { "content": "@js:\r\na=result.match(/var content = '(.?)'/);\nif(a)\n{\n\tb=a[1].replace(/\\\//g,"/").replace(/\\u002b/g,"+");\ndoc=java.base64Decode(b);\n}else{c=result.match(/class="content_raw">([\s\S]?)<\/div>/)\n\tif (c) \n\t{doc=c[1].replace(/
更多盐选专栏请登录:www.qidianyw.com阅读<\/p>|拖拽到此处<\/p>\s*
图片将完成下载<\/p>\s*
由AIX智能下载器\(图片\/视频\/音乐\/文档\) Pro提供<\/p>\s*
免费读书网站_知乎小说免费阅读_免费看小说网站【.?】<\/p>|
(正文完)<\/p>/g,"");}\n\t}\ndoc;\nn = parseInt(String(chapter.title)); \np=10000;\nif (doc.length <= p) {\n w = doc; \n} else {\n \n s = (n - 1) * p;\n e = (n * p) > doc.length ? doc.length : n * p;\n w = doc.slice(s, e);\n}\nw;", "title": "" }, "ruleExplore": { "bookList": ".recent-post-item", "bookUrl": "a.0@href@js:if(result.match(/tags\//))\n{u=org.jsoup.Jsoup.parse(java.ajax("https://www.yanxuan.org\"+decodeURI(result))).select('.btn.min').attr('href');}\nelse{u=result;}\nu;", "coverUrl": "@js:'https://z3.ax1x.com/2021/08/22/fzzNBq.png'", "intro": "p@text", "kind": "time@text", "name": "h2@text" }, "ruleSearch": { "bookList": "$.hits[]", "bookUrl": "$.url", "intro": "$.content##.?(?:文案|简介)[:: ]", "name": "$.hierarchy_lvl0" }, "ruleToc": { "chapterList": "@js:m = String(book.wordCount);\n v = m.match(/(\d+\.?\d)/); \n r = parseFloat(v[1]);\n if (m.includes("万字"))\n {n = Math.ceil(r / 1);\n }else{\n \tn = 1;\n } \nvar list = [];\n for (var i = 1; i <= n; i++) {\n list.push({k: '' + i, v: baseUrl + '#' + i});\n }\nlist;", "chapterName": "k", "chapterUrl": "v" }, "searchUrl": "@js:url = "https://search.yanxuan.org/indexes/yanxuan/search,\" + JSON.stringify({\n "method": "POST",\n "body": JSON.stringify({\n "q": key,\n "attributesToHighlight": ["*"],\n "attributesToCrop": ["content"],\n "cropLength": 30\n }),\n "headers": {\n "Authorization": "Bearer e369a1a3b41676085bf3c8b4d2f7306bd09e30560ec352a74fe91c3fe7602ec4"\n }\n});", "weight": 0 }
不知道可不可以在这种同页面分页时能不重复加载
No response
The text was updated successfully, but these errors were encountered:
你可以自己缓存一下
Sorry, something went wrong.
是可以用cache.putFile缓存,再读取缓存 这个也是分页的
但是每有一章就重复加载一次同链接
用dataurl
大佬,这个是怎么用
No branches or pull requests
确认 / Assignments
功能描述 / Features
有的网站就跟博客似的,那种一页就是全部内容 有好几十万字,到手机里看就是一章600多页,就按照1万字符一章分了一下内容,每章为了不被当成重复链接合并,加了#数字,抓包时看每章都是加载一次这一页
{
"bookSourceComment": "",
"bookSourceGroup": "",
"bookSourceName": "📃盐选",
"bookSourceType": 0,
"bookSourceUrl": "https://www.yanxuan.org",
"bookUrlPattern": ".www.yanxuan.org/\\w+/.",
"concurrentRate": "20/60000",
"customOrder": 138,
"enabled": true,
"enabledCookieJar": false,
"enabledExplore": true,
"exploreUrl": "[{"title":"首页","url":"<,/page/{{page}}/>","style":{"layout_flexGrow":1,"layout_flexBasisPercent":0.25}},{"title":"霸总","url":"https://www.yanxuan.org/categories/霸总/<,page/{{page}}/>","style":{"layout_flexGrow":1,"layout_flexBasisPercent":0.25}},{"title":"盐选","url":"https://www.yanxuan.org/categories/知乎盐选/<,page/{{page}}/>","style":{"layout_flexGrow":1,"layout_flexBasisPercent":0.25}}]",
"lastUpdateTime": 1742525223591,
"respondTime": 248622,
"ruleBookInfo": {
"coverUrl": "@js:'https://z3.ax1x.com/2021/08/22/fzzNBq.png'",
"kind": ".post-meta@span.10@text&&time@text",
"name": "h1@text",
"wordCount": ".post-meta@span.13@text## 字"
},
"ruleContent": {
"content": "@js:\r\na=result.match(/var content = '(.?)'/);\nif(a)\n{\n\tb=a[1].replace(/\\\//g,"/").replace(/\\u002b/g,"+");\ndoc=java.base64Decode(b);\n}else{c=result.match(/class="content_raw">([\s\S]?)<\/div>/)\n\tif (c) \n\t{doc=c[1].replace(/
更多盐选专栏请登录:www.qidianyw.com阅读<\/p>|拖拽到此处<\/p>\s*
图片将完成下载<\/p>\s*
由AIX智能下载器\(图片\/视频\/音乐\/文档\) Pro提供<\/p>\s*
免费读书网站_知乎小说免费阅读_免费看小说网站【.?】<\/p>|
(正文完)<\/p>/g,"");}\n\t}\ndoc;\nn = parseInt(String(chapter.title)); \np=10000;\nif (doc.length <= p) {\n w = doc; \n} else {\n \n s = (n - 1) * p;\n e = (n * p) > doc.length ? doc.length : n * p;\n w = doc.slice(s, e);\n}\nw;",
"title": ""
},
"ruleExplore": {
"bookList": ".recent-post-item",
"bookUrl": "a.0@href@js:if(result.match(/tags\//))\n{u=org.jsoup.Jsoup.parse(java.ajax("https://www.yanxuan.org\"+decodeURI(result))).select('.btn.min').attr('href');}\nelse{u=result;}\nu;",
"coverUrl": "@js:'https://z3.ax1x.com/2021/08/22/fzzNBq.png'",
"intro": "p@text",
"kind": "time@text",
"name": "h2@text"
},
"ruleSearch": {
"bookList": "$.hits[]",
"bookUrl": "$.url",
"intro": "$.content##.?(?:文案|简介)[:: ]",
"name": "$.hierarchy_lvl0"
},
"ruleToc": {
"chapterList": "@js:m = String(book.wordCount);\n v = m.match(/(\d+\.?\d)/); \n r = parseFloat(v[1]);\n if (m.includes("万字"))\n {n = Math.ceil(r / 1);\n }else{\n \tn = 1;\n } \nvar list = [];\n for (var i = 1; i <= n; i++) {\n list.push({k: '' + i, v: baseUrl + '#' + i});\n }\nlist;",
"chapterName": "k",
"chapterUrl": "v"
},
"searchUrl": "@js:url = "https://search.yanxuan.org/indexes/yanxuan/search,\" + JSON.stringify({\n "method": "POST",\n "body": JSON.stringify({\n "q": key,\n "attributesToHighlight": ["*"],\n "attributesToCrop": ["content"],\n "cropLength": 30\n }),\n "headers": {\n "Authorization": "Bearer e369a1a3b41676085bf3c8b4d2f7306bd09e30560ec352a74fe91c3fe7602ec4"\n }\n});",
"weight": 0
}
期望实现方式 / How to implement
不知道可不可以在这种同页面分页时能不重复加载
附加信息 / Additions
No response
效果演示 / Demo
No response
The text was updated successfully, but these errors were encountered: