| name | obscura |
| description | Web scraping and automation using the Obscura headless browser. |
Obscura Headless Browser
Obscura is a lightweight headless browser engine built in Rust for web scraping and AI agent automation. It bypasses bot protections, runs real JavaScript, and uses minimal resources.
It is available in the system PATH as obscura.
Fetch a page
Use obscura fetch to render a single page.
obscura fetch https://example.com --eval "document.title"
obscura fetch https://example.com --dump links
obscura fetch https://news.ycombinator.com --dump html
obscura fetch https://example.com --dump text
obscura fetch https://example.com --wait-until networkidle0
obscura fetch https://example.com --selector ".my-dynamic-element"
obscura fetch https://example.com --stealth --dump text
obscura fetch https://example.com --quiet --dump text
Scrape in parallel
Use obscura scrape to extract data from multiple URLs simultaneously.
obscura scrape url1 url2 url3 \
--concurrency 5 \
--eval "document.querySelector('h1').textContent" \
--format json
Tips for AI Agents
- When you need to read an article or the content of a web page, use
obscura fetch <url> --quiet --dump text to get clean, readable text.
- If the page is heavily protected, add the
--stealth flag to randomize fingerprints and bypass anti-bot challenges.
- Use
--eval to extract specific DOM elements, states, or variables instead of dumping the whole page.