Перейти к содержимому

Scrape Data from Google Maps (in 2023) | Extract Leads & Phone Numbers

Web Scraping with Franek

0:00 / 0:00

Scrape Data from Google Maps (in 2023) | Extract Leads & Phone Numbers

97 362 просмотра · 3 г. назад
Web Scraping with Franek
2,08 тыс. подписчиков
97 362 просмотра · 3 г. назад
🚀 Want to extract business leads from Google Maps? In this video, I’ll show you how to scrape phone numbers, ratings, categories, addresses, and more using Octoparse, a no-code web scraping tool. 🔹 What you'll learn: ✅ How to extract phone numbers from Google Maps ✅ How to automate scrolling and pagination ✅ How to use XPath for accurate data extraction ✅ How to avoid IP bans with delays and best practices 📌 Timestamps: 00:00 - Introduction 00:07 - Why this tutorial is different 00:29 - What data can you extract? 01:00 - Setting up Octoparse for Google Maps 01:36 - Handling popups and saving cookies 02:20 - Using XPath for accurate extraction 02:50 - Creating a loop to click on listings 03:31 - Automating scrolling for more results 04:44 - Setting up pagination 05:52 - Extracting business details (title, phone, rating, etc.) 06:49 - Exporting your data into Excel 08:10 - Avoiding bans: Adding timeouts & delays 09:24 - Final steps and best practices 🔗 Resources & Special Offers: 📥 Download Octoparse: https://bit.ly/3F3r3rl (Get 20% off with coupon REP20) 🎯 Get your first 100 B2B leads for free: https://scrap.id/s/1xY 📩 For a Web Scraping request: fdufaurboidin@gmail.com 🛠 XPaths used in this tutorial: 🔹 Scroll Area: //div[@role="feed"] 🔹 Loop Items: //div[@role="article"] 🔹 Title: //div[@role="main" and @aria-label]//h1[@class="DUwDvf fontHeadlineLarge"] 🔹 Rating: //div[@role="main" and @aria-label]//div[@jsaction="pane.rating.moreReviews"]//span[@aria-hidden] 🔹 Reviews: //div[@role="main" and @aria-label]//div[@jsaction="pane.rating.moreReviews"]//span[contains(text(),"review")] 🔹 Category: //div[@role="main" and @aria-label]//button[@jsaction="pane.rating.category"] 🔹 Address: //div[@role="main" and @aria-label]//button[@data-item-id="address"] 🔹 Opening Hours: //div[@role="main" and @aria-label]//img[@aria-label="Hours"]/../following-sibling::div[1]//tbody 🔹 Website: (//div[@role="main" and @aria-label]//a[@data-tooltip="Open website"])[1] 🔹 Phone Number: (//div[@role="main" and @aria-label]//button[@data-tooltip="Copy phone number"])[1] 🔹 Photos: //div[@role="main" and @aria-label]//div[@class="YkuOqf"] 🔥 Don't forget to like, subscribe, and comment if you found this tutorial helpful! #WebScraping #GoogleMaps #Octoparse #LeadGeneration