-
Shyamala Laura became a registered member a year ago
-
Paula Odalys replied to the discussion How can I scrape product details, seller ratings, delivery Shoptime Brazil? in the forum General Web Scraping a year ago
How can I scrape product details, seller ratings, delivery Shoptime Brazil?
For seller ratings, you can use Playwright to locate and extract ratings, which are usually displayed alongside the seller’s name or in a span with stars or numeric values. Playwright ensures you wait for the page to load fully before accessing the DOM.
from playwright.sync_api import sync_playwright with sync_playwright() as p:
browser…
-
Paula Odalys replied to the discussion How can I scrape product name, price, stock status from Extra Brazil Java Jsoup? in the forum General Web Scraping a year ago
How can I scrape product name, price, stock status from Extra Brazil Java Jsoup?
To extract the price from Extra Brazil, locate the element containing the pricing information, typically within a div or span tag with a class indicating the price. Using Jsoup’s select() method, you can fetch and parse this element.
import org.jsoup.Jsoup; import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
public class ScrapeExtra…
-
Paula Odalys started the discussion Use PHP to scrape discount banners from the homepage of Selfridges UK in the forum General Web Scraping a year ago
Use PHP to scrape discount banners from the homepage of Selfridges UK
Scraping discount banners from the Selfridges UK homepage involves using PHP to fetch the webpage content with the Guzzle HTTP client and parse the HTML with DOMDocument and XPath. Discount banners are typically prominent on the homepage, showcasing ongoing promotions, seasonal sales, or limited-time offers. These banners often contain text…
-
Paula Odalys changed their photo a year ago
-
Paula Odalys became a registered member a year ago
-
Lela Sandy replied to the discussion Scrape product specifications, seller ratings, delivery option Carrefour Brazil? in the forum General Web Scraping a year ago
Scrape product specifications, seller ratings, delivery option Carrefour Brazil?
To determine delivery options, identify the section of the page that lists available shipping methods and their respective details. By querying this section, you can extract information such as delivery times and costs.
<?php // Initialize cURL
$ch = curl_init();
curl_setopt($ch,…
-
Lela Sandy replied to the discussion Scrape product name, price, customer reviews from Magazine Luiza Brazil on Ruby? in the forum General Web Scraping a year ago
Scrape product name, price, customer reviews from Magazine Luiza Brazil on Ruby?
To obtain the price, locate the element containing the pricing information, which is often within a span or div tag with a class indicating price. Using Nokogiri, you can select this element and extract the text, ensuring you handle any currency symbols appropriately.
require 'net/http' require 'nokogiri'
# Fetch the product page
url…
-
Lela Sandy started the discussion Scrape delivery options from Dunelm UK using Go in the forum General Web Scraping a year ago
Scrape delivery options from Dunelm UK using Go
Scraping delivery options from Dunelm UK involves setting up a Go application using the Colly library to efficiently parse and extract HTML content. Delivery options are typically displayed on product pages, often under a dedicated section that highlights shipping methods, costs, and estimated delivery times. This information is crucial…
-
Lela Sandy changed their photo a year ago
- Load More