mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 23:50:26 +01:00
update github acction
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
86315f25a0
commit
0b34065deb
7 changed files with 114 additions and 26 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import json
|
||||
import base64
|
||||
from tweepy_authlib import CookieSessionUserHandler
|
||||
|
||||
auth_handler = CookieSessionUserHandler(
|
||||
|
|
@ -9,4 +10,5 @@ auth_handler = CookieSessionUserHandler(
|
|||
|
||||
cookies = auth_handler.get_cookies()
|
||||
|
||||
print(json.dumps(cookies.get_dict()))
|
||||
data = json.dumps(cookies.get_dict())
|
||||
print(base64.b64encode(data.encode("utf-8")).decode("utf-8"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue