Google Maps 데이터 스크래핑: 비즈니스 목록과 리뷰

Google Maps에서 비즈니스 목록과 리뷰 데이터를 스크래핑하는 방법. 프록시 설정, 데이터 파싱, 차단 방지, 대규모 수집 인프라를 설명합니다.

Google Maps 데이터 스크래핑: 비즈니스 목록과 리뷰

Google Maps 데이터의 가치

Google Maps는 비즈니스 정보, 리뷰, 평점, 영업시간, 연락처의 보고입니다. 리드 생성, 시장 조사, 경쟁 분석에 활용됩니다.

스크래핑 접근법

from proxyhat import ProxyHat
from playwright.sync_api import sync_playwright

client = ProxyHat(api_key="your_api_key")

def scrape_google_maps(query, location):
    with sync_playwright() as p:
        browser = p.chromium.launch(proxy={
            "server": "http://gate.proxyhat.com:8080",
            "username": "user", "password": "pass"
        })
        page = browser.new_page()
        page.goto(f"https://www.google.com/maps/search/{query}/@{location}")
        page.wait_for_selector("div.Nv2PK")
        # 비즈니스 목록 파싱
        listings = page.query_selector_all("div.Nv2PK")
        results = []
        for listing in listings:
            name = listing.query_selector("div.qBF1Pd")
            results.append(name.text_content() if name else "")
        browser.close()
        return results

차단 방지

  • 레지덴셜 프록시 사용
  • 요청 간 3-5초 간격
  • 헤드리스 브라우저로 JS 렌더링
  • 지역 매칭

핵심 요약

  • Google Maps 스크래핑에는 레지덴셜 프록시 + 헤드리스 브라우저가 필요합니다.
  • ProxyHat지역 타겟팅으로 정확한 로컬 데이터를 수집하십시오.

시작할 준비가 되셨나요?

AI 필터링으로 148개국 이상에서 5천만 개 이상의 레지덴셜 IP에 액세스하세요.

가격 보기레지덴셜 프록시
← 블로그로 돌아가기