Caution
This project is for educational purposes only. You are responsible for all risks that may occur. You have been warned.
Warning
This project is absolutely unethical. Any factors, physical or emotional consequences resulting from its use are your sole responsibility. You have been warned.
Important
Your Instagram account may be suspended as a result of this project. I recommend using another account instead of your own. Again, you have been warned.
First, it opens a browser tab in the background on your device. Then it logs into your account with the username and password you specified in the script.
Then it completes simple things, like the question to save the information and the notification permission.
After making sure you are logged in, it opens the page of the Instagram account you specified. Then, it saves the number of followers, number of followings, biography, name, and profile picture. It also downloads and saves the Instagram page itself.
After saving, it waits 360 seconds for new data. It saves the incoming data and compares it with the old data. If there is a difference, it saves it in a file.
I assume you have a basic knowledge of Python. After installing the necessary dependencies with pip, you need to edit the file.
-
Edit the Script:
- Replace
LOGIN_USERNAMEwith the username of your account. - Replace
PASSWORDwith the password of your account. - Replace
INSTAGRAM_USER_NAMEwith the username of the Instagram account you will be stalking.
- Replace
-
Download Geckodriver:
- Download geckodriver from this link and extract it with the
tar -xvf <file name>command. - Replace
GECKODRIVER_PATHwith the location of the file we just extracted (For example:/home/batuhantrkgl/Downloads/geckodriver).
- Download geckodriver from this link and extract it with the
-
Install Dependencies:
pip install -r requirements.txt
-
Run the Script:
python3 watcher.py