Instagram Bot to automate commenting, liking and following other users.
While I was still learning Python, I was a bit skeptical whether writing code in Python is more efficient than in Java, as people always used to say. And the answer was yes!!
I started writing the code at 9 PM on the Sunday night, given I had no prior experience with Selenium (of course I learnt Selenium while writing this bot), I was able to get the bot properly working and finally slept at 1 AM :)
-
clone the Project and go to the cloned directory
git clone <project_url_here> cd InstaBot
-
Create the virtual environment
virtualenv -p python3 InstaBotVenv
-
Activate the virtual environment
source InstaBotVenv/bin/activate
-
Install required dependencies
pip install -r requirements.txt
-
Download appropriate selenium driver for your browser
-
Extract the driver from zip file and copy it to
InstaBotVenv/bin
directory -
Add your username and password in
InstaBot/src/instabot/main.py
file -
Run the project
python src/instabot/main.py