rogerxavier commited on
Commit
9fae6a7
·
verified ·
1 Parent(s): 128eaaf

Update login.py

Browse files
Files changed (1) hide show
  1. login.py +2 -2
login.py CHANGED
@@ -32,11 +32,11 @@ def get_response_headers(account:str,password:str,captcha_text:str):
32
  "captcha": captcha_text
33
  }
34
 
35
- response = session.post(login_url, data=payload)
36
 
37
  # 获取响应头
38
  headers = response.headers
39
- print(headers)
40
  return headers
41
 
42
 
 
32
  "captcha": captcha_text
33
  }
34
 
35
+ response = session.post(login_url, data=payload , verify=False)
36
 
37
  # 获取响应头
38
  headers = response.headers
39
+ print('响应头', headers)
40
  return headers
41
 
42