Войти
  • 33022Просмотров
  • 1 год назадОпубликованоWeb Scraping with Franek

Scrape Data from Google Maps (in 2024) | Octoparse Tutorial

🚀 Extract Business Data from Google Maps in 2024! 🚀 Want to scrape Google Maps leads, including phone numbers, ratings, addresses, and websites? In this step-by-step tutorial, I’ll show you how to extract up to 120 businesses per search using Octoparse, along with the best techniques to bypass limitations and optimize scraping efficiency. 🔹 What You’ll Learn: ✅ How to extract business details (title, rating, reviews, website, phone number) ✅ Setting up scroll automation to load all businesses ✅ Using XPath formulas to precisely extract data ✅ How to click into detail pages to gather more information ✅ Scraping opening hours without breaking the structure ✅ How to merge extracted data for a clean, structured dataset 📌 Resources Mentioned: 🔗 Get your first 100 B2B leads for free: 🛠 Download Octoparse: (20% discount with code REP20) 📩 Need custom web scraping? Contact me: fdufaurboidin@ 🖥 XPaths Used in This Video: 🔹 Scroll Area: //div[@role="feed"] 🔹 Loop Item (Business URL): //div[@role="feed"]//a[@aria-label and starts-with(@href, " ")] 🔹 Title: (//div[@role="main" and @aria-label]//h1)[last()] 🔹 Rating: //*[following-sibling::span[contains(@aria-label, "star")][1]] 🔹 Reviews Count: //span[contains(@aria-label, "review") and contains(text(), "(")] 🔹 Category: //button[contains(@jsaction, "category")] 🔹 Address: //button[@data-item-id="address"] 🔹 Website URL: //a[contains(@aria-label, "Website")] 🔹 Phone Number: //button[starts-with(@aria-label, "Phone:")] 🔹 Photos Count: //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(*)] ⏳ Timestamps: 00:00 Introduction – Scraping Google Maps in 2024 00:17 Understanding Google Maps' 120-results limit 00:41 Setting Up the Scroll Automation in Octoparse 02:05 Extracting Business URLs for Batch Processing 03:38 Configuring XPath for Data Extraction (Title, Rating, Reviews) 06:12 Handling Phone Numbers & Cleaning Data 07:45 Scraping Opening Hours Efficiently 10:55 Running & Exporting the Scraped Data 12:30 Common Issues & How to Fix Them 13:45 Scaling Up – How to Extract More Data Beyond 120 Results 👍 Like & Subscribe if this helped you! Have questions about Google Maps scraping? Drop them in the comments! #WebScraping #Octoparse #GoogleMaps #DataExtraction #Automation