Merge commit 'refs/pull/516/head' of https://github.com/leiurayer/downkyi into v1.5.x

pull/612/head
leiurayer 2 years ago
commit 3edcf6fc0e

Binary file not shown.

@ -12,6 +12,7 @@ using Prism.Regions;
using Prism.Services.Dialogs;
using System;
using System.IO;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media.Imaging;
@ -214,7 +215,7 @@ namespace DownKyi.ViewModels
}
LogManager.Debug(Tag, $"InputText: {InputText}");
InputText = Regex.Replace(InputText, @"[【]*[^【]*[^】]*[】 ]", "");
SearchService searchService = new SearchService();
bool isSupport = searchService.BiliInput(InputText, Tag, eventAggregator);
if (!isSupport)

@ -18,6 +18,7 @@ using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows;
@ -184,7 +185,7 @@ namespace DownKyi.ViewModels
if (InputText == null || InputText == string.Empty) { return; }
LogManager.Debug(Tag, $"InputText: {InputText}");
InputText = Regex.Replace(InputText, @"[【]*[^【]*[^】]*[】 ]", "");
input = InputText;
// 更新页面

Loading…
Cancel
Save