pull/514/merge
897601689 3 years ago committed by GitHub
commit 44a0225cdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,7 @@
{
"ExpandedNodes": [
""
],
"SelectedNode": "\\DownKyi.sln",
"PreviewInSolutionExplorer": false
}

Binary file not shown.

@ -24,7 +24,7 @@
## 下载 ## 下载
<p align="left"> <p align="left">
<a href="https://github.com/leiurayer/downkyi/releases/latest" style="text-decoration:none"> <a href="https://github.com/897601689/downkyi/releases/tag/v1.5.4-beta" style="text-decoration:none">
<img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/leiurayer/downkyi"> <img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/leiurayer/downkyi">
</a> </a>
<a href="https://github.com/leiurayer/downkyi/releases/latest" style="text-decoration:none"> <a href="https://github.com/leiurayer/downkyi/releases/latest" style="text-decoration:none">
@ -35,11 +35,6 @@
</a> </a>
</p> </p>
## 赞助
如果这个项目对您有很大帮助,并且您希望支持该项目的开发和维护,请随时扫描一下二维码进行捐赠。非常感谢您的捐款,谢谢!
![Alipay.png](https://s2.loli.net/2022/06/04/6LpfinSa5FoZmNB.png)![WeChat.png](https://s2.loli.net/2022/06/04/2yotOSvwmahPdXU.png)
## 开发 ## 开发

@ -6,9 +6,9 @@
public int VersionCode { get; } = 510; public int VersionCode { get; } = 510;
#if DEBUG #if DEBUG
public string VersionName { get; } = "1.5.3 Debug"; public string VersionName { get; } = "1.5.4 Beta";
#else #else
public string VersionName { get; } = "1.5.3"; public string VersionName { get; } = "1.5.4";
#endif #endif
} }

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

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

Loading…
Cancel
Save