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
1)https://www.lanzoux.com/iRGL1em4prc 网址里有大写字母,因此后面的部分需要加A-Z 2)(我自己弄的)https://hb-az.lanzous.com/izijcenly5c 三级域名部分有连字符- 注:亲自改了下个性域名,果然跟url规范一样,只允许数字、字母和连字符 3)还有一个可以改善的地方~ 比如有这样一个长字符串 https://habo.qq.com/file/showdetail?pk=ADcGYl1sB24IOVs%2BU2M界面截图:协yi:安卓转PC功能就简单说下吧关闭真锁:拖进去的格式必须是账号-本帖隐藏的内容https://www.lanzoux.com/iRGL1em4prc, 如果正则表达式里的三级域名部分(比如www)用现在的.*?而不是[a-zA-Z0-9-]*?的话,会导致上面一大长串都被匹配到,而不仅匹配到结尾的URL,哪怕用了非贪婪模式也是如此。
https://habo.qq.com/file/showdetail?pk=ADcGYl1sB24IOVs%2BU2M界面截图:协yi:安卓转PC功能就简单说下吧关闭真锁:拖进去的格式必须是账号-本帖隐藏的内容https://www.lanzoux.com/iRGL1em4prc
.*?
[a-zA-Z0-9-]*?
综上三点,建议 base_pat 改成https?://[a-zA-Z0-9-]*?\.?lanzou[six].com/.+, user_pat 改成 https?://[a-zA-Z0-9-]*?\.?lanzou[six].com/i[a-zA-Z0-9]{5,}/?,文件夹同理
https?://[a-zA-Z0-9-]*?\.?lanzou[six].com/.+
https?://[a-zA-Z0-9-]*?\.?lanzou[six].com/i[a-zA-Z0-9]{5,}/?
LanZouCloud-API/lanzou/api/utils.py
Line 77 in 3bd44f8
Line 95 in 3bd44f8
The text was updated successfully, but these errors were encountered:
😁这两天在乡下,回来就改。 官方真是喜欢搞事呢( 0 x 0 ) URL规则已经变了n次了
Sorry, something went wrong.
No branches or pull requests
1)https://www.lanzoux.com/iRGL1em4prc 网址里有大写字母,因此后面的部分需要加A-Z
2)(我自己弄的)https://hb-az.lanzous.com/izijcenly5c 三级域名部分有连字符- 注:亲自改了下个性域名,果然跟url规范一样,只允许数字、字母和连字符
3)还有一个可以改善的地方~
比如有这样一个长字符串
https://habo.qq.com/file/showdetail?pk=ADcGYl1sB24IOVs%2BU2M界面截图:协yi:安卓转PC功能就简单说下吧关闭真锁:拖进去的格式必须是账号-本帖隐藏的内容https://www.lanzoux.com/iRGL1em4prc
,如果正则表达式里的三级域名部分(比如www)用现在的
.*?
而不是[a-zA-Z0-9-]*?
的话,会导致上面一大长串都被匹配到,而不仅匹配到结尾的URL,哪怕用了非贪婪模式也是如此。综上三点,建议 base_pat 改成
https?://[a-zA-Z0-9-]*?\.?lanzou[six].com/.+
,user_pat 改成
https?://[a-zA-Z0-9-]*?\.?lanzou[six].com/i[a-zA-Z0-9]{5,}/?
,文件夹同理LanZouCloud-API/lanzou/api/utils.py
Line 77 in 3bd44f8
LanZouCloud-API/lanzou/api/utils.py
Line 95 in 3bd44f8
The text was updated successfully, but these errors were encountered: