mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 15:40:26 +01:00
update login.py
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
72ce819505
commit
b37c178f1c
1 changed files with 3 additions and 0 deletions
|
|
@ -12,3 +12,6 @@ cookies = auth_handler.get_cookies()
|
|||
|
||||
data = json.dumps(cookies.get_dict())
|
||||
print(base64.b64encode(data.encode("utf-8")).decode("utf-8"))
|
||||
|
||||
with open("cookie.json", "w") as f:
|
||||
f.write(data)
|
||||
Loading…
Add table
Add a link
Reference in a new issue