Replies: 2 comments
-
When there is a session settings and we try to load the settings and try to login again, what is going under the hood? Is it try to login again to the Instagram or something else? |
Beta Was this translation helpful? Give feedback.
0 replies
-
All answers are here - https://github.com/adw0rd/instagrapi/blob/master/instagrapi/mixins/auth.py |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use this code for login before post:
`def login_user(username, password, session_file="session.json"):
cl = Client()
max_attempts = 5
session_file_path = Path(session_file)
and its working, few day... Later can't login, when I delete manually session file, again can login, post image, but can't post comment to this immage, needs "login with password" or something similar...
This code for login looks good?
Beta Was this translation helpful? Give feedback.
All reactions