eaf_base_api 3.3.1__tar.gz → 3.3.2__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.
- {eaf_base_api-3.3.1 → eaf_base_api-3.3.2}/PKG-INFO +1 -1
- {eaf_base_api-3.3.1 → eaf_base_api-3.3.2}/base_api/base.py +3 -0
- {eaf_base_api-3.3.1 → eaf_base_api-3.3.2}/pyproject.toml +1 -1
- {eaf_base_api-3.3.1 → eaf_base_api-3.3.2}/LICENSE +0 -0
- {eaf_base_api-3.3.1 → eaf_base_api-3.3.2}/README.md +0 -0
- {eaf_base_api-3.3.1 → eaf_base_api-3.3.2}/base_api/__init__.py +0 -0
- {eaf_base_api-3.3.1 → eaf_base_api-3.3.2}/base_api/modules/__init__.py +0 -0
- {eaf_base_api-3.3.1 → eaf_base_api-3.3.2}/base_api/modules/config.py +0 -0
- {eaf_base_api-3.3.1 → eaf_base_api-3.3.2}/base_api/modules/errors.py +0 -0
- {eaf_base_api-3.3.1 → eaf_base_api-3.3.2}/base_api/modules/logger.py +0 -0
- {eaf_base_api-3.3.1 → eaf_base_api-3.3.2}/base_api/modules/progress_bars.py +0 -0
- {eaf_base_api-3.3.1 → eaf_base_api-3.3.2}/base_api/modules/static_functions.py +0 -0
- {eaf_base_api-3.3.1 → eaf_base_api-3.3.2}/base_api/modules/type_hints.py +0 -0
|
@@ -978,6 +978,9 @@ class BaseCore:
|
|
|
978
978
|
if attempt.retry_state.attempt_number <= 2:
|
|
979
979
|
raise NetworkingError("429 Rate Limited")
|
|
980
980
|
|
|
981
|
+
if status == 401:
|
|
982
|
+
return response # Expected (for Vinted OSINT script I use)
|
|
983
|
+
|
|
981
984
|
if 500 <= status < 600:
|
|
982
985
|
self.logger.warning("Server error %s on %s. Retrying...", status, url)
|
|
983
986
|
raise NetworkingError(f"Server error {status}")
|
|
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
|