forceRefresh property

bool forceRefresh
getter/setter pair

Whether to force a fresh HTTP request even if HTML is provided.

If true, the scraper will always fetch fresh HTML from the URL, ignoring any pre-provided HTML content. This is useful when you want to ensure you're getting the latest version of the page.

Defaults to false.

Implementation

bool forceRefresh;