From 0371475a93118f3ab3b2061ed4795eeb2c63b6be Mon Sep 17 00:00:00 2001 From: lc6464 <64722907+lc6464@users.noreply.github.com> Date: Wed, 14 Aug 2024 00:48:35 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E5=8D=95=E6=95=B4=E7=90=86=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BBDown/BBDownUtil.cs | 2 +- BBDown/Program.cs | 25 +++++++++++++------------ 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/BBDown/BBDownUtil.cs b/BBDown/BBDownUtil.cs index d5ee05d5d..5500ae830 100644 --- a/BBDown/BBDownUtil.cs +++ b/BBDown/BBDownUtil.cs @@ -149,7 +149,7 @@ public static async Task GetAvIdAsync(string input) { avid = input.ToLower()[2..]; } - else if (input.StartsWith("cheese/")) // cheese/(ep|ss)\d+ 格式 + else if (input.StartsWith("cheese/")) // ^cheese/(ep|ss)\d+ 格式 { string epId = ""; if (input.Contains("/ep")) diff --git a/BBDown/Program.cs b/BBDown/Program.cs index 209ea7a56..d14661d6f 100644 --- a/BBDown/Program.cs +++ b/BBDown/Program.cs @@ -226,13 +226,13 @@ public static (Dictionary encodingPriority, Dictionary GetVideoInfoAsync(MyOption myOption, string aidOri, string input) { - Log("检测账号登录..."); + Log("检测账号登录..."); // 加载认证信息 LoadCredentials(myOption); - // 检测是否登录了账号 - bool is_login = await CheckLogin(Config.COOKIE); + // 检测是否登录了账号 + bool is_login = await CheckLogin(Config.COOKIE); if (!myOption.UseIntlApi && !myOption.UseTvApi && Config.AREA == "") { if (!is_login) @@ -240,7 +240,7 @@ public static (Dictionary encodingPriority, Dictionary encodingPriority, Dictionary