用途:该技能用于借助 Google 搜索查找律师事务所与法律服务执业机构,触发场景包括用户要求查找律所用于销售等任务。
主要能力:调用 Apify 上的 apidojo~google-search-scraper 抓取 Google 搜索结果。支持输入参数:startUrls(Google 搜索 URL 数组,可选,默认空)、searchTerms(关键词数组,可选,默认空)、countryCode(国家,可选,默认 US,如 US、GB、TR)、languageCode(语言,可选,如 en)、maxItems(所有查询返回结果上限,可选,默认不限)、maxPagesPerQuery(每个查询结果页数上限,可选,默认 1)、mobileResults(是否抓取移动端 SERP,可选,默认 false)、customMapFunction(用于转换每条输出对象的 JavaScript 函数,可选)。
使用方式:推荐用 scripts/run_actor.js 运行,例如: node scripts/run_actor.js --actor "apidojo~google-search-scraper" --input '{"searchTerms": ["personal injury law firm Dallas"], "countryCode": "US", "maxPagesPerQuery": 3}' 可加 --output results.csv --format csv 或 --output results.json --format json 保存结果。也可回退到 REST API: curl -X POST "https://api.apify.com/v2/acts/apidojo~google-search-scraper/runs" -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" -d '{"searchTerms": ["personal injury law firm Dallas"], "countryCode": "US", "maxPagesPerQuery": 3}' 若可用 Apify MCP,则用其 call_actor 工具,actor 为 apidojo~google-search-scraper。
评分与分类:按 snippet_has_legal_signals(含 law firm、attorneys、legal、lawyers、counsel、practice、LLP、PC,权重 0.50)、valid_domain(排除 avvo.com、findlaw.com、lawyers.com 等目录站,权重 0.30)、position_score(1 - position/总数,权重 0.20)计算得分;得分≥0.70 为 A 级 PRIME_PROSPECT,0.40–0.69 为 B 级 WARM_LEAD,低于 0.40 为 C 级 LOW_PRIORITY。
注意事项:Avvo、FindLaw、Martindale 为目录而非律所,需按域名过滤;搜索结果仅提供 URL 与摘要,不含电话或邮箱,只能作为初始名单;可按专业领域细化搜索词,如 immigration law firm、family law attorney Dallas;大型律所可能更难联系,可按摘要判断规模;同一律所可能出现在多个搜索词中,应按域名去重。具体收费、价格与更多限制资料暂未提供。