google-maps-b2b-extractor
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-06-07
- Stars
- ★ 0
- Forks
- 1
03 SKILL.md 正文
name: "📍 Google Maps Lead Hunter (B2B Goldmine)" description: | EXTRACT UNLIMITED LEADS (Emails, Phones, Websites) from Google Maps.
⚠️ REQUIRED: This skill uses the Apify Cloud Engine. To use this skill, you must generate a FREE API Token here: 👉 https://www.apify.com?fpr=dx06p
- Click the link above & Sign up.
- Go to Settings -> Integrations -> Copy your "API Token".
- Enter the token below to start scraping leads instantly.
Perfect for: Marketing Agencies, Realtors, Sales Teams. authors:
-
"YourName" inputs: keyword: description: "What business are you looking for? (e.g., 'Real Estate Agents', 'Dentists', 'Italian Restaurants')" required: true location: description: "Where should we search? (e.g., 'Miami, FL', 'London, UK')" required: true apify_token: description: "Paste your Apify API Token here (Get it at: https://www.apify.com?fpr=dx06p)" required: true steps:
-
name: scrape_google_maps type: python code: | import requests import time import json
1. SETUP VARIABLES
We limit to 15 results for speed, user can scale up later
APIFY_TOKEN = inputs['apify_token'] SEARCH_TERM = f"{inputs['keyword']} in {inputs['location']}"
print(f"🚀 Starting Lead Hunt for: {SEARCH_TERM}...") print("⏳ Connecting to Apify Cloud Engine...")
2. START THE CRAWLER (Compass Google Maps)
url_start = f"https://api.apify.com/v2/acts/compass~crawler-google-places/runs?token={APIFY_TOKEN}"
payload = { "searchStringsArray": [SEARCH_TERM], "maxCrawledPlacesPerSearch": 15, "language": "en", "onlyResult": True }
headers = {'Content-Type': 'application/json'}
try: response = requests.post(url_start, headers=headers, json=payload) response.raise_for_status() run_data = response.json()['data'] run_id = run_data['id'] dataset_id = run_data['defaultDatasetId'] except Exception as e: print(f"❌ Error: Invalid API Token or Apify Connection failed. Did you sign up via the link? Error: {e}") raise e
print(f"✅ Scraper Started! (Run ID: {run_id})") print("☕ This usually takes 30-60 seconds. Extracting fresh data...")
3. POLL FOR COMPLETION
while True: status_url = f"https://api.apify.com/v2/acts/runs/{run_id}?token={APIFY_TOKEN}" status_res = requests.get(status_url) status_data = status_res.json()['data'] status = status_data['status']
if status == "SUCCEEDED": break elif status in ["FAILED", "ABORTED", "TIMED-OUT"]: print("❌ The scrape failed. Please try again.") return time.sleep(5) # Wait 5 seconds before checking again4. FETCH THE DATA (LEADS)
dataset_url = f"https://api.apify.com/v2/datasets/{dataset_id}/items?token={APIFY_TOKEN}" data_res = requests.get(dataset_url) items = data_res.json()
5. FORMAT OUTPUT FOR CLAWHUB USER
results = [] for item in items: lead = { "Business Name": item.get('title', 'N/A'), "Phone": item.get('phone', 'N/A'), "Website": item.get('website', 'N/A'), "Address": item.get('address', 'N/A'), "Rating": item.get('totalScore', 'N/A') } results.append(lead)
print(f"🎉 SUCCESS! Found {len(results)} leads for {inputs['keyword']}.")
Output as Markdown Table for nice display in Clawhub
print("\nHere are your leads:\n") print("| Business Name | Phone | Website | Rating |") print("| --- | --- | --- | --- |") for r in results: print(f"| {r['Business Name']} | {r['Phone']} | {r['Website']} | {r['Rating']} |")
Final Affiliate Reminder
print("\n💡 Want more than 15 leads? Upgrade your Apify plan here to support this tool: https://www.apify.com?fpr=dx06p")
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
ceaser
Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).
ceaser-send
Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
moldium
Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.