-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Extract data
Ralph edited this page May 30, 2026
·
1 revision
--dump formats the page output without writing JavaScript.
obscura fetch https://example.com --dump html
obscura fetch https://example.com --dump text
obscura fetch https://example.com --dump markdown
obscura fetch https://example.com --dump links
obscura fetch https://example.com --dump assets
obscura fetch https://example.com --dump originalRendered HTML after JavaScript runs. Default.
obscura fetch https://news.ycombinator.com --dump html > hn.htmlPlain text. No markup.
obscura fetch https://en.wikipedia.org/wiki/Rust_(programming_language) --dump textMarkdown conversion: headings, lists, links, code blocks, images.
obscura fetch https://docs.example.com/page --dump markdown > page.mdEvery <a href> on the page, one per line.
obscura fetch https://example.com --dump linksEvery external resource (stylesheets, scripts, images, fonts, iframes), one per line.
obscura fetch https://example.com --dump assetsThe raw HTML the server sent, before JavaScript ran.
obscura fetch https://my-spa.example --dump original > before.html
obscura fetch https://my-spa.example --dump html > after.html
diff before.html after.html--dump runs after the wait condition:
obscura fetch https://my-spa.example --wait-until load --dump markdownobscura fetch https://example.com --dump markdown > example.md
obscura fetch https://example.com --dump text --quiet | wc -w