I’m developing a bot to scrape phone numbers from Google map. I’m unable to find the proper selector to scrape the phone number. I tried Attach live elements. For few Companies the bot is scraping the phone number but some times it scrapes the nearby fields. Can someone help me with this?
Eg:
Cognizant Technology Solutions Can-10008
5140 Yonge St 7th floor, North York, ON M2N 6L7, Canada
Scrapped Number : +1 416-649-4700
W. D. Potato Ltd Us
3644 Sideroad 10, Beeton, ON L0G 1A0, Canada
I have tested for all of the locations you provided, it’s working on my machine.
Please make sure phone number is available on the screen after address search without any other popup or screen.