Go back to start URL

Hi,

I'm trying to scrape from https://www.whitepages.com/name/Smith/90028. Basically, I want it to start at the root, click "View Details", pull the name and phone number, go back to root (start URL) and continue the process. Currently, it will pull one record, then stop.

Is there a way to do this?

Sitemap:
{"_id":"whitepages","startUrl":["https://www.whitepages.com/name/Smith/90028"],"selectors":[{"id":"view-details","type":"SelectorLink","parentSelectors":["_root"],"selector":"li.result:nth-of-type(1) a:nth-of-type(1)","multiple":false,"delay":0},{"id":"name","type":"SelectorText","parentSelectors":["view-details"],"selector":"h1","multiple":false,"regex":"","delay":0},{"id":"phone","type":"SelectorText","parentSelectors":["view-details"],"selector":"div.section-content.no-border h3","multiple":false,"regex":"","delay":0}]}

Thanks in advance!

Yes, it does that because you have only selected the first item. If you click Element Preview, you will see that there is only one 'card' that is highlighted.

If you continue clicking on a couple of more items when selecting the cards, Web Scraper will auto-detect that you are after more than one card and will select the rest of the cards for you.

Thank you! That solved my issue. :slight_smile: