How to make infinite scroll + data scraper

Hello,

I try to scrape this site which is composed of infinite scroll. My approach was to do the infinite scroll and then click on each card and extract the info: number/name/email/website

But when I decide to launch the scrapper, I only have the infinite scroll that launches but no data scraper

Url: https://www.collectifdelafleurfrancaise.com/annuaire/

Sitemap:
{"_id":"fleuriste","startUrl":["https://www.collectifdelafleurfrancaise.com/annuaire/"],"selectors":[{"id":"scrolldown","type":"SelectorElementScroll","parentSelectors":["_root"],"selector":"div.image","multiple":true,"delay":2000},{"id":"link","type":"SelectorLink","parentSelectors":["scrolldown"],"selector":".card a","multiple":true,"delay":0},{"id":"ville","type":"SelectorText","parentSelectors":["link"],"selector":"p.adresse","multiple":false,"regex":"","delay":0},{"id":"num","type":"SelectorText","parentSelectors":["link"],"selector":"p.telephone","multiple":false,"regex":"","delay":0},{"id":"email","type":"SelectorText","parentSelectors":["link"],"selector":".email a","multiple":false,"regex":"","delay":0},{"id":"website","type":"SelectorText","parentSelectors":["link"],"selector":".site_web a","multiple":false,"regex":"","delay":0}]}

Thanks

Hello @Peslo

For the element scroll selector you took - "div.image", when you choose the selector you should have pressed "P" till you get "div.card" which is greater than "div.image" and can be used as a parent selector for the link. So to summarize this your sitemap did not work because in the code the link is under the card not under the image.

Sitemap example:

{"_id":"fleuriste","startUrl":["https://www.collectifdelafleurfrancaise.com/annuaire/"],"selectors":[{"id":"scrolldown","type":"SelectorElementScroll","parentSelectors":["_root"],"selector":"div.card","multiple":true,"delay":"1200"},{"id":"link","type":"SelectorLink","parentSelectors":["scrolldown"],"selector":"a","multiple":true,"delay":0},{"id":"ville","type":"SelectorText","parentSelectors":["link"],"selector":"p.adresse","multiple":false,"regex":"","delay":0},{"id":"num","type":"SelectorText","parentSelectors":["link"],"selector":"p.telephone","multiple":false,"regex":"","delay":0},{"id":"email","type":"SelectorText","parentSelectors":["link"],"selector":".email a","multiple":false,"regex":"","delay":0},{"id":"website","type":"SelectorText","parentSelectors":["link"],"selector":".site_web a","multiple":false,"regex":"","delay":0}]}