Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I am scraping this webpage using python and beautiful soup. There are several tire names I want to scrape, like Goodyear Assurance Comfortred Touring. There

I am scraping this webpage using python and beautiful soup. There are several tire names I want to scrape, like Goodyear Assurance Comfortred Touring. There are rougly 30 of these on the page with the same html structure, that being class name is baseball-card___title and have a class link-chevron, but the a id's are all different. How do I scrape this information for all the tires?

image text in transcribed

import requests import csv from datetime import datetime from bs4 import BeautifulSoup

# for tire and review page

# download the page #myurl = requests.get("https://en.wikipedia.org/wiki/Goodyear_Tire_and_Rubber_Company") myurl = requests.get("https://www.goodyearautoservice.com/en-US/tires/all-season")

# create BeautifulSoup object soup = BeautifulSoup(myurl.text, 'html.parser')

ev Goodyear Assurance esup ComforTred Touring ::after /h3>

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MFDBS 89 2nd Symposium On Mathematical Fundamentals Of Database Systems Visegrad Hungary June 26 30 1989 Proceedings

Authors: Janos Demetrovics ,Bernhard Thalheim

1989th Edition

3540512519, 978-3540512516

More Books

Students also viewed these Databases questions

Question

Describe the linkages between HRM and strategy formulation. page 74

Answered: 1 week ago

Question

Identify approaches to improving retention rates.

Answered: 1 week ago