一键导入
obscura-fetch
Fetch a single web page using Obscura headless browser. Best for public, read-only pages. Returns HTML, plain text, links, or JS-evaluated results.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Fetch a single web page using Obscura headless browser. Best for public, read-only pages. Returns HTML, plain text, links, or JS-evaluated results.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Recursive web crawling with depth control, pagination detection, and sitemap discovery. Use for comprehensive site coverage when you need to follow links across multiple levels.
Multi-step web data collection pipeline using Obscura. Combines fetch + scrape for discover-then-collect workflows. Use when you need to crawl a site systematically.
Scrape multiple URLs in parallel using Obscura. Use when you have a list of URLs to process in batch. Returns JSON or text per URL.
基于 SOC 职业分类
| name | obscura-fetch |
| description | Fetch a single web page using Obscura headless browser. Best for public, read-only pages. Returns HTML, plain text, links, or JS-evaluated results. |
Fetch a URL with Obscura and return the content. Use this for single-page read operations — documentation, articles, public data pages.
/obscura-fetch <url> [--dump html|text|links] [--eval <js>] [--selector <css>] [--stealth]
| Goal | Flag |
|---|---|
| Read article / docs | --dump text |
| Extract links | --dump links |
| Get raw HTML | --dump html (default) |
| Extract structured data | --eval "JSON.stringify(...)" |
| Wait for dynamic content | --selector <css> or --wait-until networkidle0 |
| Bot-detection suspected | --stealth |
obscura fetch <url> --quiet [options]
--stealth or --wait-until networkidle0.When a fetch returns unexpected results in an automated workflow:
| Symptom | Try |
|---|---|
| Empty body | --stealth |
| Bot detection page | --stealth --wait-until networkidle0 |
| SPA content missing | --selector <main-element> --wait-until networkidle0 |
| Redirect loop | Check final URL in output, fetch that directly |
| 403 Forbidden | --stealth with --user-agent "Mozilla/5.0..." |
Before adding a URL to a visited set, normalize it:
https://example.com/page#section → https://example.com/pagehttps://example.com/page/ → https://example.com/pageutm_source, utm_medium, fbclid, gclid# Read article as clean text
obscura fetch https://example.com --quiet --dump text
# Extract page title
obscura fetch https://example.com --quiet --eval "document.title"
# Extract all links
obscura fetch https://example.com --quiet --dump links
# Structured data extraction
obscura fetch https://news.ycombinator.com --quiet \
--eval "JSON.stringify(Array.from(document.querySelectorAll('.titleline > a')).map(a => ({title: a.textContent, url: a.href})))"
# Wait for SPA content
obscura fetch https://example.com --quiet --selector "#main-content" --dump text
# Stealth mode for bot-protected pages
obscura fetch https://example.com --quiet --stealth --dump text