Hello,
Using this web scraper tutorial I am trying to scrape this website
Many of the products have 2 attributes, Grit and Pack, which in the product page are button elements with the same class.
I can manage to get the info I need, sku,name etc, but only for the Grit Options, not the Pack, so I get half the job done. I don't know how to get it work.
The sitemap below is just for test purposes on a specific product, full sitemap contains more.
Please, I need some help.
Take this product for example:
.
Sitemap:
{"_id":"mirka2","startUrl":["https://www.mirka.com/en/p/NOVASTAR-125-----GRIP-89"],"selectors":[{"clickElementSelector":"button.filter:not(.disabled)","clickElementUniquenessType":"uniqueCSSSelector","clickType":"clickOnce","delay":1000,"discardInitialElements":"discard-when-click-element-exists","id":"grit","multiple":true,"parentSelectors":["_root"],"selector":"main","type":"SelectorElementClick"},{"delay":0,"id":"grit option","multiple":false,"parentSelectors":["grit"],"regex":"","selector":"button.filter--big.selected","type":"SelectorText"},{"delay":0,"id":"sku","multiple":false,"parentSelectors":["grit"],"regex":"","selector":"p.f-normal","type":"SelectorText"},{"delay":0,"id":"name","multiple":false,"parentSelectors":["grit"],"regex":"","selector":"h2.m-b-6","type":"SelectorText"}]}