Extract Book Categories

Learn how to scrape the book categories from our target “Books to Scrape" website.

Categories are listed in the side panel of the home page. To scrape these categories, we first need to understand how they are structured in the HTML.

Investigating the HTML structure

The easiest way to locate elements in the HTML structure is to use the web browser's capabilities. Let's use the browser dev tools to locate this quickly, as shown below:

Get hands-on with 1200+ tech skills courses.