Skip to content

Commit 09c6624

Browse files
committed
Resolve
2 parents bbc0157 + 54b6b0f commit 09c6624

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
<!-- git-cliff-unreleased-start -->
66
## 1.2.2 - **not yet released**
77

8+
### 🚀 Features
9+
10+
- Expose `AdaptivePlaywrightCrawlerStatisticState` for `AdaptivePlaywrightCrawler` ([#1635](https://github.com/apify/crawlee-python/pull/1635)) ([1bb4bcb](https://github.com/apify/crawlee-python/commit/1bb4bcb4ccbec347ad9c14f70e9e946d48e3c38e)) by [@Mantisus](https://github.com/Mantisus)
11+
812
### 🐛 Bug Fixes
913

1014
- Prevent race condition in concurrent storage creation ([#1626](https://github.com/apify/crawlee-python/pull/1626)) ([7f17a43](https://github.com/apify/crawlee-python/commit/7f17a4347d5884962767e757a92ec173688fed7b)) by [@Mantisus](https://github.com/Mantisus), closes [#1621](https://github.com/apify/crawlee-python/issues/1621)

src/crawlee/crawlers/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
'AbstractHttpCrawler',
4444
'AbstractHttpParser',
4545
'AdaptivePlaywrightCrawler',
46+
'AdaptivePlaywrightCrawlerStatisticState',
4647
'AdaptivePlaywrightCrawlingContext',
4748
'AdaptivePlaywrightPreNavCrawlingContext',
4849
'BasicCrawler',

src/crawlee/crawlers/_adaptive_playwright/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
# The following imports are wrapped in try_import to handle optional dependencies,
1313
# ensuring the module can still function even if these dependencies are missing.
14-
with _try_import(__name__, 'BeautifulSoupCrawler'):
14+
with _try_import(__name__, 'RenderingType', 'RenderingTypePrediction', 'RenderingTypePredictor'):
1515
from ._rendering_type_predictor import RenderingType, RenderingTypePrediction, RenderingTypePredictor
16-
with _try_import(__name__, 'BeautifulSoupCrawlingContext'):
16+
with _try_import(__name__, 'AdaptivePlaywrightCrawler'):
1717
from ._adaptive_playwright_crawler import AdaptivePlaywrightCrawler
1818
with _try_import(__name__, 'AdaptivePlaywrightCrawlerStatisticState'):
1919
from ._adaptive_playwright_crawler import AdaptivePlaywrightCrawlerStatisticState

0 commit comments

Comments
 (0)