-
Hi! (Related but less important question: If I check 'recent logins' the instagram website, I can see my browser login as 'active', but the bot login just as 'logged in n minutes ago', not active. Is this something that needs fixing?) My login code is like so:
and this is the error traceback:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Finally figured it out! As usual, the answer is: because I'm an idiot, that's why :p My code finally ran through without errors, happened upon a |
Beta Was this translation helpful? Give feedback.
Finally figured it out! As usual, the answer is: because I'm an idiot, that's why :p My code finally ran through without errors, happened upon a
cl.logout()
call, slept for a couple hours, and tried the login; but sincecl.username
was still assigned, the client thought I must still be logged in, resulting in thecl.login(username, password)
doing nothing. Then when requesting the feed, the server wentwtf you're logged out, what do you want
. After removing the logout(), everything runs smoothly. It remains to be seen if it still works once the session expires.Leaving the post up for now in case it helps another lost soul, but feel free to remove if it's clogging up the discussions.