-
Notifications
You must be signed in to change notification settings - Fork 32
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
更详细的微博 #504
更详细的微博 #504
Conversation
✅ Deploy Preview for nonebot-bison ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
nonebot_bison/platform/weibo.py
Outdated
and (url.startswith("https://weibo.cn/sinaurl?u=") or url.startswith("https://video.weibo.com")) | ||
): | ||
url = unquote(url.replace("https://weibo.cn/sinaurl?u=", "")) | ||
elem.text = f"{elem.text}({url} )" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
elem.text = f"{elem.text}({url} )" | |
elem.text = f"{elem.text}({url})" |
是不是多了个空格(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果没空格,')'容易被当作链接的一部分识别(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
那要不前后都加空格吧,为了对称)
repost现在还不会渲染,测试可能过不了,你等我开一个pr修一下(乐 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #504 +/- ##
==========================================
+ Coverage 83.48% 83.50% +0.01%
==========================================
Files 78 78
Lines 3543 3564 +21
==========================================
+ Hits 2958 2976 +18
- Misses 585 588 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
可以 rebase 一下 main 分支了,这样前端构建应该就不会炸了 |
能够获取到视频微博的视频 cover 吗 |
No description provided.