跳到正文
Skillpedia
网页抓取7.2k · #13486

google-maps-scraper

它能做什么

这个技能指导 AI 在 Google Maps 上查找企业,例如某城市的牙医,并把他们的详细信息收集到结果文件中。适合为本地客户名单做准备的营销和销售团队。

适用场景

  • ✓当你需要某个城市本地企业的名单用于外联时。
  • ✓当你想从 Google Maps 的商家信息中获取联系方式、评分或评价时。
  • ✓当你想检查正在运行的 Google Maps 收集任务并查看结果时。

技能链接

https://github.com/gosom/google-maps-scraper/blob/main/skills/google-maps-scraper/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/gosom/google-maps-scraper/blob/main/skills/google-maps-scraper/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请在 Google Maps 上查找柏林的牙医,并给我一份包含他们电话号码和网站的表格。”

每周 5 个新技能,1 分钟读完。

工作原理

AI 会设置一个开源抓取工具的本地副本,该工具在 Docker 中运行,然后启动搜索、监控进度,并帮助你处理结果。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Google Maps Scraper

Turn a natural-language lead request into a validated local Google Maps crawl, monitor it, and help the user work with the results.

Resolve the directory containing this file as SKILL_DIR. Run bundled scripts from that directory; do not assume the current directory is the repository checkout.

Guardrails

  • Use plain language suitable for a nontechnical lead-generation or marketing user.
  • Never ask the user to paste proxy credentials into chat.
  • Never print, read back, summarize, or log proxy credentials.
  • Do not ask for conversational permission before routine in-scope actions such as version checks, query preparation, validation, Docker execution, monitoring, or result inspection. Run them directly. If the agent platform requires approval, batch operations and surface only unavoidable approval prompts.
  • Do not claim a proxy guarantees results or is required for every crawl.
  • Start with conservative depth and concurrency.
  • Preserve partial output when a crawl fails or is interrupted.
  • Do not expose raw logs unless a concise excerpt is necessary for diagnosis and contains no secrets.

Workflow

0. Refresh the workflow

At the beginning of every new skill workflow, run this exactly once without asking for confirmation:

bash "$SKILL_DIR/scripts/ensure-latest.sh"

The helper noninteractively updates only google-maps-scraper when a newer installed-skill version is available. Re-read SKILL.md from SKILL_DIR after it finishes so updated instructions apply immediately. If the check cannot reach the network, state briefly that the installed version will be used and continue.

1. Understand the request

Infer sensible defaults and ask only for missing essentials:

  1. Business type or search phrase
  2. Location
  3. Desired coverage: quick sample, normal search, or comprehensive area coverage

Default to English, CSV, no email extraction, no extra reviews, and shallow depth. Read query planning when translating the request into queries or choosing coverage.

Summarize the inferred configuration briefly before setup. Do not ask for confirmation when the intent and location are already clear.

2. Offer the proxy choice

Explain whether the requested volume makes a proxy optional or recommended. Ask the user to choose one path:

  1. Use an existing proxy
  2. See proxy sponsor recommendations
  3. Continue without a proxy

If the user requests recommendations, run the following selector exactly once for this setup:

node "$SKILL_DIR/scripts/select-proxy-sponsors.mjs"

Display all three returned providers with equal formatting and neutral language. State clearly: These providers sponsor the project, and the links are referral links. Show offer only when the selector returns it. Never invent or modify an offer. Let the user reject all three, use another provider, or continue without a proxy.

Read proxy setup for the display template, safe credential flow, and selection failures.

3. Configure credentials safely

When the user has a proxy URL, run the masked local prompt:

bash "$SKILL_DIR/scripts/configure-proxy.sh"

The user enters credentials directly in the terminal. Do not request the value through chat. The helper returns a file path; use that path with --proxy-file. The scraper receives it through -proxies-file, never through inline -proxies.

If the agent surface cannot relay interactive terminal input, show the same command for the user to run in their own terminal and wait for it to finish. Never fall back to collecting credentials in chat.

Skip this phase when the user chooses no proxy.

4. Prepare queries and validate locally

Write one query per line to a descriptive file under /tmp. For a normal first run, create a separate validation file containing one representative query.

Run the validation crawl with shallow depth and a dedicated output directory. Use the bundled execution helper described in local execution. Include --proxy-file only when configured.

The helper starts Docker in the background. Tell the user that the validation has started, then inspect it with the status helper until it completes. A validation succeeds only when the container exits successfully and produces at least one result.

If validation fails, follow failure recovery before starting the full crawl.

5. Run

常见问题

我需要安装什么吗?

需要。该技能使用你电脑上的 Docker 运行抓取工具,并会指导你完成设置。

如果收集中途停止会怎样?

已收集的部分结果会被保留,因此目前为止的数据不会丢失。

它可以收集哪些信息?

描述中说明,它可以从 Google Maps 收集企业详情、邮箱、评价和评分。

详情

作者的原始描述

Find businesses, leads, emails, reviews, ratings, and contact details from Google Maps. Use for requests such as "find dentists in Berlin", "scrape Google Maps", "get local business leads", or "collect Google Maps reviews". Runs the open-source scraper locally with Docker and guides nontechnical users through setup, monitoring, and results.

repo: gosom/google-maps-scraper

热度

GitHub 星标
7.2k
排名
#13486
许可证
MIT
更新时间
2026/10/21

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

相似技能