Walmart Mexico selector

Pedro B. asked 3 years ago

Hi there, I maade a question and never got the answer. May you please help with Walmart Mexico selector?

Example: https://www.walmart.com.mx/bebes/cambio-de-panales/panales/panal-para-bebe-huggies-supreme-etapa-1-228-piezas_00750194341687

Thank you

1 Answers
Dave Hilditch Staff answered 3 years ago

Hi – sorry I missed this. If you need help with further selectors, I’ve created a channel for price comparison pro on our discord server.

https://discord.gg/ms2SWqAf

Here’s the selectors for the page you listed above:

Retail price: div[data-automation-id="product-detail-offer-details"] > div:first-child > p, h4[data-automation-id="product-price"]

Sale price: h4[data-automation-id="product-price"]

Dave H. Staff replied 3 years ago

Also – please note that the Walmart site is using Ajax to populate the page – if you view source on the page, the prices do not exist. That means, to scrape the site you should use the Scraper API Rendered option.

Your Answer


Super Speedy Plugins
Logo