Simple script for removing your Instagram likes.
Inspired by jhnguyen521/InstaUnliker 💚
Powered by subzeroid/instagrapi 💚
Open the unliker.py file and configure your options at the top.
If 2FA is configured for your account, you can still use this script by copying the TOTP secret into the mfa_secret configuration.
Using the secret the TOTP will be calculated on-the-fly when needed.
The "modern" way is to use uv.
- Install uv: https://docs.astral.sh/uv/getting-started/installation
- Open a terminal and navigate to the project folder.
- Run
uv run unliker.py.
The "classic" way is to use pip and Python itself.
- Install Python and pip on your system.
- Open a terminal and navigate to the project folder.
- Run
python -m venv .venv - Run
source .venv/bin/activate - Run
pip install -r requirements.txt - Run
python unliker.py
To avoid possible blocking / banning of your account keep the number of posts to unlike at a low level.
The current default value worked fine for me while running this script every few hours.