eaf-base-api 2.5.0__tar.gz → 2.5.1__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-2.5.0/eaf_base_api.egg-info → eaf_base_api-2.5.1}/PKG-INFO +1 -1
- {eaf_base_api-2.5.0 → eaf_base_api-2.5.1}/base_api/base.py +6 -1
- {eaf_base_api-2.5.0 → eaf_base_api-2.5.1/eaf_base_api.egg-info}/PKG-INFO +1 -1
- {eaf_base_api-2.5.0 → eaf_base_api-2.5.1}/eaf_base_api.egg-info/top_level.txt +1 -0
- {eaf_base_api-2.5.0 → eaf_base_api-2.5.1}/pyproject.toml +1 -1
- {eaf_base_api-2.5.0 → eaf_base_api-2.5.1}/LICENSE +0 -0
- {eaf_base_api-2.5.0 → eaf_base_api-2.5.1}/MANIFEST.in +0 -0
- {eaf_base_api-2.5.0 → eaf_base_api-2.5.1}/README.md +0 -0
- {eaf_base_api-2.5.0 → eaf_base_api-2.5.1}/base_api/__init__.py +0 -0
- {eaf_base_api-2.5.0 → eaf_base_api-2.5.1}/base_api/modules/__init__.py +0 -0
- {eaf_base_api-2.5.0 → eaf_base_api-2.5.1}/base_api/modules/config.py +0 -0
- {eaf_base_api-2.5.0 → eaf_base_api-2.5.1}/base_api/modules/errors.py +0 -0
- {eaf_base_api-2.5.0 → eaf_base_api-2.5.1}/base_api/modules/progress_bars.py +0 -0
- {eaf_base_api-2.5.0 → eaf_base_api-2.5.1}/eaf_base_api.egg-info/SOURCES.txt +0 -0
- {eaf_base_api-2.5.0 → eaf_base_api-2.5.1}/eaf_base_api.egg-info/dependency_links.txt +0 -0
- {eaf_base_api-2.5.0 → eaf_base_api-2.5.1}/eaf_base_api.egg-info/requires.txt +0 -0
- {eaf_base_api-2.5.0 → eaf_base_api-2.5.1}/setup.cfg +0 -0
|
@@ -804,6 +804,7 @@ class BaseCore:
|
|
|
804
804
|
method: str = "GET",
|
|
805
805
|
headers: Optional[Dict[str, str]] = None,
|
|
806
806
|
json: Optional[Dict] = None,
|
|
807
|
+
params: Optional[Dict] = None,
|
|
807
808
|
) -> Union[bytes, str, httpx.Response]:
|
|
808
809
|
"""
|
|
809
810
|
Fetch content with retries, optional caching, proxy support, and bandwidth limiting.
|
|
@@ -858,7 +859,8 @@ class BaseCore:
|
|
|
858
859
|
timeout=req_timeout,
|
|
859
860
|
follow_redirects=allow_redirects,
|
|
860
861
|
data=data,
|
|
861
|
-
json=json
|
|
862
|
+
json=json,
|
|
863
|
+
params=params,
|
|
862
864
|
)
|
|
863
865
|
|
|
864
866
|
last_response = response
|
|
@@ -909,6 +911,9 @@ class BaseCore:
|
|
|
909
911
|
|
|
910
912
|
return content
|
|
911
913
|
|
|
914
|
+
elif status == 204:
|
|
915
|
+
return response
|
|
916
|
+
|
|
912
917
|
# 403 handling: try a UA switch once, then give up
|
|
913
918
|
if status == 403:
|
|
914
919
|
if attempt == 0 or attempt == 1:
|
|
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
|