Target class

Target to target specific type of URL.

Constructors

Target({required String name, required List<String> where, bool needsHtml = true, Cleaner? cleaner, bool minifyHtmlHead = false, bool minifyHtmlScripts = false, bool minifyHtmlStyles = false, bool minifyHtmlForms = false})

Properties

cleaner Cleaner?
Pre-clean the url before starting the scraper.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
minifyHtmlForms bool
Removes
getter/setter pair
minifyHtmlHead bool
Removes tag from HTML.
getter/setter pair
minifyHtmlScripts bool
Removes
getter/setter pair
minifyHtmlStyles bool
Removes
getter/setter pair
name String
Name of our target, parsers in Config should contain this value.
getter/setter pair
needsHtml bool
If we need to scrape HTML or just start scraper based on URL.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
where List<String>
List of parts of URL to target.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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