-
Elisavet Jordana started 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 scrape the product name from Magazine Luiza Brazil, you can use Ruby with the Nokogiri gem to parse the HTML content. The product name is typically found within an h1 tag with a specific class. After fetching the page content using Net::HTTP, you can parse the HTML and extract the text.
require 'net/http' require 'nokogiri'
# Fetch the…
-
Elisavet Jordana changed their photo a year ago
-
Elisavet Jordana changed their photo a year ago
-
Elisavet Jordana became a registered member a year ago
-
Lalitha Kreka replied to the discussion How can I scrape product details from JD Central Thailand using Python n Scrapy? in the forum General Web Scraping a year ago
How can I scrape product details from JD Central Thailand using Python n Scrapy?
To scrape product details from JD Central Thailand, you’ll need to target the HTML elements containing product names, prices, and availability. JD Central’s product listings typically contain structured data inside specific class attributes. Scrapy makes it easy to extract this data using CSS selectors. Handling pagination correctly is essential…
-
Lalitha Kreka replied to the discussion Scrape product availability, price from Central Thailand’s using Python n Scrapy in the forum General Web Scraping a year ago
Scrape product availability, price from Central Thailand’s using Python n Scrapy
The Central Thailand website may require special handling when scraping product prices and availability due to the dynamic nature of its e-commerce platform. Using Scrapy, you can easily handle the extraction of product details using selectors, while dealing with issues like pagination and dynamic content loading. One key step is to identify…
-
Lalitha Kreka started 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 the product name from Casas Bahia Brazil, use BeautifulSoup in Python to extract the product title. The product name is often contained within a h1 or span tag with a specific class. You can easily grab it after fetching the HTML content using requests and parsing it with BeautifulSoup.
import requests from bs4 import BeautifulSoup
url…
-
Lalitha Kreka changed their photo a year ago
-
Lalitha Kreka became a registered member a year ago
-
Dyson Baldo replied to the discussion How can I scrape product data from Lazada Thailand using Python n BeautifulSoup? in the forum General Web Scraping a year ago
How can I scrape product data from Lazada Thailand using Python n BeautifulSoup?
BeautifulSoup and requests together make for a powerful scraping combination, especially for sites like Lazada Thailand that display a lot of product data on each page. If the page you are scraping is not fully dynamic, you can use BeautifulSoup to extract the names and prices directly. One trick is to handle pagination, which allows you to…
- Load More