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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for InstaWebBot-0.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07ab67c5c89a8f30f2ec7a731bf9474d6b0aef16ff1d1a6416072fefcd256be0 |
|
MD5 | 5ba2d965d34eaa5eed86b23d3159be24 |
|
BLAKE2b-256 | a7a426665816c8f4bbe2153756667b3c61531fe845d7e6f7c029d855da53bf09 |