Multiple urls - same information on each page - not scraping

Hi,

I'm trying to scrape some names and addresses from whitepages.com. I have the url for each name and I've set up Webscraper with three urls to test. I have the script set up to click the details link and then scrape the name, address, and town as text. My problem is that only one name and address is produced. The other two links are null. I must be missing something simple. All i'm doing is click once for each url and then scraping three lines of text. It works fine on just one url. Any help is appreciated.

Sitemap:
{"_id":"territory","startUrl":["https://www.whitepages.com/name/Ravin-S-Acharya/Springfield-MA/12k5q7mf","https://www.whitepages.com/name/Tek-N-Acharya-Sr./West-Springfield-MA/8kigdx0","https://www.whitepages.com/name/Narayan-Acharya/West-Springfield-MA/tp5v2e1"],"selectors":[{"id":"details","type":"SelectorLink","parentSelectors":["_root"],"selector":"li.result a.btn","multiple":false,"delay":0},{"id":"address","type":"SelectorText","parentSelectors":["details"],"selector":"span.address-primary","multiple":false,"regex":"","delay":0},{"id":"town","type":"SelectorText","parentSelectors":["details"],"selector":"span.address-location","multiple":false,"regex":"","delay":0},{"id":"name","type":"SelectorText","parentSelectors":["details"],"selector":"h1","multiple":false,"regex":"","delay":0}]}

1 Like

Your second link goes right to the details page, while your code is trying to click on that first (more details) selector from the main page of your first link

Thank you for helping. I just noticed my mistake. The first url was wrong. All is good now.
Thanks again.