feat: 添加哔哩哔哩不加https的支持 [#I6SFIU]

This commit is contained in:
RrOrange 2023-04-05 15:04:07 +08:00
parent e6f3f5c049
commit 45840ee9ef

View File

@ -294,7 +294,6 @@ export class tools extends plugin {
} }
// 补充https // 补充https
url = url.startsWith("https://") ? url : "https://" + url; url = url.startsWith("https://") ? url : "https://" + url;
logger.info(url)
// av处理 // av处理
const matched = url.match(/(av|AV)(\w+)/); const matched = url.match(/(av|AV)(\w+)/);
if (matched) { if (matched) {