js演练场,ye2

This commit is contained in:
q
2025-11-29 03:44:47 +08:00
parent fc2e2a4697
commit 49b8501e86
2 changed files with 2 additions and 1 deletions

View File

@@ -201,7 +201,7 @@ public enum PanDomainTemplate {
"123795\\.com" + "123795\\.com" +
")/s/(?<KEY>.+)(.html)?"), ")/s/(?<KEY>.+)(.html)?"),
"https://www.123pan.com/s/{shareKey}", "https://www.123pan.com/s/{shareKey}",
YeTool.class), Ye2Tool.class),
// https://www.ecpan.cn/web/#/yunpanProxy?path=%2F%23%2Fdrive%2Foutside&data={code}&isShare=1 // https://www.ecpan.cn/web/#/yunpanProxy?path=%2F%23%2Fdrive%2Foutside&data={code}&isShare=1
EC("移动云空间", EC("移动云空间",
compile("https://www\\.ecpan\\.cn/web(/%23|/#)?/yunpanProxy\\?path=.*&data=" + compile("https://www\\.ecpan\\.cn/web(/%23|/#)?/yunpanProxy\\?path=.*&data=" +

View File

@@ -66,6 +66,7 @@ public class YeTool extends PanBase {
header.set("sec-ch-ua-platform", "Windows"); header.set("sec-ch-ua-platform", "Windows");
} }
@Override
public Future<String> parse() { public Future<String> parse() {
final String shareKey = shareLinkInfo.getShareKey().replaceAll("(\\..*)|(#.*)", ""); final String shareKey = shareLinkInfo.getShareKey().replaceAll("(\\..*)|(#.*)", "");