|
|
@@ -536,11 +536,11 @@ class OfpayGrabber:
|
|
|
print("请求活动描述发生错误");
|
|
|
return None;
|
|
|
|
|
|
- def get_request(self, url, params=None, timeout=9):
|
|
|
+ def get_request(self, url, params=None, timeout=6):
|
|
|
response = requests.get(url, headers=self.headers, params=params, cookies=self.cookies, timeout=timeout);
|
|
|
return response;
|
|
|
|
|
|
- def post_request(self, url, data, timeout=9):
|
|
|
+ def post_request(self, url, data, timeout=6):
|
|
|
response = requests.post(url, data=data, headers=self.headers, cookies=self.cookies, timeout=timeout);
|
|
|
return response;
|
|
|
|