crawlora 1.8.0.dev1__tar.gz → 1.8.0.dev2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {crawlora-1.8.0.dev1/crawlora.egg-info → crawlora-1.8.0.dev2}/PKG-INFO +1 -1
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/crawlora/client.py +1 -1
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/crawlora/client.pyi +14 -0
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2/crawlora.egg-info}/PKG-INFO +1 -1
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/pyproject.toml +1 -1
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/LICENSE +0 -0
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/MANIFEST.in +0 -0
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/README.md +0 -0
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/crawlora/__init__.py +0 -0
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/crawlora/_pagination.py +0 -0
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/crawlora/_transport_sync.py +0 -0
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/crawlora/async_client.py +0 -0
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/crawlora/operations.py +0 -0
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/crawlora/py.typed +0 -0
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/crawlora.egg-info/SOURCES.txt +0 -0
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/crawlora.egg-info/dependency_links.txt +0 -0
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/crawlora.egg-info/requires.txt +0 -0
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/crawlora.egg-info/top_level.txt +0 -0
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/docs/operations.md +0 -0
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/docs/recipes.md +0 -0
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/examples/async_search.py +0 -0
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/examples/bing_search.py +0 -0
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/examples/paginate.py +0 -0
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/examples/youtube_transcript.py +0 -0
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/setup.cfg +0 -0
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/tests/test_async_httpx.py +0 -0
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/tests/test_client.py +0 -0
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/tests/test_examples.py +0 -0
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/tests/test_v14_features.py +0 -0
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/tests/test_v15_features.py +0 -0
- {crawlora-1.8.0.dev1 → crawlora-1.8.0.dev2}/tests/test_w2_features.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: crawlora
|
|
3
|
-
Version: 1.8.0.
|
|
3
|
+
Version: 1.8.0.dev2
|
|
4
4
|
Summary: Official Python SDK for the Crawlora web-scraping API: typed grouped and dynamic operation calls for every public endpoint, with retries, pagination, hooks, and an async client.
|
|
5
5
|
Author: Crawlora
|
|
6
6
|
License-Expression: MIT
|
|
@@ -20,7 +20,7 @@ from ._transport_sync import KeepAliveTransport
|
|
|
20
20
|
from .operations import GROUPS, OPERATIONS
|
|
21
21
|
|
|
22
22
|
DEFAULT_BASE_URL = "https://api.crawlora.net/api/v1"
|
|
23
|
-
VERSION = "1.8.0-sdk.
|
|
23
|
+
VERSION = "1.8.0-sdk.2"
|
|
24
24
|
DEFAULT_USER_AGENT = f"crawlora-python-sdk/{VERSION}"
|
|
25
25
|
DEFAULT_MAX_RETRY_DELAY = 30.0
|
|
26
26
|
DEFAULT_RETRY_STATUSES = (408, 409, 425, 429)
|
|
@@ -176,10 +176,15 @@ ModelAmazonSuggestResponseDoc = TypedDict('ModelAmazonSuggestResponseDoc', {
|
|
|
176
176
|
ModelAntibotBand = Literal['easy', 'medium', 'hard', 'very_hard', 'blocked', 'unknown']
|
|
177
177
|
|
|
178
178
|
ModelAntibotProtection = TypedDict('ModelAntibotProtection', {
|
|
179
|
+
'captcha_mode': NotRequired[str],
|
|
180
|
+
'captcha_type': NotRequired[str],
|
|
179
181
|
'confidence': NotRequired[str],
|
|
182
|
+
'confidence_score': NotRequired[int],
|
|
183
|
+
'custom_vm': NotRequired[bool],
|
|
180
184
|
'evidence': NotRequired[list[str]],
|
|
181
185
|
'kind': NotRequired[str],
|
|
182
186
|
'vendor': NotRequired[str],
|
|
187
|
+
'vm_vendor': NotRequired[str],
|
|
183
188
|
}, total=False)
|
|
184
189
|
|
|
185
190
|
ModelAntibotSignals = TypedDict('ModelAntibotSignals', {
|
|
@@ -195,19 +200,28 @@ ModelAntibotSignals = TypedDict('ModelAntibotSignals', {
|
|
|
195
200
|
}, total=False)
|
|
196
201
|
|
|
197
202
|
ModelAntibotVerdict = TypedDict('ModelAntibotVerdict', {
|
|
203
|
+
'auth_required': NotRequired[bool],
|
|
204
|
+
'block_detail': NotRequired[str],
|
|
205
|
+
'block_reason': NotRequired[str],
|
|
206
|
+
'captcha_types': NotRequired[list[str]],
|
|
198
207
|
'coverage': NotRequired[str],
|
|
208
|
+
'custom_vm': NotRequired[bool],
|
|
209
|
+
'detection_confidence_score': NotRequired[int],
|
|
199
210
|
'difficulty_band': NotRequired[ModelAntibotBand],
|
|
200
211
|
'difficulty_score': NotRequired[int],
|
|
201
212
|
'easiest_working_transport': NotRequired[str],
|
|
213
|
+
'enforcement': NotRequired[str],
|
|
202
214
|
'gated_layers': NotRequired[list[str]],
|
|
203
215
|
'notes': NotRequired[list[str]],
|
|
204
216
|
'protections': NotRequired[list[ModelAntibotProtection]],
|
|
205
217
|
'recommended_approach': NotRequired[str],
|
|
206
218
|
'recommended_profile': NotRequired[str],
|
|
219
|
+
'retry_after': NotRequired[str],
|
|
207
220
|
'scrapeable': NotRequired[bool],
|
|
208
221
|
'signals': NotRequired[ModelAntibotSignals],
|
|
209
222
|
'summary': NotRequired[str],
|
|
210
223
|
'url': NotRequired[str],
|
|
224
|
+
'vm_vendor': NotRequired[str],
|
|
211
225
|
}, total=False)
|
|
212
226
|
|
|
213
227
|
ModelApiComponentStatus = TypedDict('ModelApiComponentStatus', {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: crawlora
|
|
3
|
-
Version: 1.8.0.
|
|
3
|
+
Version: 1.8.0.dev2
|
|
4
4
|
Summary: Official Python SDK for the Crawlora web-scraping API: typed grouped and dynamic operation calls for every public endpoint, with retries, pagination, hooks, and an async client.
|
|
5
5
|
Author: Crawlora
|
|
6
6
|
License-Expression: MIT
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "crawlora"
|
|
7
|
-
version = "1.8.0.
|
|
7
|
+
version = "1.8.0.dev2"
|
|
8
8
|
description = "Official Python SDK for the Crawlora web-scraping API: typed grouped and dynamic operation calls for every public endpoint, with retries, pagination, hooks, and an async client."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|