From 9e8aebce6286c1876728e8d385935f85cb6d904c Mon Sep 17 00:00:00 2001 From: Max Bohomolov Date: Mon, 12 Jan 2026 19:54:16 +0000 Subject: [PATCH] Remove `statistics` param for `AdaptivePlaywrightCrawler` in `HTTP crawlers` guide --- .../code_examples/http_crawlers/selectolax_adaptive_run.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/guides/code_examples/http_crawlers/selectolax_adaptive_run.py b/docs/guides/code_examples/http_crawlers/selectolax_adaptive_run.py index 1419a51fed..c554e8db64 100644 --- a/docs/guides/code_examples/http_crawlers/selectolax_adaptive_run.py +++ b/docs/guides/code_examples/http_crawlers/selectolax_adaptive_run.py @@ -2,10 +2,8 @@ from crawlee.crawlers import ( AdaptivePlaywrightCrawler, - AdaptivePlaywrightCrawlerStatisticState, AdaptivePlaywrightCrawlingContext, ) -from crawlee.statistics import Statistics from .selectolax_parser import SelectolaxLexborParser @@ -15,8 +13,6 @@ async def main() -> None: max_requests_per_crawl=10, # Use custom Selectolax parser for static content parsing. static_parser=SelectolaxLexborParser(), - # Set up statistics with AdaptivePlaywrightCrawlerStatisticState. - statistics=Statistics(state_model=AdaptivePlaywrightCrawlerStatisticState), ) @crawler.router.default_handler