-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
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
rss_class 返回的地址中包含双斜杠 #527
Labels
bug
Something isn't working
Comments
你添加订阅的命令呢 |
/add bilistat_sqd bilibili/user/dynamic/38882086/disableEmbed=true 我还有哪些遗漏的部分 |
URL/开头试试 |
恕我冒昧 rss_class.py 中 get_url 只考虑到了订阅地址开头可能带 "/" 但没有考虑到 rsshub 地址末尾带 "/" 的情况,即使这不是被用户添加的 |
你可以考虑帮着修复下 |
还是要说句谢谢,我要去学一下怎么提pr了) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ELF_RSS 、 go-cqhttp 、 nonebot 、 Python 版本及操作系统
elf-rss 2.6.23
nonebot2 2.3.2
python 3.12.3
linux 6.6.38
列出安装的 Python 包
No response
如何复现
正常部署rsshub,nonebot和elf-rss就会遇到
期望行为
返回的地址中不含双斜杠
urllib.parse 的 urljoin 函数可以正常处理拼接地址时双斜杠的问题
实际行为
The text was updated successfully, but these errors were encountered: