PaginationHandler class

A class for handling pagination in web scraping

Constructors

PaginationHandler.new({required WebScraper webScraper, Logger? logger})
Creates a new PaginationHandler

Properties

hashCode int
The hash code for this object.
no setterinherited
logger Logger?
Logger for logging operations
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scrapeWithPagination<T>({required String url, required PaginationConfig config, required Future<T> extractor(String html, String pageUrl), Map<String, String>? headers, int? timeout, int? retries}) Future<PaginationResult<T>>
Scrapes multiple pages with pagination
toString() String
A string representation of this object.
inherited

Operators

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