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

Kursusindhold

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

Opgave

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 desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 9
toggle bottom row

book
Challenge: Read the HTML File

Opgave

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 desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 9
Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Vi beklager, at noget gik galt. Hvad skete der?
some-alt