Open marco97pa opened 3 years ago
Update: in the following weeks I needed to manually verify my account sending a video as a proof to Instagram
After 2 months my account has been permanently disabled, even if I passed all the video verification above (I am a human, not a bot).
I used my account only to scrape some data using the code above and I posted some photos once a while.
THIS COMMENT IS TO ALERT ALL THE USERS OF THIS LIBRARY: YOU COULD GET BANNED ANYTIME. Use a secondary Instagram account to avoid loss of data.
I wonder if maintaining an account farm could fix this.
Some weeks ago I started noticing a bad behavior: even after passing a valid session_id cookie, the Instagram account used to scrape gets disabled after some requests. I need to log in to the Instagram website and manually verify my account using a phone number in order to avoid that my account gets a permanent ban and get a new session_id cookie.
I think that Instagram enforced this behavior against bots: it happened before that I needed to regenerate a valid session_id, but once every 1 or 2 months and it was ok. Now the account gets soft-banned after only a few days of making requests using this API
The code that causes this issue:
I run this code every 30 minutes, every day