Scrape Data from Google Maps (in 2024)

Описание к видео Scrape Data from Google Maps (in 2024)

How to Scrape Phone Numbers from Google Maps using Octoparse.

Downloading Octoparse:
https://www.octoparse.com/download/

Scraping Emails on Google Maps (affiliate link) :
https://scrap.id/s/1xY

XPaths used:

Scroll: //div[@role="feed"]

Loop Item: //div[@role="feed"]//a[@aria-label and starts-with(@href, "https://www.google.com/maps")]

Title: (//div[@role="main" and @aria-label]//h1)[last()]
Rating: //*[following-sibling::span[contains(@aria-label, "star")][1]]
Reviews: //span[contains(@aria-label, "review") and contains(text(), "(")]
Category: //button[contains(@jsaction, "category")]
Address: //button[@data-item-id="address"]
Website: //a[contains(@aria-label, "Website")]
Phone_Number: //button[starts-with(@aria-label, "Phone:")]
Photos: //div[contains(text(), "photo")][preceding-sibling::img[1]]
Opening_Hours: //div[contains(@jsaction, "openhours")]/following-sibling::div[1]//table//td[position() LESS-THAN SIGN 3]//*[not(*)]

For any web scraping request:
[email protected]

Комментарии

Информация по комментариям в разработке