

Ahmose Tetty
-
Ahmose Tetty replied to the discussion Extract top deals, shipping costs, and ratings from John Lewis UK using Go in the forum General Web Scraping 3 months ago
Extract top deals, shipping costs, and ratings from John Lewis UK using Go
One improvement to this script is handling edge cases where certain elements might be missing, such as a product without a rating or shipping cost. Adding conditional checks would ensure the script does not break when such elements are absent.
-
Ahmose Tetty replied to the discussion Scrape product reviews, pricing, and categories from Currys UK with Python in the forum General Web Scraping 3 months ago
Scrape product reviews, pricing, and categories from Currys UK with Python
The script could be improved by implementing error handling for cases where the desired HTML element does not exist on the page. For instance, if the product has no reviews, an exception might be raised when accessing reviews_section. Adding conditional checks or try-except blocks would make the code more robust.
-
Ahmose Tetty started the discussion Scrape product titles from Currys UK using Python in the forum General Web Scraping 3 months ago
Scrape product titles from Currys UK using Python
Scraping product titles from Currys UK involves using Python with the BeautifulSoup library for efficient HTML parsing. Product titles are generally located within specific tags, such as h1 or span, often accompanied by class attributes that help differentiate them from other elements. The first step is to inspect the HTML structure of the page…
-
Ahmose Tetty changed their photo 3 months ago
-
Ahmose Tetty became a registered member 3 months ago