postbot 0.1.4

Creator: bradpython12

Last updated:

0 purchases

postbot 0.1.4 Image
postbot 0.1.4 Images
Add to Cart

Description:

postbot 0.1.4

PostBot
A simple tool to make posts on Instagram programmatically

Installation

pip install postbot or pip3 install postbot

Description
This tool provides capabilities to make posts on instagram according to content stored in a database
and a defined time interval.
For example, let's suppose that you already have many images which you
want to post and its corresponding caption text and tags. And you are planning
to post them on Instagram one each day. So you can store this information in a database
and PostBot automates this task in a few lines of code:

from postbot import PostBot

def quickstart():

# 1 - Create an instance of PostBot
post_bot = PostBot(
geckodriver_path=r'/home/you/drivers/geckodriver',
username='[email protected]',
password='my_password',
mysql_host='localhost',
mysql_database='posts_db',
mysql_username='postman',
mysql_password='post_db_pass',
mysql_posts_table='posts_table',
mysql_img_path_column='post_img_path',
mysql_caption_txt_column='post_txt'
)

# 2 - Login to Instagram
post_bot.login()

# 3 - Start posting
# This function makes a post every amount of minutes specified (1 day = 1440 minutes)
minutes_in_a_day = 1440
post_bot.start_posting(minutes_in_a_day)

post_bot.quit()


That's it! The bot will run till all posts have been posted.
Take into consideration that the database table that has the posts needs a 'posted' column
of type boolean with default value of false. This is used by the PostBot to keep track of the posted posts
and the pending ones.


Disclaimer: Please note that this is a research project. The owner and contributor/s of this project are by
no means neither responsible for any usage of this tool nor responsible if your account gets banned due to the extensive
use of this tool. Use it at your own risk.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.