Scaping only a small list while we have more

I trying to scrape present cources from Offres en alternance | La bonne alternance
Sitemap:
{"_id":"2nd","startUrl":["Offres en alternance | La bonne alternance span.css-jr3ivs","multiple":false,"regex":""},{"id":"description","parentSelectors":["link"],"type":"SelectorText","selector":"div.css-1ch3yip","multiple":false,"regex":""},{"id":"address","parentSelectors":["link"],"type":"SelectorText","selector":".chakra-text .chakra-text a.css-16t6dis","multiple":false,"regex":""},{"id":"training","parentSelectors":["link"],"type":"SelectorText","selector":"div:nth-of-type(3) div.css-1uiiogo","multiple":false,"regex":""},{"id":"phone","parentSelectors":["link"],"type":"SelectorText","selector":".chakra-text .chakra-text a.css-1k2m9cd","multiple":false,"regex":""}]}

check this sitemap...

{"_id":"2nd","startUrl":["https://labonnealternance.apprentissage.beta.gouv.fr/recherche?display=list&job_name=Management%2C%20support%20en%20banque%2C%20assurance&romes=C1104,C1106,C1107,C1108,C1205,C1204,C1302,C1202,C1203,C1207,C1109,C1303,C1401,C1206,C1101&radius=60&lat=48.859&lon=2.347&zipcode=75001&insee=75056&address=Paris&s=1744180521054"],"selectors":[{"elementLimit":0,"id":"link","multiple":true,"parentSelectors":["_root"],"scroll":true,"selector":"div[data-sentry-component=\"ItemElement\"] a","type":"SelectorElement"},{"id":"course","multiple":false,"parentSelectors":["link"],"regex":"","selector":"h2","type":"SelectorText"},{"id":"type","multiple":false,"parentSelectors":["link"],"regex":"","selector":"span.css-ulcbns","type":"SelectorText"},{"id":"institute","multiple":false,"parentSelectors":["link"],"regex":"","selector":"h3","type":"SelectorText"},{"id":"description","multiple":false,"parentSelectors":["link"],"regex":"","selector":"div.css-1ch3yip","type":"SelectorText"},{"id":"address","multiple":false,"parentSelectors":["link"],"regex":"","selector":"h3 + div","type":"SelectorText"}]}

Thanks for the help.
I think they changed the website. both the scaping codes are not working. I tried new once but at scroll it self the data is not extracted. Pls help

Hi,

Please try this setup:

{"_id":"2nd4","startUrl":["https://labonnealternance.apprentissage.beta.gouv.fr/recherche?display=list&job_name=Management%2C%20support%20en%20banque%2C%20assurance&romes=C1104,C1106,C1107,C1108,C1205,C1204,C1302,C1202,C1203,C1207,C1109,C1303,C1401,C1206,C1101&radius=60&lat=48.859&lon=2.347&zipcode=75001&insee=75056&address=Paris&s=1744180521054"],"selectors":[{"id":"link","linkType":"linkFromHref","multiple":false,"parentSelectors":["element-wrapper"],"selector":"a","type":"SelectorLink"},{"id":"course","multiple":false,"parentSelectors":["link"],"regex":"","selector":"h2","type":"SelectorText"},{"id":"type","multiple":false,"parentSelectors":["link"],"regex":"","selector":"span.css-ulcbns","type":"SelectorText"},{"id":"institute","multiple":false,"parentSelectors":["link"],"regex":"","selector":"h3","type":"SelectorText"},{"id":"description","multiple":false,"parentSelectors":["link"],"regex":"","selector":"div.css-1ch3yip","type":"SelectorText"},{"id":"address","multiple":false,"parentSelectors":["link"],"regex":"","selector":"h3 + div","type":"SelectorText"},{"elementLimit":0,"id":"element-wrapper","multiple":true,"parentSelectors":["_root"],"scroll":true,"selector":"div:has(>[data-sentry-component=\"ResultCard\"])","type":"SelectorElement"}]}

Hi, let me ask you just a little question...
Wht your construction (div:has([data-sentry-component="ResultCard"]) is working well,
but not [data-sentry-component="ResultCard"]

what is a significant difference ?

Hi, don2010

I will confirm this with devs, but it appears that the new scroll selector value has to match the elements that are on the same level. Using just [data-sentry-component="ResultCard"] goes one level deeper.

I got it, thank you very much )