redianmarku / instagram-follower-scraper

A python script that can automatically scrape other people followers on instagram and save them in a txt file.
233 stars 85 forks source link

Instagram Follower Scraper

This Python script allows you to automatically scrape the followers of multiple Instagram users and save them in separate text files. It utilizes Selenium WebDriver to interact with the Instagram website.

Requirements

Python 3.x Selenium ChromeDriver Install the required packages by running the following command in your terminal or command line:

pip install -r requirements.txt

Credentials

-Run the script using the command: python run.py. -Enter your Instagram username and password when prompted. -The credentials will be saved in the specified file for future use.

Instagram Usernames

-Run the script using the command: python run.py. -Enter the Instagram usernames you want to scrape, separated by commas. -Example: username1, username2, username3 -The followers' usernames will be saved in separate text files, named as {username}_followers.txt, for each user.

Please note that scraping a large number of followers in a short period of time may be subject to limitations and restrictions imposed by Instagram. Ensure that you use this script responsibly and within the bounds of Instagram's terms of service.

If you encounter any issues or have any questions, feel free to reach out or create an issue in this repository.