瀏覽代碼

公众号增加header

丁云鹏 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 {