Google Maps Contact Extract 标志

Google Maps Contact Extract

组织热门
browser-act
google-maps-contact-extract

Extracts business contact details from Google Maps search results and place detail pages, then visits each business website to collect emails, phone numbers, and social media profiles (Facebook, Instagram, Twitter/X, LinkedIn, YouTube, TikTok, Pinterest, Discord). Use when user mentions Google Maps contact extraction, maps email scraper, business lead generation from Google Maps, find emails from maps, scrape Google Maps businesses, maps business contacts, get phone from Google Maps, social media from maps listing, competitor research from maps, local business contact list, maps data export, google maps scraper, extract contacts from google maps, find business email google, gmaps leads, maps email finder, or wants to replicate Google Maps business data extraction.

概览

发布者browser-act
代码仓库skills
技能名称google-maps-contact-extract
星标数
5.9K
复刻数
295
附带文件
3
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 3 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 browser-act 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Google Maps Contact Extract AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/browser-act/skills/tree/main/solutions/lead-generation/google-maps-contact-extract
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/browser-act/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/solutions/lead-generation/google-maps-contact-extract .claude/skills/google-maps-contact-extract
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Google Maps Contact Extract,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Google Maps Contact Extract。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Google Maps Contact Extract 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Google Maps — Contact Extractor

keyword + location → business list with name/address/phone/website + email/social media/contacts from each business's website

Language

All process output to user (progress updates, process notifications) follows the user's language.

Objective

Search Google Maps by keyword and location, collect place details from each result, visit each business's website to extract emails and social media profiles, and return a merged dataset replicating Google Maps Email Extractor functionality.

Prerequisites

  • For search: navigate to https://www.google.com/maps/search/{keyword}/@{lat},{lng},{zoom}z — the search results sidebar (feed) must be visible
  • For place detail: navigate to the individual place URL https://www.google.com/maps/place/?q=place_id:{place_id} — the place sidebar with name, address, phone must be visible
  • For website contact extraction: navigate to the business's website homepage
  • No login required for Google Maps or most business websites

Pre-execution Checks

1. Tool Readiness

If browser-act has been confirmed available in the current session → skip this step.

Invoke browser-act via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.

Capability Components

This Skill's operational boundary = what the user can manually do in their browser. It only reads data already displayed to the user on the page, never bypassing authentication or access controls. JS code is encapsulated in Python files under the scripts/ directory, invoked via eval "$(python scripts/xxx.py {params})". It is recommended to use the bash tool for execution. Working directory: all python scripts/ commands must be run from the Skill's root directory (the directory containing SKILL.md and scripts/). Use cd {skill-directory} before running batch scripts, or use absolute paths: python {absolute-path-to-scripts}/xxx.py.

DOM: Search results list — extract business cards from Google Maps search feed

Prerequisite: navigate to and wait for Google Maps search results to load, then extract all visible business cards.

navigate https://www.google.com/maps/search/{keyword}/@{lat},{lng},{zoom}z
wait stable
eval "$(python scripts/search-places.py '{keyword}' --max {max_count})"

Parameters:

  • {keyword}: search term, e.g. coffee shops
  • --max: maximum number of places to extract, default 20
  • {lat},{lng}: center coordinates, e.g. 40.7580,-73.9855
  • {zoom}: zoom level, e.g. 14

Output example:

json
{
  "keyword": "coffee shops",
  "count": 20,
  "places": [
    {
      "name": "Blue Dove Coffee",
      "rating": 4.8,
      "review_count": "292",
      "category": "Coffee shop",
      "price_range": null,
      "phone": null,
      "open_status": "Closed · Opens 7 AM",
      "place_id": "0xa5922b78cc420fb1:0x535506dc9cdb2cec",
      "lat": 40.7368708,
      "lng": -73.9909297,
      "maps_url": "https://www.google.com/maps/place/Blue+Dove+Coffee/data=..."
    }
  ]
}

Pagination: Google Maps loads ~20 results per view. Scroll down in the results panel to trigger loading of additional results, then re-run the extraction script. Repeat until desired count is reached.

