Skip to content

Commit 9e8aebc

Browse files
committed
Remove statistics param for AdaptivePlaywrightCrawler in HTTP crawlers guide
1 parent 2d5a571 commit 9e8aebc

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

docs/guides/code_examples/http_crawlers/selectolax_adaptive_run.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22

33
from crawlee.crawlers import (
44
AdaptivePlaywrightCrawler,
5-
AdaptivePlaywrightCrawlerStatisticState,
65
AdaptivePlaywrightCrawlingContext,
76
)
8-
from crawlee.statistics import Statistics
97

108
from .selectolax_parser import SelectolaxLexborParser
119

@@ -15,8 +13,6 @@ async def main() -> None:
1513
max_requests_per_crawl=10,
1614
# Use custom Selectolax parser for static content parsing.
1715
static_parser=SelectolaxLexborParser(),
18-
# Set up statistics with AdaptivePlaywrightCrawlerStatisticState.
19-
statistics=Statistics(state_model=AdaptivePlaywrightCrawlerStatisticState),
2016
)
2117

2218
@crawler.router.default_handler

0 commit comments

Comments
 (0)