1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 23:50:26 +01:00
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-07-30 03:17:47 +09:00
parent 976f6ffb14
commit 86315f25a0
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
16 changed files with 209 additions and 14 deletions

12
test/python/login.py Normal file
View file

@ -0,0 +1,12 @@
import json
from tweepy_authlib import CookieSessionUserHandler
auth_handler = CookieSessionUserHandler(
screen_name=input("screen_name: "),
password=input("password: "),
)
cookies = auth_handler.get_cookies()
print(json.dumps(cookies.get_dict()))