gedoor / legado

Legado 3.0 Book Reader with powerful controls & full functions❤️阅读3.0, 阅读是一款可以自定义来源阅读网络内容的工具,为广大网络文学爱好者提供一种方便、快捷舒适的试读体验。
GNU General Public License v3.0
29.11k stars 3.86k forks source link

[BUG] 订阅源 #2305

Closed iyhkhtrk closed 2 years ago

iyhkhtrk commented 2 years ago

浏览器版本(web端反馈,先勾选浏览器,然后填版本号)

机型(如Redmi K30 Pro)

vivo Y3

安卓版本(如Android 7.1.1)

Android 9

阅读Legdao版本(我的-关于-版本,如3.20.112220)

最新

网络环境(移动,联通,电信,移动宽带,联通宽带,电信宽带,等等..)

问题描述(简要描述发生的问题)

用js生成的分类在更改代码后还是显示之前的分类,改变源url重新执行js才能获取更改后的分类,希望跟书源发现一样加个刷新选项

相关截图

复现步骤(详细描述导致问题产生的操作步骤,如果能稳定复现)

使用书源(填写URL或者JSON)

点击展开

{
  "articleStyle": 0,
  "customOrder": 27,
  "enableJs": true,
  "enabled": true,
  "enabledCookieJar": false,
  "header": "",
  "loadWithBaseUrl": true,
  "loginUrl": "◎常用网站◎\n【0、3、】《📝 | 一键导入》@https://z.dwz.mk/RniuYr@『这里是一键导入』\n【0、1、】《📝 | 发现规则》\n【https://www.yikm.net】《🎮 | 在线游戏》\n【https://guaner001125.gitee.io/html/index.html】《🖥 | 我的整合》\n【https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzIzMTc0NzE1MQ==&action=getalbum&album_id=1429936613618188289&scene=126#wechat_redirect】《📖 | 阅读教程》\n【https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzIzMTc0NzE1MQ==&action=getalbum&album_id=1337256947799916544&scene=126#wechat_redirect】《📖 | 阅读资源》\n【http://www.yckceo.com】《常用 | 源 仓 库》\n【https://www.jianguoyun.com】《必备 | 云 备 份》\n【https://mail.qq.com】《登录 |QQ邮箱 》\n【http://gitee.com】《登录 | G i t e e》\n◎在线工具◎\n【https://ol.woobx.cn】《🛠️ | 一个木函》\n【https://uutool.cn】《🛠️ | UU在线》\n【https://www.yinsiduanxin.com】《📱 | 短信接收》\n【http://24mail.chacuo.net】《📱 | 临时邮箱》\n【https://netcut.cn】《🛠️ | 网络剪切板》\n【https://ykjtb.com/c】《🛠️ | 一块剪切板》\n【http://www.jsons.cn/reg/】《🛠️ | 正则替换》",
  "ruleArticles": "\njson=[];\nlist=baseUrl.replace(/http.*?wd=\\s*/,'').split('•');\nfor(i = 0;i\n$.[*]",
  "ruleContent": "",
  "ruleDescription": "❗️0、3、开始❗️\n\n\n\n\n\n\n❗️0、3、结束❗️\n❗️0、1、开始❗️\n \n\n\n \nhtml转义  URL解码\n\n\n\n\n\n\n\n\n\n\n\n\n\n
输入分类里的链接,如:\n/sort/xuanhuan/\n写成\n/sort/分类/\n
\n\n
输入带有翻页的链接,如:\n/sort/xuanhuan/2.html\n写成\n/sort/分类/页码.html\n
\n\n\n
\n第一页跟第二页不一样?\n输入不一样的部分(第二页比第一页多出来的部分)\n如\nindex_页码.html\n
\n\n\n\n\n\n\n

复制成功!




\n

正则表达式匹配替换

\n
\n
\n \n
\n
\n
\n
\n
\n 正则表达式\n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n \n \n\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n 替换文本\n \n\n\n\n\n\n\n\n\n
\n
\n
\n
\n \n\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n\n\n\n\n\n❗️0、1、结束❗️\n\n——————分割线————————\n{{}}\n\nindex='{{$.index}}';\nif(index.match(/\\d+、\\d+、/)){\nreg=eval('/❗️'+index+'开始❗️[\\\\s\\\\S]+?❗️'+index+'结束❗️/g');\nreg2=eval('/❗️'+index+'..❗️/g');\nresult=result.match(reg)?result.match(reg)[0]:'
'\nresult.replace(reg2,'')}else{result=''}\n
", "ruleImage": "$.src", "ruleLink": "$.index\n@js:\nif(!result.match(/^http/) && !result.match(/\\d+、\\d+、/)){\nresult=\"https://www.coolapk.com/link?url=\"+encodeURIComponent(result)\n}else{result=result}", "rulePubDate": "$.intro", "ruleTitle": "$.text", "singleUrl": false, "sortUrl": "@js:\nlet result =\"\";\ns = String(source.loginUrl);\nlet list;\nif(/------------------/.test(s)){\n\tlist=s.split('------------------\\n');\nfor(i = 0;idiv {\n\tcursor: pointer;\n\tpadding: 1px 10px 0 10px;\n\tborder-bottom: 3px solid transparent;\n\tfont-weight: bold;\n}\n.tabtitle>.this {\n\tcolor: #4f9da6;\n\tborder-bottom-color: #4EBBE4;\n}\n.tabbody {\n\tflex: 1;\n\tdisplay: flex;\n\tmargin-top: -1px;\n\tborder: 1px solid #A9A9A9;\n\theight: 0;\n}\n.tabbody>* {\n\tflex: 1;\n\tflex-flow: column;\n\tdisplay: none;\n}\n.tabbody>.this {\n\tdisplay: flex;\n}\n.tabbody>*>.titlebar{\n\tdisplay: flex;\n}\n.tabbody>*>.titlebar>*{\n\tflex: 1;\n\tmargin: 1px 1px 1px 1px;\n}\n.tabbody>*>.context {\n\tflex: 1;\n\tflex-flow: column;\n\tborder: 0;\n\tpadding: 5px;\n\toverflow-y: auto;\n}\n.tabbody>*>.inputbox{\n\tborder: 0;\n\tborder-bottom: #A9A9A9 solid 1px;\n\theight: 15px;\n\ttext-align:center;\n}\n.link>* {\n\tdisplay: flex;\n\tmargin: 5px;\n\tborder-bottom: 1px solid;\n\ttext-decoration: none;\n}\n#RuleList>label>* {\n\tbackground: #eee;\n\tpadding-left: 3px;\n\tmargin: 2px 0;\n\tcursor: pointer;\n}\n#RuleList input[type=radio] {\n\tdisplay: none;\n}\n#RuleList input[type=\"radio\"]:checked+* {\n\tbackground: #15cda8;\n}\n.isError {\n\tcolor: #FF0000;\n}\n#RuleJsonString{\nheight:600px\n}\nsvg text{\nfont-size:10px\n}" }


日志提交(我的-关于-崩溃日志,书架-右上角-日志)

点击展开



821938089 commented 2 years ago

你填的订阅源无法导入

iyhkhtrk commented 2 years ago
gedoor commented 2 years ago

ok