2024.05.26绯月safeid匹配规则更新 #648
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
2024.05.26绯月safeid匹配规则更新
在登录账户后,签到页面 https://bbs.kfpromax.com/kf_growup.php safeid代码段更新为
<a href="kf_growup.php?ok=3&safeid=23d1263" target="_self">你可以领取 0KFB + 0经验 + 0贡献 请点击这里
safeid后原有的&取消了
绯月模板旧的匹配规则为safeid=(.+?)&,该匹配规则会导致匹配到的safeid值为空,从而导致签到失败。
ok=(.+?)&可以正常获取数据
此次PR修正了safeid匹配规则,现safeid匹配规则更新为safeid=([a-zA-Z0-9]+)从而可以正常提取safeid值,签到功能也恢复正常。