Tool v1.0.0

stealthy-google-search

通过 Scrapling 的 StealthyFetcher/StealthySession 进行 Google 搜索,用于执行 Google 查询并返回干净的前几条结果标题和链接(纯文本或 JSON...

ClawHub 更新于 2026-03-23 13 浏览
下载 SKILL

技能说明

通过 Scrapling 的 StealthyFetcher/StealthySession 进行 Google 搜索,用于执行 Google 查询并返回干净的前几条结果标题和链接(纯文本或 JSON 格式)。包含一个确定性的安装脚本,用于设置本地虚拟环境并安装 Scrapling 的获取器和浏览器。

使用场景

Run Google searches via Scrapling’s stealthy fetcher to extract clean top-result titles and links in plain text or JSON

查看英文原始说明

Google search via Scrapling’s StealthyFetcher/StealthySession. Use to run Google queries and return clean top-result titles + links (plain text or JSON). Includes a deterministic install script that sets up a local venv and installs Scrapling fetchers + browsers.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/stealthy-google-search
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

5 个文件 · 14 kB
SKILL.md text/markdown
---
name: stealthy-google-search
description: Google search via Scrapling’s StealthyFetcher/StealthySession. Use to run Google queries and return clean top-result titles + links (plain text or JSON). Includes a deterministic install script that sets up a local venv and installs Scrapling fetchers + browsers.
metadata: {"openclaw":{"homepage":"https://github.com/D4Vinci/Scrapling","requires":{"bins":["python3"]}}}
---

# Stealthy Google Search (Scrapling)

This skill provides **one job**: do Google searches reliably and return the top result titles + URLs.

It ships two scripts:
- `{baseDir}/scripts/install.sh` → installs dependencies into a local venv (recommended).
- `{baseDir}/scripts/google_search.py` → runs the search and prints results.

## Install (recommended)

Run:

```bash
bash {baseDir}/scripts/install.sh
```

What it does:
- Creates a venv at `{baseDir}/.venv`
- Installs `scrapling[fetchers]`
- Runs `scrapling install` (downloads Playwright browsers + system deps)

## Usage (plain text)

```bash
{baseDir}/.venv/bin/python {baseDir}/scripts/google_search.py \
  --query "Top Indian universities" \
  --top 10 \
  --hl en \
  --gl in
```

## Usage (JSON)

```bash
{baseDir}/.venv/bin/python {baseDir}/scripts/google_search.py \
  --query "Top Indian universities" \
  --top 10 \
  --hl en \
  --gl in \
  --json
```

## Requirements / gotchas

- Python **3.10+**
- Disk space for Playwright browsers (the install step downloads them)
- Some environments require `sudo` for Playwright **system** dependencies. The installer will attempt `sudo` if available.
- Google can rate-limit/block; this skill uses Scrapling’s stealth browser fetcher, but no scraper is 100% unblockable.

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。