Skip to main content

A small Instagram bot package that uses some basic functions. Download and have fun

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

instabotpy-0.0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

instabotpy-0.0.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file instabotpy-0.0.1.tar.gz.

File metadata

  • Download URL: instabotpy-0.0.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for instabotpy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c238d99adc0b6217a1eb6a2f0f354a901d7888c1663d783a9aca752151628e88
MD5 5ea3626589187562ff3bbc2cae07c8a2
BLAKE2b-256 a21ee3966f57f4659566e3b7a7e3a206ea4313aa080b1bea47a32f123d75590f

See more details on using hashes here.

File details

Details for the file instabotpy-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: instabotpy-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for instabotpy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7cc8edb223300c3ba204b060dc8ef9d86a7adb582949b691818527294038eff1
MD5 b4afd6db7455fe4eb1e5e0d29b2eed87
BLAKE2b-256 4dca0e8f64d53f204e30de2e6dfbf03b8c46491ac79ae9b8177b4de83b30f602

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page