Scrap new product data at home page, with tab and show more

I need help scraping product data.
I don't know how can I get the product's data on the homepage, which has a "New" tab and a "Show More" button.
Someone please help me.
Thank you very much!!!

Url: https://www.transdesign.com/

Sitemap: I haven't made a sitemap yet

Summary


Hi @gmeotestapp

I'd just use an element click selector targeting - a[aria-controls="tab-new-products"] to open the "New" section.

For the - section#tab-new-products li (product list) targeting the show more button - .emthemesModez-specialProductsTabs-actionGroup a.loadMore

Sitemap example:

{"_id":"transdesign-com","startUrl":["https://www.transdesign.com/"],"selectors":[{"id":"new-click","parentSelectors":["_root"],"type":"SelectorElementClick","clickElementSelector":"a[aria-controls=\"tab-new-products\"]","clickElementUniquenessType":"uniqueCSSSelector","clickType":"clickOnce","delay":"600","discardInitialElements":"do-not-discard","multiple":true,"selector":"html"},{"id":"show-more-wrapper","parentSelectors":["_root"],"type":"SelectorElementClick","clickElementSelector":".emthemesModez-specialProductsTabs-actionGroup a.loadMore","clickElementUniquenessType":"uniqueCSSSelector","clickType":"clickMore","delay":"1200","discardInitialElements":"do-not-discard","multiple":true,"selector":"section#tab-new-products li"},{"id":"product-title","parentSelectors":["show-more-wrapper"],"type":"SelectorText","selector":".card-title a","multiple":false,"delay":0,"regex":""},{"id":"product-price","parentSelectors":["show-more-wrapper"],"type":"SelectorText","selector":"span.price--withoutTax","multiple":false,"delay":0,"regex":""}]}

Hope it helps. :+1:t6:

1 Like

Hi @viesturs

Wow, It's Amazing, it works great, thank you very much!
For me, it's really hard
Thank you very much! :blush: :blush: :blush:

@gmeotestapp You are welcome! :wink:

1 Like