SiteReputation class

Represents the reputation of a website for scraping

Constructors

SiteReputation.new(String domain)
Creates a new SiteReputation for the given domain

Properties

domain String
The domain of the site
final
hashCode int
The hash code for this object.
no setterinherited
hasProblematicErrors bool
Checks if the site has any problematic error patterns
no setter
lastAccessTime DateTime
Gets the last access time
no setter
mostCommonErrorPattern String?
Gets the most common error pattern
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
successRate double
Gets the success rate (0.0 to 1.0)
no setter
totalAttempts int
Gets the total number of scrape attempts
no setter

Methods

hasErrorPattern(String pattern) bool
Checks if the site has the given error pattern
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
recordFailure(String errorMessage) → void
Records a failed scrape with the error message
recordSuccess() → void
Records a successful scrape
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited