Update
This commit is contained in:
parent
053c573046
commit
7d6aead5cc
|
|
@ -516,6 +516,7 @@ public class AliYun {
|
||||||
if (thread == 1) {
|
if (thread == 1) {
|
||||||
return new Object[]{ProxyVideo.proxy(downloadUrl, headers)};
|
return new Object[]{ProxyVideo.proxy(downloadUrl, headers)};
|
||||||
} else {
|
} else {
|
||||||
|
OkHttp.newCall("http://127.0.0.1:" + Proxy.getPort() + "/go?action=start").close();
|
||||||
return new Object[]{ProxyVideo.multi(downloadUrl, headers, thread)};
|
return new Object[]{ProxyVideo.multi(downloadUrl, headers, thread)};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -40,8 +40,12 @@ public class Proxy extends Spider {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static int getPort() {
|
||||||
|
return port;
|
||||||
|
}
|
||||||
|
|
||||||
public static String getUrl() {
|
public static String getUrl() {
|
||||||
adjustPort();
|
adjustPort();
|
||||||
return "http://127.0.0.1:" + port + "/proxy";
|
return "http://127.0.0.1:" + getPort() + "/proxy";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
99c040de9b1ebd3c51a256cac6c2f78d
|
db7cd9a0224413b3128409ed0f057405
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"spider": "https://fm.t4tv.hz.cz/jar/custom_spider.jar;md5;99c040de9b1ebd3c51a256cac6c2f78d",
|
"spider": "https://fm.t4tv.hz.cz/jar/custom_spider.jar;md5;db7cd9a0224413b3128409ed0f057405",
|
||||||
"wallpaper": "https://gao.chuqiuyu.workers.dev",
|
"wallpaper": "https://gao.chuqiuyu.workers.dev",
|
||||||
"sites": [
|
"sites": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"spider": "https://fm.t4tv.hz.cz/jar/custom_spider.jar;md5;99c040de9b1ebd3c51a256cac6c2f78d",
|
"spider": "https://fm.t4tv.hz.cz/jar/custom_spider.jar;md5;db7cd9a0224413b3128409ed0f057405",
|
||||||
"wallpaper": "http://饭太硬.top/深色壁纸/api.php",
|
"wallpaper": "http://饭太硬.top/深色壁纸/api.php",
|
||||||
"sites": [
|
"sites": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue