Member-only story
How to scrape data from Instagram with Python!
Welcome back! Instagram is a very massive social media platform with tons of data, so let’s scrape some using Python! This is a pretty basic beginner project, we’re essentially going to be able to input an Instagram URL into our code, run the program, output specific data points and store them in a data frame, if that sounds like fun let’s get started!
Basic introduction you could probably skip that I copied from my other article
First things first, we will need to have Python installed, read my article here to make sure you have Python and some IDE installed. Next, I wrote a article on using Selenium in Python, Selenium is a web scraping package that allows us to mimic a web browser using Python, it might be best to read that article for more of an understanding on web scraping, but it’s not a necessity, you can read that article here.
Python has several different web scraping packages, beautiful soup and selenium are a few, in this tutorial we’re going to be using Selenium, in another article we’ll talk about Beautiful Soup.