|
|
@@ -74,8 +74,8 @@ namespace molilian.core
|
|
|
pwd = string.Empty;
|
|
|
|
|
|
string result = string.Empty;
|
|
|
- string linkPattern = @"(https://pan\.baidu\.com/s/[A-Za-z0-9?\-=]+)";
|
|
|
- string codePattern = @"提取码[::]([A-Za-z0-9]{4})";
|
|
|
+ string linkPattern = @"(https://pan\.baidu\.com/s/[A-Za-z0-9?\-_=]+)";
|
|
|
+ string codePattern = @"提取码[::]\s*([A-Za-z0-9]{4})";
|
|
|
Regex linkRegex = new(linkPattern);
|
|
|
Regex codeRegex = new(codePattern);
|
|
|
|
|
|
@@ -123,6 +123,7 @@ namespace molilian.core
|
|
|
}
|
|
|
|
|
|
var deeplink_url = $"bdnetdisk://n/action.SHARE_LINK?surl={surl}&pwd={pwd}";
|
|
|
+
|
|
|
result.channel = TkChannelEnum.bdpan;
|
|
|
result.content = content;
|
|
|
result.success = true;
|