xueyiming пре 4 месеци
родитељ
комит
7b9e5e0c96

+ 1 - 1
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/LongArticleServerApplication.java

@@ -17,7 +17,7 @@ public class LongArticleServerApplication {
                 new Authenticator() {
                     public PasswordAuthentication getPasswordAuthentication() {
                         return new PasswordAuthentication(
-                                "t11983523373311", "mtuhdr2z".toCharArray());
+                                "t14070979713487", "hqwanfvy".toCharArray());
                     }
                 }
         );

+ 3 - 3
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/utils/other/HkspSearch.java

@@ -43,7 +43,7 @@ public class HkspSearch {
                 new Authenticator() {
                     public PasswordAuthentication getPasswordAuthentication() {
                         return new PasswordAuthentication(
-                                "t11983523373311", "mtuhdr2z".toCharArray());
+                                "t14070979713487", "hqwanfvy".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("l901.kdltps.com", 15818)))
+                    .setProxy(new Proxy(Proxy.Type.HTTP, new InetSocketAddress("j685.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("l901.kdltps.com", 15818)))
+                .setProxy(new Proxy(Proxy.Type.HTTP, new InetSocketAddress("j685.kdltps.com", 15818)))
                 .execute();
         return JSONObject.parseObject(response.body()).getJSONObject("data").getJSONObject("apiData").getJSONObject("curVideoMeta");
     }

+ 4 - 4
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/utils/other/VideoDownloader.java

@@ -22,10 +22,10 @@ import java.util.UUID;
 @Slf4j
 public class VideoDownloader {
 
-    private static final String PROXY_HOST = "l901.kdltps.com";
+    private static final String PROXY_HOST = "j685.kdltps.com";
     private static final int PROXY_PORT = 15818;
-    private static final String USERNAME = "t11983523373311";
-    private static final String PASSWORD = "mtuhdr2z";
+    private static final String USERNAME = "t14070979713487";
+    private static final String PASSWORD = "hqwanfvy";
     private static final int MAX_RETRIES = 3;
 
     public static String downloadCover(String outVideoId, String platform, String coverUrl) {
@@ -146,7 +146,7 @@ public class VideoDownloader {
                 new Authenticator() {
                     public PasswordAuthentication getPasswordAuthentication() {
                         return new PasswordAuthentication(
-                                "t11983523373311", "mtuhdr2z".toCharArray());
+                                "t14070979713487", "hqwanfvy".toCharArray());
                     }
                 }
         );