Browse Source

fix: 广东信息价爬取数据,设置fiddler4代理后错误

vian 4 years ago
parent
commit
ba6687f21d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      web/over_write/crawler/guangdong_2018_price_crawler.js

+ 2 - 2
web/over_write/crawler/guangdong_2018_price_crawler.js

@@ -117,9 +117,9 @@ const TIME_OUT = 120000;
 const axiosInstance = axios.create({
   baseURL: 'http://api.zjtcn.com/user',
   timeout: TIME_OUT,
-  proxy: {
+  /* proxy: {
     host: "127.0.0.1", port: "8888" // Fiddler抓包,需要打开Fiddler否则会报connect error
-  },
+  }, */
   headers: {
     'Cache-Control': 'max-age=0',
     'Content-Type': 'application/x-www-form-urlencoded',