-
Elisabeth Ishita 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
To scrape the price from BigC Thailand, you can use Puppeteer to select the HTML element containing the price. It’s usually found in a span or div tag with a specific class indicating price. Once the page has fully loaded, use page.$eval() to extract the price text, which is typically formatted with currency symbols.
const puppeteer =…
-
Elisabeth Ishita replied to the discussion How can I scrape product name, price, and rating from Klook Thailand -Puppeteer? in the forum General Web Scraping a year ago
How can I scrape product name, price, and rating from Klook Thailand -Puppeteer?
For scraping the rating of a product on Klook Thailand, target the span or div tag that contains the rating information. Use Puppeteer’s page.$eval() to extract the rating text after waiting for the page to load completely. Be mindful that ratings can be in the form of stars or a numerical value, depending on the layout.
const puppeteer =…
-
Elisabeth Ishita started the discussion Scrape product name, price, stock availability from Argos UK using Go and Colly? in the forum General Web Scraping a year ago
Scrape product name, price, stock availability from Argos UK using Go and Colly?
To scrape the product name from Argos UK, you can use Go with the Colly library for web scraping. The product name is typically found in an h1 or span tag. Use Colly’s OnHTML method to target the appropriate element and extract its text.
package main import (
"fmt"
"log"
"github.com/gocolly/colly"
)
func main() {
// Create a new collector
c…
-
Elisabeth Ishita changed their photo a year ago
-
Elisabeth Ishita became a registered member a year ago
-
Astghik Kendra replied to the discussion Scrape product name, price, and rating from a Thai e-commerce site with Node.js? in the forum General Web Scraping a year ago
Scrape product name, price, and rating from a Thai e-commerce site with Node.js?
To scrape the product price, you can use Puppeteer to extract the price located in a span or div with a class related to pricing. Ensure that the element containing the price has fully loaded by waiting for the selector to appear. Once loaded, you can extract the price text and format it for use.
const puppeteer = require('puppeteer'); (async ()…
-
Astghik Kendra replied to the discussion Scrape product name, price, and stock from Tops Thailand using Puppeteer? in the forum General Web Scraping a year ago
Scrape product name, price, and stock from Tops Thailand using Puppeteer?
For scraping stock availability, Puppeteer is ideal for extracting information like “in stock” or “out of stock” text. Once the product page loads, find the availability status in a div or span with a specific class. Using page.$eval(), you can target that specific element to check whether the product is available for purchase.
const…
-
Astghik Kendra started the discussion Scrape product specifications, images, shipping details -Amazon Brazil -Python in the forum General Web Scraping a year ago
Scrape product specifications, images, shipping details -Amazon Brazil -Python
To scrape product specifications from Amazon Brazil, use Selenium to locate the product details section, often formatted as a table or list. Extract the specifications using find_elements and iterate through the rows or items to collect the data.
from selenium import webdriver from selenium.webdriver.common.by import By
driver…
-
Astghik Kendra changed their photo a year ago
-
Astghik Kendra became a registered member a year ago
- Load More