We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
statistics
AdaptivePlaywrightCrawler
HTTP crawlers
1 parent bce2491 commit dc380a5Copy full SHA for dc380a5
docs/guides/code_examples/http_crawlers/selectolax_adaptive_run.py
@@ -2,10 +2,8 @@
2
3
from crawlee.crawlers import (
4
AdaptivePlaywrightCrawler,
5
- AdaptivePlaywrightCrawlerStatisticState,
6
AdaptivePlaywrightCrawlingContext,
7
)
8
-from crawlee.statistics import Statistics
9
10
from .selectolax_parser import SelectolaxLexborParser
11
@@ -15,8 +13,6 @@ async def main() -> None:
15
13
max_requests_per_crawl=10,
16
14
# Use custom Selectolax parser for static content parsing.
17
static_parser=SelectolaxLexborParser(),
18
- # Set up statistics with AdaptivePlaywrightCrawlerStatisticState.
19
- statistics=Statistics(state_model=AdaptivePlaywrightCrawlerStatisticState),
20
21
22
@crawler.router.default_handler
0 commit comments