丁云鹏 1 год назад
Родитель
Сommit
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 {