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 = Client()
|
||||||
|
cl.set_proxy("socks5h://localhost:9999")
|
||||||
code = cl.totp_generate_code(INSTAGRAM_AUTH[2])
|
code = cl.totp_generate_code(INSTAGRAM_AUTH[2])
|
||||||
cl.login(INSTAGRAM_AUTH[0], INSTAGRAM_AUTH[1], verification_code=code)
|
cl.login(INSTAGRAM_AUTH[0], INSTAGRAM_AUTH[1], verification_code=code)
|
||||||
cl.set_timzone_offset(9 * 60 * 60)
|
cl.set_timzone_offset(9 * 60 * 60)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue