Skip to content

A tool with useful features that can be used for Instagram.

License

Notifications You must be signed in to change notification settings

Kaosc/Instagram-tool

Repository files navigation

Instagram Tool

Console based tool with useful features that can be used for Instagram.

console look

Installing dependencies

1. Python dependencies

pip install selenium colored pillow python-dotenv requests

or run the dep-installer.py file.

2. Setting Up Chrome Driver

The current version of Chrome Driver in this repository is 129. To ensure compatibility, please check for the latest ChromeDriver version here.

If a newer version is available:

  1. Download the latest ChromeDriver.
  2. Replace the existing file in the driver folder with the newly downloaded version.

Note: If you don't have Chrome installed on your system, make sure to install it before proceeding.

ChromeDriver version must be the same chrome version installed on your system. You can check your installed chrome version via Settings > About Chrome.

Installation

  1. Add latest ChromeDriver to in "driver" folder.
  2. Set image and driver path.

Removing pending follow requests

Order to remove pending follow requests:

  1. Download your data from Instagram.
    • Your Activity > Download Your Information
    • Click continue.
    • Click "Download or transfter information".
    • Find "Connections" tab and tick the "Followers and following" check box.
    • Click Next.
    • Tick the "Dwonload to device" check box & click next.
    • Select a "Date range" & Select "Format" as JSON then click "Create files".
  2. Wait for the Instagram notifies you with e-mail that the process is complete.
  3. After downloading the data that Instagram sends you, find pending_follow_requests.json file under connections/followers_and_following folder.
  4. Move the file to data folder in the tool.

Warning

Do not rename or edit the file content.

Fill login information

if you don't want to pass your login information every time you run the tool, please fill the _loginInfo file or create a .env file with the following variables:

IG_USERNAME="your_username"
IG_PASSWORD="your_password"

Additional Notes

The headless option may lead to certian action blocks (follow/unfollow) from Instagram if used too often. You might want to disable it in your use case.

Order to disable it comment out or remove the below line from InstagramTool.py file.

 self.chrome_options.add_argument("--headless=old")

Links to the repositories of the libraries used in this tool

About

A tool with useful features that can be used for Instagram.

Topics

Resources

License

Stars

Watchers

Forks

Languages