shahin
Active Member
Hi there! Hope you all are doing well. While making a parser I noticed that Yellowpage Canada uses lazy loading method in their webpage. However, the issue I'm facing here is that the page contains 84 Names but my parser is scraping only 40 Names out of them. Is there any workaround from this? Any corrective measure from your end in my code would be a great help. Thanks in advance. Here is the code:
Code:
http.Open "GET", "http://www.yellowpages.ca/search/si/1/Outdoor%20wedding/Edmonton", False
http.send
html.body.innerHTML = http.responseText
Set topics = html.getElementsByClassName("listing__name--link jsListingName")
For Each topic In topics
Cells(x, 1) = topic.innerText
x = x + 1
Next topic