*** Describe the problem ***
The following sitemap works perfectly if there're less than 600 elements.
If there are more – that same sitemap finishes scrapping but doesn't return any data.
The page is structured with an infinite scroll. Initially 40 elements (contacts) are displayed and with every scroll 40 more are displayed.
At the beginning I thought that the issue could be caused by the number of contacts. I have more than 2,000 contacts so it takes a bit longer to load new contacts every time that a new scroll is done. I tried the scrapping with the following settings:
– Request interval (ms): 10000
– Page load delay (ms): 10000
And I also tried adding a delay in the
– Type: Element Scroll Down (Delay (ms): 10000
*** QUESTIONS ***
(1) If it's due to the page load; wouldn't it be reasonable to get data even if it stops before getting to the last contact? Currently the sitemap returns no data with long lists
(2) What could be causing the sitemap to work perfectly with short lists of elements and not getting any data with long lists?
Thanks!
*** Url ***
www. linkedin.com/mynetwork/invite-connect/connections/
*** Sitemap ***
{"_id":"linkedin-contacts","startUrl":["https://www.linkedin.com/mynetwork/invite-connect/connections/"],"selectors":[{"id":"element-contacto","type":"SelectorElementScroll","parentSelectors":["_root"],"selector":"div.mn-connection-card__details","multiple":true,"delay":"2000"},{"id":"url","type":"SelectorLink","parentSelectors":["element-contacto"],"selector":"a","multiple":false,"delay":0}]}
