Explorar el Código

公众号增加header

丁云鹏 hace 1 año
padre
commit
239c13ed4e

+ 1 - 1
etl-core/src/main/java/com/tzld/crawler/etl/util/FileUtils.java

@@ -90,7 +90,7 @@ public class FileUtils {
     }
 
     public static void download(String fileUrl, String filePath, boolean useUa) throws Exception {
-        downloadForGZH(fileUrl, filePath, useUa, null);
+        downloadForGZH(fileUrl, filePath, useUa, false, null);
     }
 
     public static void download(String fileUrl, String filePath, boolean useUa, boolean useProxy, Map<String, String> proxyInfo) throws Exception {