115域名变动,360pan暂不可用,ctfile域名变动

This commit is contained in:
QAIU
2025-04-03 10:57:28 +08:00
parent 527dd0eeb4
commit 0414f85f12
3 changed files with 9 additions and 10 deletions

View File

@@ -49,7 +49,6 @@ main分支依赖JDK17, 提供了JDK11分支[main-jdk11](https://github.com/qaiu/
- [Cloudreve自建网盘-ce](https://github.com/cloudreve/Cloudreve)
- ~[微雨云存储-pvvy](https://www.vyuyun.com/)~
- [超星云盘(需要referer: https://pan-yz.chaoxing.com)-pcx](https://pan-yz.chaoxing.com)
- [360云盘(需要referer: https://link.yunpan.com/)-pcx](https://yunpan.com)
- Google云盘-pgd
- Onedrive-pod
- Dropbox-pdp

View File

@@ -87,7 +87,7 @@ public enum PanDomainTemplate {
"https://cowtransfer.com/s/{shareKey}",
CowTool.class),
CT("城通网盘",
compile("https://(?:[a-zA-Z\\d-]+\\.)?(ctfile|545c|u062|ghpym|474b)\\.com/file/(?<KEY>.+)"),
compile("https://(?:[a-zA-Z\\d-]+\\.)?(ctfile|545c|u062|ghpym|474b)\\.com/f(ile)?/(?<KEY>.+)"),
"https://474b.com/file/{shareKey}",
CtTool.class),
// https://xxx.118pan.com/bxxx
@@ -128,10 +128,10 @@ public enum PanDomainTemplate {
"https://115.com/s/{shareKey}?password={pwd}",
P115Tool.class),
// 链接https://www.yunpan.com/surl_yD7wz4VgU9v提取码fc70
P360("360云盘(需要referer头)",
compile("https://www\\.yunpan\\.com/(?<KEY>\\w+)"),
"https://www.yunpan.com/{shareKey}",
P360Tool.class),
// P360("360云盘(需要referer头)",
// compile("https://www\\.yunpan\\.com/(?<KEY>\\w+)"),
// "https://www.yunpan.com/{shareKey}",
// P360Tool.class),
// https://pan-yz.cldisk.com/external/m/file/953658049102462976
Pcx("超星云盘(需要referer头)",

View File

@@ -13,7 +13,7 @@ import io.vertx.uritemplate.UriTemplate;
* 需要请求API的UA和请求下载链接的UA保持一致安卓Chrome需要访问电脑版才能下载
*/
public class P115Tool extends PanBase {
private static final String API_URL_PREFIX = "https://anxia.com/webapi/";
private static final String API_URL_PREFIX = "https://115cdn.com/webapi/";
private static final String FIRST_REQUEST_URL = API_URL_PREFIX + "share/snap?share_code={dataKey}&offset=0" +
"&limit=20&receive_code={dataPwd}&cid=";
@@ -31,10 +31,10 @@ public class P115Tool extends PanBase {
header.set("Connection", "keep-alive");
header.set("Content-Length", "0");
header.set("DNT", "1");
header.set("Host", "anxia.com");
header.set("Origin", "https://anxia.com");
header.set("Host", "115cdn.com");
header.set("Origin", "https://115cdn.com");
header.set("Pragma", "no-cache");
header.set("Referer", "https://anxia.com");
header.set("Referer", "https://115cdn.com");
header.set("Sec-Fetch-Dest", "empty");
header.set("Sec-Fetch-Mode", "cors");
header.set("Sec-Fetch-Site", "cross-site");