How to scrape emails/followers/phone numbers from any user in Instagram
3 min read
7 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
-
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.
-
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.
-
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
.
-
Installing Requirements
- Install the project requirements by typing
pip3 install -r requirements.txt
and press Enter.
- Install the project requirements by typing
-
Setting Up Credentials
- Navigate to the
config
folder by typingcd config
. - Configure the
credentials.ini
file by using the Nano editor or run the setup command by typingmake setup
in the main folder. - Enter your Instagram username and password when prompted.
- Navigate to the
-
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.).
- Run the main script by typing
-
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 typingcd output
. - Access the collected data, such as followers list, from the respective files.
- Enable saving the collected information to a file by typing
-
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.
-
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."
-
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.