scroll down --amount 3000
wait stable
eval "$(python scripts/search-places.py '{keyword}' --max {total_count})"

DOM: Place detail — extract full business info from a Google Maps place page

Prerequisite: navigate to the place page and wait for the sidebar to load with name, address, and phone visible.

navigate https://www.google.com/maps/place/?q=place_id:{place_id}
wait stable
wait --selector "h1" --state visible --timeout 15000
eval "$(python scripts/place-detail.py)"

Alternatively, navigate directly using the maps_url returned from the search results component.

Output example:

json
{
  "place_id": "0xa5922b78cc420fb1:0x535506dc9cdb2cec",
  "name": "Blue Dove Coffee",
  "rating": 4.8,
  "review_count": 292,
  "category": "Coffee shop",
  "address": "33 Union Square W, New York, NY 10003",
  "located_in": null,
  "phone": "(646) 939-0937",
  "website": "https://www.bluedovecoffee.com/",
  "menu_url": "https://order.dripos.com/Blue-Dove-Coffee",
  "price_range": "$1–10",
  "coordinates": { "lat": 40.7368708, "lng": -73.9909297 },
  "hours": [
    "Monday7 AM–5 PM",
    "Tuesday7 AM–5 PM",
    "Wednesday7 AM–5 PM",
    "Thursday7 AM–5 PM",
    "Friday7 AM–5 PM",
    "Saturday7 AM–5 PM",
    "Sunday7 AM–4 PM"
  ],
  "service_options": ["Serves dine-in", "Offers takeout", "Offers delivery"],
  "amenities": ["Has wheelchair accessible entrance", "Accepts credit cards", "Accepts NFC mobile payments"],
  "maps_url": "https://www.google.com/maps/place/..."
}

DOM: Website contacts — extract emails, phones, social media from a business website

Prerequisite: navigate to the business website homepage.

navigate {website_url}
wait stable
eval "$(python scripts/extract-contacts.py --depth shallow)"

For deeper extraction (also scans contact/about subpages), use --depth deep. After running with --depth deep, check contact_subpages in the output, then navigate to each and re-run:

navigate {subpage_url}
wait stable
eval "$(python scripts/extract-contacts.py --depth shallow)"

Parameters:

  • --depth: shallow (homepage only, default) or deep (also discovers and lists contact/about subpage URLs)

Output example:

json
{
  "source_url": "https://www.bluedovecoffee.com/",
  "emails": ["support@bluedovecoffee.com", "careers@bluedovecoffee.com", "orders@bluedovecoffee.com"],
  "phone_numbers": [],
  "social_media": {
    "facebook": ["https://www.facebook.com/people/Blue-Dove-Coffee/100094867009022"],
    "instagram": ["https://www.instagram.com/bluedovecoffee"],
    "tiktok": ["https://www.tiktok.com/@bluedovecoffee"]
  },
  "contact_subpages": []
}

Composite: Full pipeline — search + place details + website contacts

Complete flow replicating Google Maps Email Extractor:

  1. Navigate to Google Maps search:

    navigate https://www.google.com/maps/search/{keyword}/@{lat},{lng},{zoom}z
    wait stable
    eval "$(python scripts/search-places.py '{keyword}' --max {max_count})"

    Save list of places (especially name, maps_url, place_id).

  2. For each place: navigate to place detail page and extract full info:

    navigate {maps_url}
    wait stable
    wait --selector "h1" --state visible --timeout 15000
    eval "$(python scripts/place-detail.py)"

    Collect website, phone, address, hours, rating, etc.

  3. For each place with a website value: extract contacts from the website:

    navigate {website}
    wait stable
    eval "$(python scripts/extract-contacts.py --depth deep)"

    For each URL in contact_subpages, navigate and extract again to find additional emails.

  4. Merge results: join by place_id or name. Final record per business:

    json
    {
      "name": "Blue Dove Coffee",
      "address": "33 Union Square W, New York, NY 10003",
      "phone": "(646) 939-0937",
      "website": "https://www.bluedovecoffee.com/",
      "rating": 4.8,
      "review_count": 292,
      "category": "Coffee shop",
      "coordinates": { "lat": 40.7368708, "lng": -73.9909297 },
      "hours": ["Monday7 AM–5 PM", "..."],
      "service_options": ["Serves dine-in", "Offers takeout"],
      "emails": ["support@bluedovecoffee.com"],
      "social_media": {
        "instagram": ["https://www.instagram.com/bluedovecoffee"],
        "tiktok": ["https://www.tiktok.com/@bluedovecoffee"]
      }
    }

