Hi,
Sorry if this question has already been asked in this forum, I have made a search but could not get any results.
I have to scrape a site with products which have multiple attributes. Example: a t-shirt with xs s m l and xl size, and red, green and yellow color. Every combination is possible and each unique item has its own sku ans price. Example: red xs t-shirt has sku:1, price 10$. green xl t-shirt has sku:5 and price 25$.
The website is https://www.klim.com
Below a basic preliminary sitemap I did for testing, but it does not work to extract unique skus, and I can't figure out how to resolve this basic problem. Thanks in advance for your help!
Sitemap:
{"_id":"klim-snow","startUrl":["https://www.klim.com/snow/mens-snow/socks"],"selectors":[{"id":"product","type":"SelectorLink","parentSelectors":["_root"],"selector":"a.facets-item-cell-grid-title","multiple":true,"delay":0},{"id":"sizepicker","type":"SelectorElementClick","parentSelectors":["product"],"selector":"section.product-details-full-main-content","multiple":true,"delay":"1000","clickElementSelector":"label.product-views-option-tile-picker","clickType":"clickOnce","discardInitialElements":false,"clickElementUniquenessType":"uniqueText"},{"id":"colorpicker","type":"SelectorElementClick","parentSelectors":["sizepicker"],"selector":"div.product-details-full-main-content-right","multiple":true,"delay":"1000","clickElementSelector":"img.product-views-option-color-picker-box-img","clickType":"clickOnce","discardInitialElements":false,"clickElementUniquenessType":"uniqueHTMLText"},{"id":"sku","type":"SelectorText","parentSelectors":["colorpicker"],"selector":"span.product-line-sku-value","multiple":false,"regex":"","delay":0}]}