Conteúdo do Curso
Web Scraping with Python
Web Scraping with Python
Challenge: The BeautifulSoup Object
Tarefa
Print the first h1
of the page tag using BeautifulSoup
:
- Import the
BeautifulSoup
frombs4
. - Create the
BeautifulSoup
object and assign it to the variablesoup
. - Access the first
<h1>
tag using the soup variable and print its content.
Obrigado pelo seu feedback!
Challenge: The BeautifulSoup Object
Tarefa
Print the first h1
of the page tag using BeautifulSoup
:
- Import the
BeautifulSoup
frombs4
. - Create the
BeautifulSoup
object and assign it to the variablesoup
. - Access the first
<h1>
tag using the soup variable and print its content.
Obrigado pelo seu feedback!
Challenge: The BeautifulSoup Object
Tarefa
Print the first h1
of the page tag using BeautifulSoup
:
- Import the
BeautifulSoup
frombs4
. - Create the
BeautifulSoup
object and assign it to the variablesoup
. - Access the first
<h1>
tag using the soup variable and print its content.
Obrigado pelo seu feedback!
Tarefa
Print the first h1
of the page tag using BeautifulSoup
:
- Import the
BeautifulSoup
frombs4
. - Create the
BeautifulSoup
object and assign it to the variablesoup
. - Access the first
<h1>
tag using the soup variable and print its content.