cloak_get_text
Retrieve visible plain text from any URL using a stealth Chromium browser. Executes JavaScript to capture dynamic content, with options for anti-detection and CSS selector filtering.
Instructions
用隱形 Chromium 開啟 url 並回傳可見純文字(適合餵給 LLM 分析)。
會執行 JavaScript,能拿到 SPA / 動態渲染後的內容。需要繞過 Cloudflare / reCAPTCHA 時,設定 proxy(住宅代理)+ geoip=True + humanize=True,必要時 headless=False。
Args: url: 目標網址。 selector: 只取此 CSS selector 的 innerText;省略則取整個 。 wait_selector: 導航後等待此元素出現再擷取(給動態內容用)。 wait_ms: 導航後額外固定等待毫秒數。 wait_until: load | domcontentloaded | networkidle | commit。 max_chars: 內容上限,超過會截斷並標記 truncated。 humanize / proxy / geoip / headless / timezone / locale: 反偵測設定。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| selector | No | ||
| wait_selector | No | ||
| wait_ms | No | ||
| wait_until | No | domcontentloaded | |
| timeout_ms | No | ||
| max_chars | No | ||
| humanize | No | ||
| headless | No | ||
| proxy | No | ||
| geoip | No | ||
| timezone | No | ||
| locale | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |