Skip to content

vats147/instagram-webscrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Instagram Web Scraping Tool

This tool allows you to scrape data from your Instagram profile, including your followers' usernames and their post count, followers, and following. It uses the selenium package to automate interactions with the Instagram website.

Installation

  1. Download the appropriate version of the Chrome WebDriver for your operating system and browser version.

  2. Add chromedriver path in PATH variable.

  3. Clone the repository to your local machine:

    git clone https://github.com/vats147/instagram-webscrap.git
    
  4. Install the required Python packages:

    pip install -r requirements.txt
    

Usage

  1. Replace your instagram Username and password in scarp.py file.

  2. Run the scrap.py script:

    python scrap.py
    

    This will launch a Chrome browser window and navigate to the Instagram login page.

  3. Once you are logged in, the script will scrape your followers' usernames and profile links, their post, their followers,their following and save them to a result.csv file in the same directory.

  4. Alternatively, if you only need your followers list and not the entire tool, you can get it by opening Instagram in your browser, navigating to your profile page, clicking on the "Followers" button, opening the browser console (usually with the F12 key), and pasting the script.js code from the repository into the console. This will print the list of your followers' usernames to the console.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published