Merge pull request #242 from NLick47/gx_0

feat: 在视频解析页面中,新增支持视频av或bv号搜索
This commit is contained in:
yaobiao131
2025-03-17 20:07:05 +08:00
committed by GitHub

View File

@@ -610,7 +610,8 @@ public class ViewVideoDetailViewModel : ViewModelBase
if (_infoService == null || refresh)
{
// 视频
if (ParseEntrance.IsAvUrl(input) || ParseEntrance.IsBvUrl(input))
if (ParseEntrance.IsAvUrl(input) || ParseEntrance.IsBvUrl(input)
|| ParseEntrance.IsAvId(input) || ParseEntrance.IsBvId(input))
{
_infoService = new VideoInfoService(input);
}