darth-divyansh / Instagram_Followers-SS

Automated Instagram Followers Screenshot Taker
MIT License
0 stars 0 forks source link

Instagram Followers Scraper

This project is an Instagram Followers Scraper built using Selenium and Python. It automates the process of logging into Instagram, visiting user profiles, and taking screenshots of their followers list. The script supports scraping multiple users and saves screenshots of followers and following lists into corresponding folders for each target user.

Features

Requirements

Installation

  1. Clone the repository:

    git clone https://github.com/darth-divyansh/Instagram_Followers-SS.git
    cd Instagram_Followers-SS
    

NOTE: It’s highly recommended to use a virtual environment for managing dependencies.

   python -m venv {your_virtual_environment_name}

Activate the virtual environment On Windows:

{your_virtual_environment_name}\Scripts\activate

On macOS/Linux:

source {your_virtual_environment_name}/bin/activate

After activation, you will see the environment name appear in your terminal, indicating that the environment is active.

  1. Install dependencies:

    Install the required dependencies using pip:

    pip install -r requirements.txt

    The requirements.txt should include:

    python-decouple
    selenium==4.0.0
    webdriver_manager
    streamlit
  2. Setup ChromeDriver:

    The script automatically installs the latest version of ChromeDriver using webdriver-manager. Ensure that you have Google Chrome installed.

  3. Run the script:

    streamlit run app.py

Usage

  1. Enter Instagram Credentials:

    • If running the script for the first time, you will be prompted to enter your Instagram username and password.
  2. Specify Screenshot Count:

    • You will be asked to specify how many screenshots you'd like to take per user.
  3. Enter Instagram Usernames:

    • Provide the usernames of the Instagram (Public) profiles other than the one you provided the credentials for you'd like to scrape, separated by commas.

Script Overview

Important Notes

What is the NEED of this Code ?

During investigations, a tool that automatically captures and documents social media data—posts, messages, followers, and account info—could help generate detailed, error-free reports. This would streamline the process and allow examiners to print relevant screenshots as needed.

License

This project is licensed under the MIT License. See the LICENSE file for more details.


Disclaimer

This script is for educational purposes only. Use it responsibly and avoid violating Instagram's terms of service. The developer is not responsible for any misuse.