From 91a6744100dafd18bc10bd2c8582f8479ca4d712 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=ED=84=B8?= Date: Thu, 9 Jan 2025 22:37:39 +0900 Subject: [PATCH] Update init-auth.py --- app/library/init-auth.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()}")