course content

Course Content

Web Scraping with Python

Challenge 1Challenge 1


Print the first h1 of the page tag using BeautifulSoup:

  1. Import the BeautifulSoup from bs4.
  2. Create the BeautifulSoup object and assign it to the variable soup.
  3. Access the first <h1> tag using the soup variable and print its content.

Everything was clear?

Section 2. Chapter 3
toggle bottom row