丁云鹏 преди 1 година
родител
ревизия
239c13ed4e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      etl-core/src/main/java/com/tzld/crawler/etl/util/FileUtils.java

+ 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 {