Skip to content

Commit dc380a5

Browse files
authored
docs: Remove statistics param for AdaptivePlaywrightCrawler example in HTTP crawlers guide (#1671)
### Description - follow-up for #1637
1 parent bce2491 commit dc380a5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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)