- Selenium
- Python3
- Chromedriver
If you want to use this poor bot (i dont recommend it) you will need to create a file called credentials.py
with 2 variables:
username = your_instagram_username
and password = your_instagram_password
.
It is important that your variables are called exactly that way (unless you change the import in instagrambot.py
)
Also you will need to download your chromedriver according to your chrome version and change the constant
CHROMEDRIVER_ROOT
to your chromedriver root.
-
login
: login with your credentials (from credentials.py), avoiding pop-ups -
get_fst_photo
: returns the link from the first photo of the given profile -
comment
: commentsmessage
in thepost
-
autocomment
: comments ashortList
burst of commentsn
times in apost
-
scroll_and_like
-
autoscroll
: autoscrolls forn
time -
get_followers
returns the list of followers ofwho