Skip to content

Instagram DM, like, comment, follow bots using python

Notifications You must be signed in to change notification settings

PascaRaul/instagram-bots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Python Instagram bots

Both bots work on raspberry pi and on desktop.
To run on descktop you need to download chromedriver for your current Chrome version.
To run on raspberry pi uncomment line :
options.add_argument('--headless')
and bellow
self.driver = webdriver.Chrome(executable_path="/usr/bin/chromedriver", chrome_options=options) (and insert the location of chromedriver on raspberry pi)

1.Direct message bot:
a.First update the db following the steps bellow
-in same folder with this script needs to be filename.txt containing all the instagram usernames that you want to DM, 1 per line.
-run the script sql_add_data.py to add the usernames from filename.txt inserted in database (dog.db in example bellow - you can change whatever db you want)
-the usernames from filename.txt can be duplicated but in the db will only be inserted one username.
-after the DM has been sent the db is updated and will never send again DM to the same username.
-TIPS: use some scrapper to get fast usernames and copy to filename.txt
b.Fill the username and password for instagram
c.Write the DM that bot should send to usernames
d.Compute the time you want to automaticly run the script every day
e.Run the autorestart_botDM.py script to start automatically next day after it finished.

2.Like, Comment and follow bot:
a.Fill the username and password for instagram
b.Write the comment that bot should send to posts (curently disabled)
c.Insert hashtags
d.Compute the time you want to automaticly run the script every day
e.Run the autorestart_bot.py script to start automatically next day after it finished.

About

Instagram DM, like, comment, follow bots using python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages