I am scraping collections of carpet from this starting point on Stark website: https://www.starkcarpet.com/search?category=CARPET.
Once I click into a collection (Example collection - SHARNA):
How do I make sure it grabs each of the 7colors in the collection along with their color name, image, model code, and own URL?
Right now it only grabs one of the colors available in each collection.
{"_id":"starkcarpet","startUrl":["https://www.starkcarpet.com/search?category=CARPET"],"selectors":[{"id":"collection","type":"SelectorLink","parentSelectors":["_root"],"selector":"a.productLink","multiple":true,"delay":0},{"id":"collectionname","type":"SelectorText","parentSelectors":["collection"],"selector":"h1.prodName","multiple":false,"regex":"","delay":0},{"id":"indivcolorname","type":"SelectorText","parentSelectors":["collection"],"selector":"span.selectedColorWayValue","multiple":false,"regex":"","delay":0},{"id":"image","type":"SelectorImage","parentSelectors":["collection"],"selector":"img.prodFullImg","multiple":false,"delay":0},{"id":"construction","type":"SelectorText","parentSelectors":["collection"],"selector":"[for='carpet-ac-1'] span.articleHeading","multiple":false,"regex":"","delay":0},{"id":"yarncomosition","type":"SelectorText","parentSelectors":["collection"],"selector":"[for='carpet-ac-2'] span.articleHeading","multiple":false,"regex":"","delay":0},{"id":"patternrepeat","type":"SelectorText","parentSelectors":["collection"],"selector":"[for='carpet-ac-9'] span.articleHeading","multiple":false,"regex":"","delay":0},{"id":"category","type":"SelectorText","parentSelectors":["collection"],"selector":"[for='carpet-ac-10'] span.articleHeading","multiple":false,"regex":"","delay":0},{"id":"modelnumber","type":"SelectorText","parentSelectors":["collection"],"selector":"div.productCode","multiple":false,"regex":"","delay":0}]}
Thanks for any guidance on this!
-Jenny