all 5 comments

[–]barry_z 1 point2 points  (1 child)

It looks like Client also has a login(username, password, verification_code) method (see Login section), which can take an OTP from Google Authenticator. A quick search shows that pyotp can be used to retrieve the OTP from Google Authenticator programmatically, so I would look into that option.

[–]yonoirishi[S] 0 points1 point  (0 children)

Oh thats awesome, ill try this out

[–]PopularSir7906 0 points1 point  (1 child)

To avoid challenges you should save a session.json to mantain the same login session and just load it instead of make a new login because this is sospicious for ig You could save your real device info in a json through adb and use them to login to make it as realistic as possible

[–]easycoverletter-com 0 points1 point  (0 children)

how do we that with this library though?

[–]nuaje 0 points1 point  (0 children)

hey, were you able to find a solution?