Open a549671887 opened 4 months ago
response = requests.get(url, headers=headers, timeout=(20, 20), tls_config=rei_tls(),proxies={"http": f"http://{proxyip}", "https": f"http://{proxyip}"})
我timeout设置成(20,20)这么请求,会报错 [Errno requests_go error:] {"err": "request->err := json.Unmarshal([]byte(requestParamsString), &requestParams) failed: json: cannot unmarshal array into Go struct field RequestParams.Timeout of type int"}
我timeout设置成(20,20)这么请求,会报错 [Errno requests_go error:] {"err": "request->err := json.Unmarshal([]byte(requestParamsString), &requestParams) failed: json: cannot unmarshal array into Go struct field RequestParams.Timeout of type int"}