Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ruizhengyu authored Nov 6, 2022
1 parent fa60fc3 commit a1815a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def login(user, password):
}
r1 = requests.post(url1, data=data1, headers=headers, allow_redirects=False)
print(r1.headers)
location = r1.headers["Location"]
location = r1.headers["X-Request-Id"]
try:
code = get_code(location)
except:
Expand Down

0 comments on commit a1815a4

Please sign in to comment.