We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
AdaptivePlaywrightCrawler
1 parent 54b6b0f commit b400482Copy full SHA for b400482
src/crawlee/crawlers/_adaptive_playwright/_adaptive_playwright_crawler.py
@@ -157,7 +157,9 @@ def __init__(
157
if 'concurrency_settings' not in kwargs or kwargs['concurrency_settings'] is None:
158
kwargs['concurrency_settings'] = ConcurrencySettings(desired_concurrency=1)
159
160
- super().__init__(statistics=statistics, **kwargs)
+ adaptive_statistics = statistics or Statistics(state_model=AdaptivePlaywrightCrawlerStatisticState)
161
+
162
+ super().__init__(statistics=adaptive_statistics, **kwargs)
163
164
# Sub crawlers related.
165
playwright_crawler_specific_kwargs = playwright_crawler_specific_kwargs or {}
0 commit comments