From 2123e37fe999c2b5cd2e89990f67f92dcb46e866 Mon Sep 17 00:00:00 2001 From: status102 Date: Thu, 14 Sep 2023 17:35:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20WPF=E8=87=AA=E5=8A=A8=E6=88=98=E6=96=97?= =?UTF-8?q?=E5=AF=B9=E4=BA=8E=E4=BD=9C=E4=B8=9A=E6=8F=8F=E8=BF=B0=E7=9A=84?= =?UTF-8?q?=E8=A7=86=E9=A2=91=E8=87=AA=E5=8A=A8=E8=B7=B3=E8=BD=AC=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0av=E5=8F=B7=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs b/src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs index c03cfd9bd8..28d1e2a1e7 100644 --- a/src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs +++ b/src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs @@ -266,7 +266,7 @@ namespace MaaWpfGui.ViewModels.UI AddLog(details, detailsColor); { Url = CopilotUiUrl; - var linkParser = new Regex("(BV.*?).{10}", RegexOptions.Compiled | RegexOptions.IgnoreCase); + var linkParser = new Regex(@"AV\d+|(BV.*?).{10}", RegexOptions.Compiled | RegexOptions.IgnoreCase); foreach (Match match in linkParser.Matches(details)) { Url = "https://www.bilibili.com/video/" + match.Value;