Contenido del Curso
Web Scraping with Python
Web Scraping with Python
3. Working with Element Attributes in Beautiful Soup
Challenge: Read the HTML File
Tarea
Swipe to start coding
Open and read the HTML file on your own!
- Import the
urlopen
function from theurllib.request
. - Use the
urlopen()
function to open the page from the specifiedurl
. - Read the page and decode the received bytes object to
"utf-8"
.
Once you've completed this task, click the button below the code to check your solution.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 1. Capítulo 9
Challenge: Read the HTML File
Tarea
Swipe to start coding
Open and read the HTML file on your own!
- Import the
urlopen
function from theurllib.request
. - Use the
urlopen()
function to open the page from the specifiedurl
. - Read the page and decode the received bytes object to
"utf-8"
.
Once you've completed this task, click the button below the code to check your solution.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 1. Capítulo 9