Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Introduction to Cheerio for Web Scraping

via CodeSignal

Overview

Dive into the essentials of using BeautifulSoup in Python for web scraping. This course guides you through the process of fetching web pages, parsing HTML content, and extracting relevant information. Through hands-on examples, you'll learn to navigate and manipulate the structure of webpages to retrieve the data you need effectively.

Syllabus

  • Unit 1: Getting Started with Cheerio
    • Extracting Website Headings with Cheerio
    • Extract Introductory Message from HTML
    • Extract Travel Agency Name from HTML
  • Unit 2: Extracting Text with Cheerio
    • Extracting Travel Blog Adventures with Cheerio
    • Extracting Div Elements Instead of Paragraphs
    • Extract Text from Travel Blog Paragraphs
    • Extracting Adventure Stories by Class
    • Extract Travel Blog Paragraphs
  • Unit 3: Navigating HTML Tree Structures
    • Exploring Travel Booking Website HTML Structure
    • Navigate to Sibling Elements with Cheerio
    • Extract Travel Package Price with Cheerio
    • Navigating HTML Tree Structure with Cheerio Children Method
    • Extract Vacation Package Price from HTML
  • Unit 4: Using CSS Selectors Cheerio
    • Listing Electronics with CSS Selectors
    • Selecting Product Names with CSS Selectors
    • Selecting Product Names with CSS Selectors in Cheerio
    • Fix Product Inventory Extraction
    • Extract Item Names from Shopping Inventory
  • Unit 5: Extracting HTML Attributes
    • Extracting href Attribute with Cheerio
    • Extract ID Attribute from HTML Element
    • Find and Print Navigation Links
    • Extract Hyperlink URL from Anchor Tag

Reviews

Start your review of Introduction to Cheerio for Web Scraping

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.