I received about 3000 listings when I played around with the NPM package [ecommerce-scraper-js](https://www.npmjs.com/package/ecommerce-scraper-js). Here’s the resulting dataset, if you’re interested. I tried to get 1000 microwave oven listings from each website. But there are not always so many products in practice. There are:
– 480 listings from Amazon;
– 1000 listings from eBay;
– 180 listings from Google Shopping;
– 299 listings from The Home Depot;
– 1000 listings from Walmart.
In total, I received 2959 microwave oven listings.
With this parser, you can get any listings (or selected listing info). Check the docs for more detail, it’s elementary, like:
“`javascript
import { config, amazon, walmart, ebay, homeDepot, googleShopping } from “ecommerce-scraper-js”;
config.API_KEY = “your_api_key_from_serpApi”;
amazon.getListings().then(console.log);
walmart.getListings().then(console.log);
ebay.getListings().then(console.log);
homeDepot.getListings().then(console.log);
googleShopping.getListings().then(console.log);
“`
You can load the dataset from [Kaggle](https://www.kaggle.com/datasets/mykhailozub/3000-microwave-ovens-from-popular-e-commerce-sites)
submitted by /u/Character_Equal_2732
[link] [comments]