Course Content
Web Scraping with Python
Web Scraping with Python
Challenge: Find All
Task
Swipe to show code editor
In this task, you will work with the following page.
- Print the first
<div>
tag using the function.find()
of the objectsoup
. - Print the instances of
<p>
tags where theid
attributes are equal to"id0"
using the function.find_all()
of thesoup
object.
Solution
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 3. Chapter 6
Challenge: Find All
Task
Swipe to show code editor
In this task, you will work with the following page.
- Print the first
<div>
tag using the function.find()
of the objectsoup
. - Print the instances of
<p>
tags where theid
attributes are equal to"id0"
using the function.find_all()
of thesoup
object.
Solution
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 3. Chapter 6
Switch to desktop for real-world practiceContinue from where you are using one of the options below