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"}]}