StreamingHtmlParser class
A streaming HTML parser that can process HTML incrementally
Constructors
- StreamingHtmlParser.new({ScrapingLogger? logger})
- Creates a new StreamingHtmlParser with the given parameters
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
extractDataStream(
{required Stream< List< htmlStream, required String selector, String? attribute, bool asText = true, int chunkSize = 1024 * 1024}) → Stream<int> >String> - Parses HTML content and extracts data using CSS selectors in a streaming fashion
-
extractStructuredDataStream(
{required Stream< List< htmlStream, required Map<int> >String, String> selectors, Map<String, String?> ? attributes, int chunkSize = 1024 * 1024}) → Stream<Map< String, String> > - Parses HTML content and extracts structured data using CSS selectors in a streaming fashion
-
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