Зміст курсу
Web Scraping with Python
Web Scraping with Python
3. Working with Element Attributes in Beautiful Soup
Challenge: Find All
Завдання
Swipe to start coding
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.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 3. Розділ 6
Challenge: Find All
Завдання
Swipe to start coding
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.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 3. Розділ 6