Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: The BeautifulSoup Object | Beautiful Soup: Part I
course content

Зміст курсу

Web Scraping with Python

Challenge: The BeautifulSoup ObjectChallenge: The BeautifulSoup Object

Завдання

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.

Все було зрозуміло?

Секція 2. Розділ 3
toggle bottom row
course content

Зміст курсу

Web Scraping with Python

Challenge: The BeautifulSoup ObjectChallenge: The BeautifulSoup Object

Завдання

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.

Все було зрозуміло?

Секція 2. Розділ 3
toggle bottom row
some-alt