recordFailure method
Records a failed scrape for the given URL with the error message
Implementation
void recordFailure(String url, String errorMessage) {
final domain = _extractDomain(url);
if (domain == null) return;
_siteReputations.putIfAbsent(domain, () => SiteReputation(domain));
_siteReputations[domain]!.recordFailure(errorMessage);
_pruneOldEntries();
}