Learn
Web Scraping with Beautiful Soup
Website Structure

When we’re telling our Python script what HTML tags to grab, we need to know the structure of the website and what we’re looking for.

Many browsers, including Chrome, Firefox, and Safari, have Dev Tools that help you inspect a webpage and see what HTML elements it is composed of.

First, learn how to use DevTools.

Then, when you’re preparing to scrape a website, first inspect the HTML to see where the info you are looking for is located on the page.

Instructions

Open your inspector tools and play around with the website in the browser. What are the tags, classes, or ids that could help you navigate around this page?

Folder Icon

Sign up to start coding

Already have an account?