In this tutorial, we will explore web scraping basics using requests, BeautifulSoup, and the Yelp API. The tutorial will be split up into two use cases, the first scraping a business directory and the second Yelp business listngs. This hands-on tutorial will be played out using a Jupyter Notebook.
Participants will need to create a Yelp Developer Account.
In this web scraping tutorial we will cover the following:
- Why data enrichment and web scraping can be helpful - operational insights, resource allocation, business intelligence
- Core puzzle pieces that work together to scrape - requests, BeautifulSoup, pandas, for loops, f-strings
- Yellow Pages Web Scrape with BeautifulSoup: Scrape a top category of the Yellow Pages, turn into df and export as csv
- Yelp Scrape using Yelp Fusion API: Scrape Yelp listings around specific locations
- Summarize & Debrief