Update init-auth.py
This commit is contained in:
parent
036f1c3ce4
commit
91a6744100
1 changed files with 2 additions and 1 deletions
|
|
@ -13,6 +13,7 @@ with open('./config.json') as json_file:
|
|||
|
||||
|
||||
cl = Client()
|
||||
cl.set_proxy("socks5h://localhost:9999")
|
||||
code = cl.totp_generate_code(INSTAGRAM_AUTH[2])
|
||||
cl.login(INSTAGRAM_AUTH[0], INSTAGRAM_AUTH[1], verification_code=code)
|
||||
cl.set_timzone_offset(9 * 60 * 60)
|
||||
|
|
@ -25,4 +26,4 @@ json.dump(
|
|||
)
|
||||
|
||||
print("🍪 | Account information was successfully retrieved.")
|
||||
print(f"📅 | Job ended at {time.time()}")
|
||||
print(f"📅 | Job ended at {time.time()}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue