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.
主要更改
GetVideoInfoAsync
方法:GetAvIdAsync
方法:^cheese/(ep|ss)\d+
格式的支持(正则表达式仅作为提示)技术细节
GetVideoInfoAsync
中,通过捕获KeyNotFoundException
来判断是否需要尝试按课程查找GetAvIdAsync
中,新增了对cheese/
开头 URL 的处理逻辑未来优化建议
.editorconfig
文件,规范化代码格式,便于不同开发者在各自的 IDE 或编辑器中保持一致的代码风格测试
ep5737
和ss281
)ep125811
cheese/ep125811
ep6173
cheese/ep6173
和cheese/ss281
)相关问题