Skip to main content

Instagram_Bot

This instabotpy is a module that is used to login, like, unlike, follow, unfollow, logout, open post in your profile and in explore section of the instagram in your web.

Make sure that your system has Chormedriver or install it by clicking here

Note: This module uses selenium webdriver. Based on your chrome version select the chromedriver installation options and make sure that chromedriver is installed in path C:\Program Files\chromedriver.exe.

If you don't have selenium webdriver pre-installed on your computer, then or click here or install using

pip install selenium

Module Usage

To use this module clone into your python scripts or

pip install instabotpy

In-order to make sure that instabotpy works properly after installation type on python shell as

>>> import instabotpy

Now you should see a Chrome browser open with instagram login page

Login into instagram

from instabotpy import *
# Used to login without accepting to turn on notifications or save informations
#User is recommended to login with this option always
login_no_info(username,password)
#used to open and user is allowed to select the options for saving info and for notifications
opens(username,password)
#opens with post notfications while you're surfing in Instagram
# Not recommended unless user is less active on Instgram
login_info(username,password)

Logout of Instagram

#logs out by clearing all cookies in your test browser
logout()

Basic functions

like() #to like post
unlike() #to unlike post. Works only when you like post or it perfoms like function
screentime(int value) # Adjust the time you are on instagram
explore() # Opens explore
first_post() # Opens first post in explore. Must be used after explore
follow() # Follows the account opened using first_post()
unfollow() # Musyt follow to unfollow the account. Used after first_post() and follow() commands
exit_post() # Closes the post opened by using first_post()
profile() # Opens profile
close_all() # Closes the chrome window by deleting cookies
account() # Opens an account. Use after first_post()
ref() # Refreshes chrome
end_scroll() # End scroll
init_scroll() # Home scroll
pd() # Page down
pu() # Page up
home() # Opens home

Example Code

from instabotpy import *
x = login_no_info(username,password)
explore()
home()
pofile()
home()
logout()

Email ID can also be given instead of your username

Note: This module is for just demo purpose of how you can use instagram via python. Use it carefully. The developer of this module is not responsible for any of users mistake or for any loss of data

Metadata

Release files for instabotpy 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for instabotpy 0.0.1
File Size Uploaded
instabotpy-0.0.1.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for instabotpy 0.0.1
File Interpreter ABI Platform
instabotpy-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.2 kB

Release files / instabotpy-0.0.1.tar.gz

Download URL instabotpy-0.0.1.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c238d99adc0b6217a1eb6a2f0f354a901d7888c1663d783a9aca752151628e88
BLAKE2b-256 checksum
How to use checksums
a21ee3966f57f4659566e3b7a7e3a206ea4313aa080b1bea47a32f123d75590f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.8

Release files / instabotpy-0.0.1-py3-none-any.whl

Download URL instabotpy-0.0.1-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7cc8edb223300c3ba204b060dc8ef9d86a7adb582949b691818527294038eff1
BLAKE2b-256 checksum
How to use checksums
4dca0e8f64d53f204e30de2e6dfbf03b8c46491ac79ae9b8177b4de83b30f602
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.8

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page