

Elisabeth Ishita
-
Elisabeth Ishita replied to the discussion How can I scrape product name, price, availability from BigC Thailand -Puppeteer in the forum General Web Scraping 8 months 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 8 months 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 8 months 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 8 months ago
-
Elisabeth Ishita became a registered member 8 months ago