mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2025-12-18 05:13:03 +00:00
115域名变动,360pan暂不可用,ctfile域名变动
This commit is contained in:
@@ -49,7 +49,6 @@ main分支依赖JDK17, 提供了JDK11分支[main-jdk11](https://github.com/qaiu/
|
|||||||
- [Cloudreve自建网盘-ce](https://github.com/cloudreve/Cloudreve)
|
- [Cloudreve自建网盘-ce](https://github.com/cloudreve/Cloudreve)
|
||||||
- ~[微雨云存储-pvvy](https://www.vyuyun.com/)~
|
- ~[微雨云存储-pvvy](https://www.vyuyun.com/)~
|
||||||
- [超星云盘(需要referer: https://pan-yz.chaoxing.com)-pcx](https://pan-yz.chaoxing.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
|
- Google云盘-pgd
|
||||||
- Onedrive-pod
|
- Onedrive-pod
|
||||||
- Dropbox-pdp
|
- Dropbox-pdp
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ public enum PanDomainTemplate {
|
|||||||
"https://cowtransfer.com/s/{shareKey}",
|
"https://cowtransfer.com/s/{shareKey}",
|
||||||
CowTool.class),
|
CowTool.class),
|
||||||
CT("城通网盘",
|
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}",
|
"https://474b.com/file/{shareKey}",
|
||||||
CtTool.class),
|
CtTool.class),
|
||||||
// https://xxx.118pan.com/bxxx
|
// https://xxx.118pan.com/bxxx
|
||||||
@@ -128,10 +128,10 @@ public enum PanDomainTemplate {
|
|||||||
"https://115.com/s/{shareKey}?password={pwd}",
|
"https://115.com/s/{shareKey}?password={pwd}",
|
||||||
P115Tool.class),
|
P115Tool.class),
|
||||||
// 链接:https://www.yunpan.com/surl_yD7wz4VgU9v(提取码:fc70)
|
// 链接:https://www.yunpan.com/surl_yD7wz4VgU9v(提取码:fc70)
|
||||||
P360("360云盘(需要referer头)",
|
// P360("360云盘(需要referer头)",
|
||||||
compile("https://www\\.yunpan\\.com/(?<KEY>\\w+)"),
|
// compile("https://www\\.yunpan\\.com/(?<KEY>\\w+)"),
|
||||||
"https://www.yunpan.com/{shareKey}",
|
// "https://www.yunpan.com/{shareKey}",
|
||||||
P360Tool.class),
|
// P360Tool.class),
|
||||||
|
|
||||||
// https://pan-yz.cldisk.com/external/m/file/953658049102462976
|
// https://pan-yz.cldisk.com/external/m/file/953658049102462976
|
||||||
Pcx("超星云盘(需要referer头)",
|
Pcx("超星云盘(需要referer头)",
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import io.vertx.uritemplate.UriTemplate;
|
|||||||
* 需要请求API的UA和请求下载链接的UA保持一致,安卓Chrome需要访问电脑版才能下载
|
* 需要请求API的UA和请求下载链接的UA保持一致,安卓Chrome需要访问电脑版才能下载
|
||||||
*/
|
*/
|
||||||
public class P115Tool extends PanBase {
|
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" +
|
private static final String FIRST_REQUEST_URL = API_URL_PREFIX + "share/snap?share_code={dataKey}&offset=0" +
|
||||||
"&limit=20&receive_code={dataPwd}&cid=";
|
"&limit=20&receive_code={dataPwd}&cid=";
|
||||||
@@ -31,10 +31,10 @@ public class P115Tool extends PanBase {
|
|||||||
header.set("Connection", "keep-alive");
|
header.set("Connection", "keep-alive");
|
||||||
header.set("Content-Length", "0");
|
header.set("Content-Length", "0");
|
||||||
header.set("DNT", "1");
|
header.set("DNT", "1");
|
||||||
header.set("Host", "anxia.com");
|
header.set("Host", "115cdn.com");
|
||||||
header.set("Origin", "https://anxia.com");
|
header.set("Origin", "https://115cdn.com");
|
||||||
header.set("Pragma", "no-cache");
|
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-Dest", "empty");
|
||||||
header.set("Sec-Fetch-Mode", "cors");
|
header.set("Sec-Fetch-Mode", "cors");
|
||||||
header.set("Sec-Fetch-Site", "cross-site");
|
header.set("Sec-Fetch-Site", "cross-site");
|
||||||
|
|||||||
Reference in New Issue
Block a user