|
@@ -43,7 +43,7 @@ public class HkspSearch {
|
|
|
new Authenticator() {
|
|
|
public PasswordAuthentication getPasswordAuthentication() {
|
|
|
return new PasswordAuthentication(
|
|
|
- "t14070979713487", "hqwanfvy".toCharArray());
|
|
|
+ "t17772369458618", "5zqcjkmy".toCharArray());
|
|
|
}
|
|
|
}
|
|
|
);
|
|
@@ -82,7 +82,7 @@ public class HkspSearch {
|
|
|
.header("user-agent", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36")
|
|
|
.header("x-requested-with", "xmlhttprequest")
|
|
|
.timeout(120000) // 设置超时时间
|
|
|
- .setProxy(new Proxy(Proxy.Type.HTTP, new InetSocketAddress("j685.kdltps.com", 15818)))
|
|
|
+ .setProxy(new Proxy(Proxy.Type.HTTP, new InetSocketAddress("q796.kdltps.com", 15818)))
|
|
|
.form(params)
|
|
|
.execute();
|
|
|
|
|
@@ -162,7 +162,7 @@ public class HkspSearch {
|
|
|
.header("User-Agent", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36")
|
|
|
.timeout(120000) // 设置超时时间
|
|
|
.form(params)
|
|
|
- .setProxy(new Proxy(Proxy.Type.HTTP, new InetSocketAddress("j685.kdltps.com", 15818)))
|
|
|
+ .setProxy(new Proxy(Proxy.Type.HTTP, new InetSocketAddress("q796.kdltps.com", 15818)))
|
|
|
.execute();
|
|
|
return JSONObject.parseObject(response.body()).getJSONObject("data").getJSONObject("apiData").getJSONObject("curVideoMeta");
|
|
|
}
|