Skip to main content

A simple library for managing an Instagram bot using selenium.

Project description

InstaBot

InstaBot is a Python library that provides some automation for simple tasks on Instagram like following and sending dms on Instagram.

Installation

You can install the library from the GitHub repository or by using pip:

pip install InstaBotWeb

Usage

To use the InstaBot class, you can create an instance of the class by passing in your Instagram username and password as parameters:

from instabot import InstaBot
bot = InstaBot('your_username', 'your_password')

To login to Instagram with the given username and password use

bot.login()

Once you have created an instance of the InstaBot class, you can use its methods to automate some simple tasks on Instagram.

Functions

Search for a username by using

bot.search(query)

After that you can peform various actions on a user profile:

bot.follow()
bot.send_dm(message)
bot.like_picture()

It is also possible to get data from the profile:

followers = bot.get_followers()
for follower in followers:
    print(follower)

Future functionality:

  • Get follower and following counter
  • Get post counter
  • Like different images than just the first image
  • Allow commenting on posts
  • Download images
  • Send direct messages to user

LICENSE

InstaBot is licensed under the GNU General Public License v2.0.

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

InstaWebBot-0.2.5.tar.gz (13.1 kB view hashes)

Uploaded Source

Built Distribution

InstaWebBot-0.2.5-py3-none-any.whl (13.3 kB view hashes)

Uploaded Python 3

Supported by

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