IRenderingTypePredictor
experimental
Implemented by
Index
Methods
Methods
predict
- experimental
Predict the rendering type for a request, and how likely the crawler should be to verify it.
Parameters
request: CrawleeRequest<Dictionary>
Returns { detectionProbabilityRecommendation: number; renderingType: RenderingType }
detectionProbabilityRecommendation: number
renderingType: RenderingType
storeResult
- experimental
Report a detected rendering type, so that future predictions can take it into account.
Parameters
requests: CrawleeRequest<Dictionary> | CrawleeRequest<Dictionary>[]
renderingType: RenderingType
Returns void
Minimal contract that any object passed to AdaptivePlaywrightCrawler as its
renderingTypePredictoroption must satisfy.