-
Narayanan Syed replied to the discussion How can I scrape product name, price, availability from BigC Thailand -Puppeteer in the forum General Web Scraping a year ago
How can I scrape product name, price, availability from BigC Thailand -Puppeteer
Scraping availability from BigC Thailand is similar to scraping the product price, but here you target the availability status, such as “In Stock” or “Out of Stock”. After navigating to the product page, use Puppeteer to extract the availability text by targeting the appropriate element using page.$eval(). This information is often displayed as…
-
Narayanan Syed 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 obtain seller ratings, locate the element that displays the seller’s rating, which is often within a span or div tag. Using DOMXPath, you can query this element and extract the rating value.
<?php // Initialize cURL
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,…
-
Narayanan Syed started the discussion Extract top deals, shipping costs, and ratings from John Lewis UK using Go in the forum General Web Scraping a year ago
Extract top deals, shipping costs, and ratings from John Lewis UK using Go
Scraping data from John Lewis UK, a renowned retailer in the UK, involves targeting key information such as top deals, shipping costs, and product ratings. Using Go with the Colly library, you can automate the scraping process to collect this data efficiently. The first step in this process is understanding the page structure by inspecting…
-
Narayanan Syed changed their photo a year ago
-
Narayanan Syed became a registered member a year ago
-
Lucianus Hallie 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…
-
Lucianus Hallie 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?
Scraping the review count from Casas Bahia Brazil involves finding the element that contains the number of reviews. This is typically found in a span or div tag with a class like review-count. After parsing the page with BeautifulSoup, you can extract the review count for each product.
import requests from bs4 import BeautifulSoup
url…
-
Lucianus Hallie started the discussion Scrape product details, ratings, and delivery info ASOS UK using PHP and Guzzle? in the forum General Web Scraping a year ago
Scrape product details, ratings, and delivery info ASOS UK using PHP and Guzzle?
To scrape product details from ASOS UK, use PHP with the Guzzle HTTP client to fetch the page content and DOMDocument to parse the HTML. Product details such as name and description are typically found in div or span elements.
<?php require 'vendor/autoload.php';
use GuzzleHttpClient;
// Initialize Guzzle client
$client = new Client();
$response…
-
Lucianus Hallie changed their photo a year ago
-
Lucianus Hallie became a registered member a year ago
- Load More