-
Notifications
You must be signed in to change notification settings - Fork 609
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
🎈 perf: 使用commit号下载插件 #1641
Merged
Merged
🎈 perf: 使用commit号下载插件 #1641
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__: v0.2.2-e6f17c4 | ||
__version__: v0.2.2-f9c7360 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
from nonebot.plugin import PluginMetadata | ||
|
||
from zhenxun.configs.utils import PluginExtraData | ||
|
||
__plugin_meta__ = PluginMetadata( | ||
name="B站订阅", | ||
description="非常便利的B站订阅通知", | ||
usage=""" | ||
usage: | ||
B站直播,番剧,UP动态开播等提醒 | ||
主播订阅相当于 直播间订阅 + UP订阅 | ||
指令: | ||
添加订阅 ['主播'/'UP'/'番剧'] [id/链接/番名] | ||
删除订阅 ['主播'/'UP'/'id'] [id] | ||
查看订阅 | ||
示例: | ||
添加订阅主播 2345344 <-(直播房间id) | ||
添加订阅UP 2355543 <-(个人主页id) | ||
添加订阅番剧 史莱姆 <-(支持模糊搜索) | ||
添加订阅番剧 125344 <-(番剧id) | ||
删除订阅id 2324344 <-(任意id,通过查看订阅获取) | ||
""".strip(), | ||
extra=PluginExtraData( | ||
author="HibiKier", | ||
version="0.3-b101fbc", | ||
superuser_help=""" | ||
登录b站获取cookie防止风控: | ||
bil_check/检测b站 | ||
bil_login/登录b站 | ||
bil_logout/退出b站 uid | ||
示例: | ||
登录b站 | ||
检测b站 | ||
bil_logout 12345<-(退出登录的b站uid,通过检测b站获取) | ||
""", | ||
).dict(), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
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.
建议: 为URL修改过程添加错误处理
考虑添加错误处理,以优雅地管理GitHub URL不符合预期格式或URL修改过程失败的情况。这可能涉及使用try-except块并记录遇到的任何错误。
Original comment in English
suggestion: Add error handling for URL modification process
Consider adding error handling to gracefully manage cases where the GitHub URL doesn't match the expected format or when the URL modification process fails. This could involve using a try-except block and logging any errors encountered.