mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2025-12-17 04:43:02 +00:00
Compare commits
3 Commits
0.1.6-rele
...
0.1.6-rele
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8108a4dd3f | ||
|
|
56334fa4a2 | ||
|
|
093b337396 |
@@ -1,4 +1,5 @@
|
|||||||
# netdisk-fast-download
|
# netdisk-fast-download
|
||||||
|
预览地址 https://lz.qaiu.top
|
||||||
|
|
||||||
[](https://github.com/qaiu/netdisk-fast-download/actions/workflows/maven.yml)
|
[](https://github.com/qaiu/netdisk-fast-download/actions/workflows/maven.yml)
|
||||||
[](https://www.oracle.com/cn/java/technologies/downloads/)
|
[](https://www.oracle.com/cn/java/technologies/downloads/)
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ public interface IPanTool {
|
|||||||
return new CowTool();
|
return new CowTool();
|
||||||
} else if (url.startsWith(EcTool.SHARE_URL_PREFIX)) {
|
} else if (url.startsWith(EcTool.SHARE_URL_PREFIX)) {
|
||||||
return new EcTool();
|
return new EcTool();
|
||||||
} else if (url.startsWith(FcTool.SHARE_URL_PREFIX)) {
|
} else if (url.startsWith(FcTool.SHARE_URL_PREFIX0)) {
|
||||||
return new FcTool();
|
return new FcTool();
|
||||||
} else if (url.startsWith(UcTool.SHARE_URL_PREFIX)) {
|
} else if (url.startsWith(UcTool.SHARE_URL_PREFIX)) {
|
||||||
return new UcTool();
|
return new UcTool();
|
||||||
|
|||||||
@@ -25,12 +25,14 @@ import java.util.regex.Pattern;
|
|||||||
*/
|
*/
|
||||||
public class FcTool implements IPanTool {
|
public class FcTool implements IPanTool {
|
||||||
|
|
||||||
|
public static final String SHARE_URL_PREFIX0 = "https://v2.fangcloud.com/s";
|
||||||
public static final String SHARE_URL_PREFIX = "https://v2.fangcloud.com/sharing/";
|
public static final String SHARE_URL_PREFIX = "https://v2.fangcloud.com/sharing/";
|
||||||
public static final String SHARE_URL_PREFIX2 = "https://v2.fangcloud.cn/sharing/";
|
public static final String SHARE_URL_PREFIX2 = "https://v2.fangcloud.cn/sharing/";
|
||||||
private static final String DOWN_REQUEST_URL = "https://v2.fangcloud.cn/apps/files/download?file_id={fid}" +
|
private static final String DOWN_REQUEST_URL = "https://v2.fangcloud.cn/apps/files/download?file_id={fid}" +
|
||||||
"&scenario=share&unique_name={uname}";
|
"&scenario=share&unique_name={uname}";
|
||||||
|
|
||||||
public Future<String> parse(String data, String code) {
|
public Future<String> parse(String data, String code) {
|
||||||
|
data = data.replace("share","sharing");
|
||||||
String dataKey = CommonUtils.adaptShortPaths(SHARE_URL_PREFIX, data);
|
String dataKey = CommonUtils.adaptShortPaths(SHARE_URL_PREFIX, data);
|
||||||
|
|
||||||
Promise<String> promise = Promise.promise();
|
Promise<String> promise = Promise.promise();
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ GET http://127.0.0.1:6400/fj/tIfhRqH
|
|||||||
|
|
||||||
### 360亿方云
|
### 360亿方云
|
||||||
# @no-redirect
|
# @no-redirect
|
||||||
GET http://127.0.0.1:6400/parser?url=https://v2.fangcloud.com/sharing/e5079007dc31226096628870c7&pwd=QAIU
|
GET http://127.0.0.1:6400/parser?url=https://v2.fangcloud.com/share/2f238f7714cf61cdc631d23d18
|
||||||
|
|
||||||
### 360亿方云
|
### 360亿方云
|
||||||
GET http://127.0.0.1:6400/json/fc/30646fefc8bf936a4766ab8a5e
|
GET http://127.0.0.1:6400/json/fc/30646fefc8bf936a4766ab8a5e
|
||||||
|
|||||||
Reference in New Issue
Block a user