Are you petty about others unfollowing you on Instagram? Do you not have a way to effectively track losers that unfollow you? Or cool people that follow you? IG Tracker is the solution.
This repo contains a set of scripts that use python's instaloader
module to log into a pre-configured bot account, then pull a list of followers which is then stored and compared to against followers from future executions. An email is then sent to inform you of any differences in followers.
- An Instagram bot account
- An email bot account
- Python's
instaloader
module installed - If your Instagram is private, your bot account must be following your Instagram
- Create
bot/
directory inusers/
- Add SMTP and IG credentials/arguments to
smtp.json
andig.json
respectively inusers/bot
- Use templates in
templates/smtp.json
andtemplates/ig.json
- Use templates in
- Run
tools/adduser.py
to create a user directory inusers/
with necessary user data
users/
├─ bot/
│ ├─ smtp.json
│ ├─ ig.json
├─ mary/
│ ├─ mary_followers.txt
│ ├─ mary_args.json
├─ bob/
│ ├─ bob_followers.txt
│ ├─ bob_args.json
- The first time you run
igtracker.py
, a file will be created in theusers/<user>/
directory with a list of current followers - Subsequent runs will extract followers from your Instagram and compare this set of followers to followers in the
users/<user>/<user>_followers.txt
file
Run using python3 igtracker.py -u | --users [ users ... ]