This is a simple Instagram bot based on Node.js/Puppeteer.
It was developed for my personal need of propagating a commercial Instagram profile.
This process was implemented in 06/2021. It is possible that this implementation will need to be adjusted in the future.
I don't believe that any Instagram bot is capable of:
- write meaningful comments under Instagram posts
- follow/unfollow users without them noticing it
For that reason this bot has been designed for only two purposes:
- Scrape list of followers of given Instagram profile
- Like posts of given Instagram users
- Node.js, npm cli
- Puppeteer ^9.0.0
- argparse ^2.0.1
- date-and-time ^1.0.0
npm install
Most user configuration is stored in run.js
. More specific configuration as well as element selectors are stored in class constructors.
node run list
Bot opens list of followers of given Instagram profile.
Each follower is checked:
- whether the profile is not private
- whether the profile is not empty
- whether the profile posts are newer than given treshold
Names of suitable profiles are saved into given file.
NOTE: This process is highly repetitive which means Instagram will not like it :) Never use your commercial profile and IP for this action.
node run like
This process is designed to imitate user behaviour and it is suitable for commercial profiles.
The bot will open random profiles from given file and like their posts (if possible).
Time delay is set between repetitive actions.
NOTE: Instagram has limitations for number of likes per hour and per day. Not respecting those limitations may result in profile ban.