diff --git a/app/library/init-auth.py b/app/library/init-auth.py index 00e395e..bed3998 100644 --- a/app/library/init-auth.py +++ b/app/library/init-auth.py @@ -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()}") \ No newline at end of file +print(f"📅 | Job ended at {time.time()}")