Inspiration
I have been having this idea for a long time, even when I didn't know how to code, I have always wanted to have a way to know who unfollowed me on Instagram... Later, I found out that there were some scripts for it, but I would love to create my own, so I did!
What it does
Replace the words USERNAME and PASSWORD in line 95 of main_bot.py with the real ones (program needs to log in to work properly). If that is the first time for the user using the script, "main_bot.py", it will create current followers list in "last_followers.txt" and "unfollowers.txt", so next time, when the user uses the script, it will update the "unfollowers.txt" with the usernames, that unfollowed the user since last run. Also, it shows the stats (number of followers, following, posts) of the given username "stats_bot.py".
How I built it
Well, I watched some parts of the video on YouTube, that shows how to create simple Instagram bot, to get a clue about libraries and stuff that I would have to use and then, I wrote a script for every single action of my bot and, honestly, I had a lot of problems, but I can use Google pretty good.
Challenges I ran into
The hardest thing to solve was the scrolling down, because I kind of knew how to scroll on the full screen chromedriver, but the thing was that I had to scroll in an opened mini bar, which almost made me give up, but I found a solution for it and here I am!
Accomplishments that I'm proud of
I mean, this is the idea, that I had even before I started coding, I knew the algorithm, I knew how it should have worked and IT WORKED!
What I learned
Creating a bot, parsing with selenium and I also learned, that there must always be solution, there is no other way.
What's next for InstaUnfollowers
I can develop this bot more and more, like, I can make it return most liked posts or average likes on posts, etc.
P.S.
With "set_chrome.py" Chromedriver works in headless mode (in the background), so the user can't see the steps it makes. Also, more the followers are, more time does the script need.

Log in or sign up for Devpost to join the conversation.