Photo from the additional area of visualcomfort.com

Hi everyone,

I’m trying to figure out whether it’s possible to retrieve data from a particular area and was wondering if anyone could point me in the right direction. I’ve attached a screenshot for reference.

Thanks so much for any help you can offer!

Url: https://www.visualcomfort.com/eu/utopia-round-sconce-eu-kw4050/?selected_product=KW%204050AI-FR-EU#1651=53511&2461=36341

Hi,

What datapoints exactly are you looking to scrape?

I need links to the photos circled in green. The ones below the main photo.

Please try the following sitemap:

{"_id":"visualcomfort","startUrl":["https://www.visualcomfort.com/eu/utopia-round-sconce-eu-kw4050/?selected_product=KW%204050AI-FR-EU#1651=53511&2461=36341"],"selectors":[{"extractAttribute":"style","id":"links","multipleType":"singleColumnWithSeparator","parentSelectors":["_root"],"selector":".olapic-carousel li","type":"SelectorElementAttribute","version":2}]}


Unfortunately, no! The "links" field is empty.

Try it with a longer delay, since the links are not immediately loaded

Yeah, great, I set it to 9000 and it worked (5000 doesn't always work, 2000 never does). I'll definitely try this solution. Previously, I always used HTML for such blocks and then cleaned up the content.
But here's another question: how do I switch between these two products?
image

Can I ask another question? How did you find these parameters? My brain is exploding, I can't find or understand them.

".olapic-carousel li"
and
"extractAttribute":"style"

Sorry, for the late reply. I just clicked 'Inspect' on one of the relevant images. From the HTML I concluded that the image URLs are contained in the 'Style' attribute of each 'li' element of the 'olapic-carousel' list:

Here is a reference for clicking through the variants:

{"_id":"visualcomfort-com-variants","startUrl":["https://www.visualcomfort.com/eu/utopia-round-sconce-eu-kw4050/?selected_product=KW%204050AI-FR-EU#1651=53511&2461=36341"],"selectors":[{"clickActionType":"real","clickElementSelector":"a.configurable-thumbnail","clickElementUniquenessType":"uniqueCSSSelector","clickType":"clickOnce","delay":2000,"discardInitialElements":"discard-when-click-element-exists","id":"click_option","multiple":true,"parentSelectors":["_root"],"selector":"body","type":"SelectorElementClick"},{"extractAttribute":"data-product-name","id":"option_name","multiple":false,"multipleType":"singleColumn","parentSelectors":["click_option"],"selector":".configurable-thumbnail.active","type":"SelectorElementAttribute","version":2},{"extractAttribute":"data-product-sku","id":"option_sku","multiple":false,"multipleType":"singleColumn","parentSelectors":["click_option"],"selector":".configurable-thumbnail.active","type":"SelectorElementAttribute","version":2}]}