Pagination

DOM Pagination: Google Maps search loads ~20 results initially. Scroll down in the sidebar:

scroll down --amount 3000
wait stable
eval "$(python scripts/search-places.py '{keyword}' --max {total_count})"

Repeat until the desired number of results is reached. Termination: Google Maps typically shows up to ~120 results per search; the sidebar will show "You've reached the end of the results" or stop loading new items.

Success Criteria

  • places.count >= 1 from search results extraction
  • Place detail returns name != null AND (address != null OR phone != null)
  • Website contact extraction returns emails.length + phone_numbers.length + Object.keys(social_media).length >= 0 (no contacts = valid result for businesses without public contact info)

Known Limitations

  • Google Maps search results are limited to approximately 120 businesses per search query; to get more, use more specific sub-area searches
  • Phone numbers on the Google Maps search list card are not always shown; place-detail.py on the individual place page is more reliable
  • Website contact extraction depends on the business's website structure; sites using image-based emails or obfuscated text will return no emails
  • Some businesses do not have a website listed on Google Maps; those cannot be enriched with contact data
  • Google Maps may throttle requests if too many place pages are navigated in rapid succession; add 1–2 second delays between place navigations in batch scripts

Execution Efficiency

  • Batch orchestration: Write a bash script that loops through the pipeline steps in a single session. Add a 1–2 second sleep between each place detail navigation to avoid triggering anti-scraping. Example:
    bash
    for place_url in "${place_urls[@]}"; do
      browser-act --session gmaps-s1 navigate "$place_url"
      browser-act --session gmaps-s1 wait stable
      browser-act --session gmaps-s1 eval "$(python scripts/place-detail.py)"
      sleep 1.5
    done
  • Test before batch execution: Test with 2–3 places before running the full batch
  • Error resumption: Save each place's result to a JSON file immediately after extraction; on failure, skip already-saved places by checking if the file exists
  • Multiple sessions for throughput: Open 2–3 parallel stealth browser sessions and distribute places across them; each session has an independent fingerprint

Experience Notes

Path: {working-directory}/browser-act-skill-forge-memories/google-maps-contact-extract.memory.md

Before execution: If the file exists, read it first — it records unexpected situations encountered during past executions (e.g., a strategy has become ineffective); adjust strategy order accordingly.

After execution: If an unexpected situation is encountered (strategy became ineffective, page redesigned, anti-scraping upgraded, better path discovered), append a line: {YYYY-MM-DD}: {what happened} → {conclusion}

Normal execution does not write to the file.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Google Maps Contact Extract AI 技能有什么作用?

Extracts business contact details from Google Maps search results and place detail pages, then visits each business website to collect emails, phone numbers, and social media profiles (Facebook, Instagram, Twitter/X, LinkedIn, YouTube, TikTok, Pinterest, Discord). Use when user mentions Google Maps contact extraction, maps email scraper, business lead generation from Google Maps, find emails from maps, scrape Google Maps businesses, maps business contacts, get phone from Google Maps, social media from maps listing, competitor research from maps, local business contact list, maps data export...

为什么在 TypingMind 中使用 Google Maps Contact Extract?

因为您只需安装一次,就能搭配任何模型使用。Google Maps Contact Extract 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Google Maps Contact Extract?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/browser-act/skills/tree/main/solutions/lead-generation/google-maps-contact-extract。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Google Maps Contact Extract?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Google Maps Contact Extract 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Google Maps Contact Extract 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Google Maps Contact Extract AI 技能免费吗?

是的。browser-act 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