Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchWithBrowser ¶
FetchWithBrowser uses a headless Chromium browser to fetch a URL, waiting for JavaScript to render the page before returning the HTML. Chromium is auto-downloaded to ~/.cache/rod/ on first use.
If the page contains iframes (e.g. HuggingFace Spaces, embedded apps), it captures iframe content and returns the richest HTML found.
Types ¶
Click to show internal directories.
Click to hide internal directories.