How to get Variants Data

I have various links for such products.
The products have different variants. How to scrape data for such pages.
I have created below script. but it works for only one variant. How to capture other variants?

Please help.

Url: Westcott Chair – Bunny Williams Home

Sitemap:

{"_id":"BWH","startUrl":["https://www.bunnywilliamshome.com/products/westcott-wingback-chair?variant=39757868859488"],"selectors":[{"id":"Name","multiple":false,"parentSelectors":["_root"],"regex":"","selector":".product__details h2","type":"SelectorText"},{"id":"Fabric","multiple":false,"parentSelectors":["_root"],"regex":"","selector":"#\\[object\\ RadioNodeList\\] span","type":"SelectorText"},{"id":"Dimension","multiple":false,"parentSelectors":["_root"],"regex":"","selector":"div.product__accordion-content:nth-of-type(2) p","type":"SelectorText"},{"id":"Description","multiple":false,"parentSelectors":["_root"],"regex":"","selector":".product__description p:nth-of-type(1)","type":"SelectorText"},{"id":"Images","multiple":true,"parentSelectors":["_root"],"selector":".cylindo-rtv img","type":"SelectorImage"}]}

Hi,

This is described in Drop-down variations | Web Scraper How To

I try to setup. but unable to get through. If you could help, that will be great.

Can anyone help me with this

Hi,

Check the sitemap below:

{"_id":"BWH","startUrl":["https://www.bunnywilliamshome.com/products/westcott-wingback-chair?variant=39757868859488"],"selectors":[{"id":"Name","multiple":false,"parentSelectors":["click-finish"],"regex":"","selector":".product__details h2","type":"SelectorText"},{"id":"Fabric","multiple":false,"parentSelectors":["click-finish"],"regex":"","selector":".active:has([name=\"fabric\"])","type":"SelectorText"},{"id":"Finish","multiple":false,"parentSelectors":["click-finish"],"regex":"","selector":".option_name:contains('Select Finish') .selected","type":"SelectorText"},{"id":"Dimension","multiple":false,"parentSelectors":["click-finish"],"regex":"","selector":"div.product__accordion-content:nth-of-type(2) p","type":"SelectorText"},{"id":"Description","multiple":false,"parentSelectors":["click-finish"],"regex":"","selector":".product__description p:nth-of-type(1)","type":"SelectorText"},{"id":"Images","multiple":true,"parentSelectors":["click-finish"],"selector":".cylindo-rtv img","type":"SelectorImage"},{"clickActionType":"real","clickElementSelector":"input[name=\"fabric\"]","clickElementUniquenessType":"uniqueCSSSelector","clickType":"clickOnce","delay":0,"discardInitialElements":"discard-when-click-element-exists","id":"click-fabric","multiple":true,"parentSelectors":["_root"],"selector":"body","type":"SelectorElementClick"},{"clickActionType":"real","clickElementSelector":"input[data-type=\"Finish\"]","clickElementUniquenessType":"uniqueCSSSelector","clickType":"clickOnce","delay":0,"discardInitialElements":"discard-when-click-element-exists","id":"click-finish","multiple":true,"parentSelectors":["click-fabric"],"selector":"_parent_","type":"SelectorElementClick"}]}

Thank You very much.
I will try with other products and let you know.

Big Thanks :star_struck: