WebParser class
Used for parsing data from scraped HTML.
Constructors
Properties
-
extractedData
↔ Map<
String, Object> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
distributeParsers(
{required List< Parser> allParsers, required List<Parser> rootParsers, required Data parentData, required Uri? proxyUrl, required bool debug}) → Future<Map< String, Object> > - Helper function to distribute parsers
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parse(
{required Data scrapedData, required Config config, Uri? proxyUrl, bool debug = false}) → Future< Map< String, Object> > - Entrypoint
-
runParser(
{required Parser parser, required Data parentData, required Uri? proxyUrl, required bool debug}) → Future< Data?> - Run parser based on type
-
runParserAndExecuteOptional(
{required Parser parser, required Data parentData, required Uri? proxyUrl, required bool debug}) → Future< Data?> - Helper function to run parser and execute optional methods
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited