pub async fn fetch_html(url: &str) -> Result<String>Expand description
Fetch HTML content from a URL
This function makes a simple HTTP GET request to fetch the HTML content.
For JavaScript-heavy pages, use render_html instead.
§Arguments
url- The URL to fetch
§Returns
The HTML content as a string
§Errors
Returns an error if the fetch fails or the response cannot be decoded