Kurssisisältö
Web Scraping with Python
Web Scraping with Python
3. Working with Element Attributes in Beautiful Soup
Challenge: Text from HTML Elements
Tehtävä
Swipe to start coding
You are given a web page. Complete the following tasks:
-
Print all the attributes of all the
<a>
elements. -
Print all the text of all the
<p>
elements.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 3. Luku 4
Challenge: Text from HTML Elements
Tehtävä
Swipe to start coding
You are given a web page. Complete the following tasks:
-
Print all the attributes of all the
<a>
elements. -
Print all the text of all the
<p>
elements.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 3. Luku 4