fetchHtml method
Fetches HTML content from the given URL
url is the URL to fetch
headers are additional headers to send with the request
timeout is the timeout for the request in milliseconds
retries is the number of retry attempts
Implementation
Future<String> fetchHtml({
required String url,
Map<String, String>? headers,
int? timeout,
int? retries,
}) {
return _scraper.fetchHtml(
url: url,
headers: headers,
timeout: timeout,
retries: retries,
);
}