-
Nitin Annemarie updated their profile a year ago
-
Nitin Annemarie became a registered member a year ago
-
Sandrine Vidya replied to the discussion Extract discounts, product reviews, seller details from The Entertainer UK -PHP in the forum General Web Scraping a year ago
Extract discounts, product reviews, seller details from The Entertainer UK -PHP
The script could be improved by implementing retries for failed requests. For instance, if the server responds with a temporary error or timeout, the script could attempt to fetch the page again before failing. This would help ensure reliability when dealing with unstable network connections or rate-limited websites.
-
Sandrine Vidya replied to the discussion Scrape bestsellers, delivery charges, and star ratings from WHSmith UK using Go in the forum General Web Scraping a year ago
Scrape bestsellers, delivery charges, and star ratings from WHSmith UK using Go
The script could be improved by implementing better error handling to manage cases where specific elements are missing or the page fails to load. For example, adding a conditional check for each element ensures the script doesn’t break unexpectedly.
-
Sandrine Vidya started the discussion Use Go to scrape product categories from Media Markt Poland in the forum General Web Scraping a year ago
Use Go to scrape product categories from Media Markt Poland
Media Markt is a leading retailer in Poland, specializing in electronics and appliances. Scraping product categories from Media Markt involves navigating the main website or specific category pages to extract hierarchical information about their product offerings. Categories are typically structured in a menu or sidebar, and they are…
-
Sandrine Vidya changed their photo a year ago
-
Sandrine Vidya became a registered member a year ago
-
Jerilyn Shankar replied to the discussion Scrape product name, review count, and availability from Casas Bahia Brazil? in the forum General Web Scraping a year ago
Scrape product name, review count, and availability from Casas Bahia Brazil?
To scrape availability from Casas Bahia Brazil, you can extract whether a product is in stock or out of stock. This is often found in a div or span tag that specifies availability status. Using BeautifulSoup, locate and extract this information to determine the product’s availability.
import requests from bs4 import BeautifulSoup
url =…
-
Jerilyn Shankar replied to the discussion Scrape product name, discount, and shipping from Submarino Brazil using Node.js? in the forum General Web Scraping a year ago
Scrape product name, discount, and shipping from Submarino Brazil using Node.js?
To scrape the discount from Submarino Brazil, you can use Cheerio to look for the element containing the discount percentage, which is typically wrapped in a span or div. The discount information may be shown with a percentage off and might appear only if the product is on sale. By querying the relevant HTML element, you can extract the…
-
Jerilyn Shankar changed their photo a year ago
- Load More