Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Challenge: Read the HTML File | Getting Acquainted with HTML
Web Scraping with Python
course content

Kursinnehåll

Web Scraping with Python

Web Scraping with Python

1. Getting Acquainted with HTML
2. Decoding HTML with Beautiful Soup
3. Working with Element Attributes in Beautiful Soup

book
Challenge: Read the HTML File

Uppgift

Swipe to start coding

Open and read the HTML file on your own!

  1. Import the urlopen function from the urllib.request.
  2. Use the urlopen() function to open the page from the specified url.
  3. Read the page and decode the received bytes object to "utf-8".

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 9
toggle bottom row

book
Challenge: Read the HTML File

Uppgift

Swipe to start coding

Open and read the HTML file on your own!

  1. Import the urlopen function from the urllib.request.
  2. Use the urlopen() function to open the page from the specified url.
  3. Read the page and decode the received bytes object to "utf-8".

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 9
Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Vi beklagar att något gick fel. Vad hände?
some-alt