Best practices advice #6
OlegSavinov
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there!
I recently started using the library, however my account was banned very quickly, after around 30 minutes and exactly 100 accounts checked :)
This is my workflow
session_ids = list(map(lambda x: insta.get_session_id(username=x['login'], password=x['password'], new_session=True), users_logins))
insta = InstaGPy(use_mutiple_account=True, session_ids=session_ids, max_requests=10)
also used
time.sleep(random.uniform(10,15))
before each request.Did not use manual session shuffle because specified 'max_requests'
Strangely, only 1 out of 2 accounts was restricted, which makes me think that only first one did all the requests.
Although I am pretty sure I did something wrong because after I ran the script, I had to manually enter username once more from console.
So I am here to ask if there are any best practices not to get banned so soon?
@iSarabjitDhiman
Beta Was this translation helpful? Give feedback.
All reactions