How to scrape emails/followers/phone numbers from any user in Instagram

3 min read 6 months ago
Published on Apr 21, 2024 This response is partially generated with the help of AI. It may contain inaccuracies.

Table of Contents

Step-by-Step Tutorial: How to Scrape Information from Instagram Using Awesomegram

  1. Accessing the Awesomegram Tool

    • Watch the video provided in the link to get an overview of the process.
    • Go to the video description and click on the link to access Awesomegram on GitHub.
  2. Setting Up Google Cloud Shell

    • Open a new tab in your browser and search for "Google Cloud Shell."
    • Click on the first link that appears to access the Google Cloud Shell.
    • Log in with your Google account and click on "Go to console" to enter the Google Cloud Shell terminal.
  3. Cloning Awesomegram from GitHub

    • Go back to the Awesomegram GitHub repository and click on the "Code" button.
    • Copy the repository link.
    • In the Google Cloud Shell terminal, clone the Awesomegram project by typing git clone <paste the copied link> and press Enter.
    • Navigate into the Awesomegram folder by typing cd awesomegram.
  4. Installing Requirements

    • Install the project requirements by typing pip3 install -r requirements.txt and press Enter.
  5. Setting Up Credentials

    • Navigate to the config folder by typing cd config.
    • Configure the credentials.ini file by using the Nano editor or run the setup command by typing make setup in the main folder.
    • Enter your Instagram username and password when prompted.
  6. Collecting Information from Instagram

    • Run the main script by typing python3 main.py.
    • Enter the username of the Instagram account from which you want to collect information.
    • Follow the on-screen instructions to select the type of information you want to scrape (followers, emails, phone numbers, etc.).
  7. Saving and Accessing the Data

    • Enable saving the collected information to a file by typing file=Y and press Enter.
    • Once the scraping is complete, you can find the output in the output folder.
    • Navigate to the output folder by typing cd output.
    • Access the collected data, such as followers list, from the respective files.
  8. Uploading Data to GitHub

    • Create a new repository on GitHub.
    • Initialize a Git repository in the Cloud Shell by typing git init.
    • Add the changes to the repository by typing git add ..
    • Commit the changes with a message by typing git commit -m "Your message".
    • Set up the remote repository by adding the origin with git remote add origin <repository URL>.
    • Push the changes to GitHub by typing git push origin master and follow the prompts to enter your GitHub credentials.
  9. Accessing Data on GitHub

    • Go to your GitHub account and refresh the repository page.
    • You will find all the collected data files in the repository.
    • Download the data locally by clicking on "Code" and selecting "Download ZIP."
  10. Conclusion

    • You have successfully scraped information from Instagram using Awesomegram.
    • Explore the collected data and utilize it as needed.
    • Feel free to experiment with different scraping options provided by Awesomegram for more insights.

By following these steps, you can efficiently scrape emails, followers, phone numbers, and other information from any Instagram user using the Awesomegram tool.