mustafadalga / Instagram-Bot

An Instagram bot developed using the Selenium Framework

Home Page:https://github.com/mustafadalga/Instagram-Bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instagram Bot

Instagram Bot

πŸ“š Documentation

       πŸ”Ή For Turkish documentation
       πŸ”Ή English translation of the documentation was made by Can MΔ±hcΔ±.

Introduction

An Instagram bot developed using the Selenium Framework

Features

πŸ”΅ Download all posts of a single user
πŸ”΅ Like or unlike all posts of a single user
πŸ”΅ Bulk unfollow
πŸ”΅ Bulk comments on a single post
πŸ”΅ Bulk unfollow all users that do not follow back
πŸ”΅ Delete messages in bulk
πŸ”΅ Download highlighted stories
πŸ”΅ Download stories
πŸ”΅ Download a single post
πŸ”΅ Download an IG TV Video
πŸ”΅ Follow all the followers of a single user
πŸ”΅ Follow all listed users in a file
πŸ”΅ Follow all users that have liked a single post
πŸ”΅ Follow users based on tag
πŸ”΅ Like posts based on tag
πŸ”΅ Like or unlike a single post
πŸ”΅ Comment on a single post
πŸ”΅ Follow or unfollow a user
πŸ”΅ Block or unblock a user

Other Features

πŸ”΅ Support for two languages: English and Turkish.
πŸ”΅ Option of running browser window in normal or incognito modes has been granted.
πŸ”΅ A settings menu has been included. Settings menu features language and browser settings.

Details

πŸ”· You may use the features above by logging into your Instagram account.
πŸ”· Instagram login for accounts with 2-factor authentication is also possible.
πŸ”· As the project is currently under development, the 2-factor authentication feature has been set to assume that the 2Fa code is sent to the user's phone number.
πŸ”· Default language has been set as English.

Configuration Settings

βš™οΈ Project utilizes Firefox browser as webdriver. This requires Firefox to be installed for the application to work properly.
βš™οΈ In order to use Firefox webdriver needs to be downloaded and the directory path for the downloaded webdriver needs to be set within config.json.

  • Config Options

βš™οΈ driver_path: Denotes the Webdriver directory path.
βš™οΈ headless: Denotes if the browser is visible or not. Default value:true
βš™οΈ language: Denotes the language of the application.
βš™οΈ languages: Includes the settings, menu and warning messages for all language options.
βš™οΈ time: denotes the operation waiting times for all the operations where time.sleep() has been used.

  • Package installation for Windows users

python -m pip install -r .\requirements.txt

Usage

πŸ”Ή 'menu' commands needs to be used for returning to the main menu from any prompt that asks the user for input.

python instagram.py

Notes

πŸ”Ή Operation intervals has been set for a length of time that prevents your account from getting banned for bulk operations of post-likes, user-follows or commenting.
πŸ”Ή The operation intervals may be changed from within config.json.
πŸ”Ή Has been tested only under Windows.
πŸ”Ή Python version: 3.8.1

Technologies used

πŸ”Ή Python
πŸ”Ή Selenium
πŸ”Ή Javascript

Screenshots

πŸ”Ή Main menu

Main menu

πŸ”Ή Download posts

Download posts

πŸ”Ή Like posts

Like posts

πŸ”Ή Bulk unfollow

Bulk unfollow

πŸ”Ή Bulk commenting

Bulk commenting

πŸ”Ή Bulk comment deletion

Bulk comment deletion

License

License