Skip to content

Grg0rry/Instagram-Post-Scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Instagram Post Scraper

This scraper is coded using python to scrape through 100 recent instagram post with the hashtag #topupshopeepay as part of a challenge by Shopee. It uses the library Selenium and BeautifulSoup to mannually go through each instagram post and extract the details like Username, Post_URL, Total_Likes, and Post_Upload_Date, and then stores these information into a CSV file.

Instructions

  1. Before running the codes, please ensure that you have the required packages installed.
    • pip install selenium
    • pip install webdriver-manager
    • pip install beautifulsoup4
    • pip install pandas
  2. After installation of packages, modify the email and pw variable with a valid email address and password that will able to access and log into Instagram.
  3. Lastly change the file path in df.to_csv('C:/Users/user/desktop/details.csv') to the directory that you would like the csv file to be stored in.

About

Shopee Challenge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages