eaf-base-api 2.3.5__tar.gz → 2.3.6__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.3.5/eaf_base_api.egg-info → eaf_base_api-2.3.6}/PKG-INFO +1 -1
- {eaf_base_api-2.3.5 → eaf_base_api-2.3.6}/base_api/base.py +1 -1
- {eaf_base_api-2.3.5 → eaf_base_api-2.3.6/eaf_base_api.egg-info}/PKG-INFO +1 -1
- {eaf_base_api-2.3.5 → eaf_base_api-2.3.6}/setup.py +1 -1
- {eaf_base_api-2.3.5 → eaf_base_api-2.3.6}/LICENSE +0 -0
- {eaf_base_api-2.3.5 → eaf_base_api-2.3.6}/README.md +0 -0
- {eaf_base_api-2.3.5 → eaf_base_api-2.3.6}/base_api/__init__.py +0 -0
- {eaf_base_api-2.3.5 → eaf_base_api-2.3.6}/base_api/modules/__init__.py +0 -0
- {eaf_base_api-2.3.5 → eaf_base_api-2.3.6}/base_api/modules/config.py +0 -0
- {eaf_base_api-2.3.5 → eaf_base_api-2.3.6}/base_api/modules/errors.py +0 -0
- {eaf_base_api-2.3.5 → eaf_base_api-2.3.6}/base_api/modules/progress_bars.py +0 -0
- {eaf_base_api-2.3.5 → eaf_base_api-2.3.6}/eaf_base_api.egg-info/SOURCES.txt +0 -0
- {eaf_base_api-2.3.5 → eaf_base_api-2.3.6}/eaf_base_api.egg-info/dependency_links.txt +0 -0
- {eaf_base_api-2.3.5 → eaf_base_api-2.3.6}/eaf_base_api.egg-info/requires.txt +0 -0
- {eaf_base_api-2.3.5 → eaf_base_api-2.3.6}/eaf_base_api.egg-info/top_level.txt +0 -0
- {eaf_base_api-2.3.5 → eaf_base_api-2.3.6}/setup.cfg +0 -0
|
@@ -326,7 +326,7 @@ class BaseCore:
|
|
|
326
326
|
|
|
327
327
|
# Process and return content
|
|
328
328
|
# Collecting all chunks before processing because some sites cause issues with real-time decoding
|
|
329
|
-
if not self.config.max_bandwidth_mb
|
|
329
|
+
if self.config.max_bandwidth_mb is not None and self.config.max_bandwidth_mb >= 0.2:
|
|
330
330
|
raw_content = bytearray()
|
|
331
331
|
chunk_size = 64 * 1024 # 64 KB
|
|
332
332
|
speed_limit = self.config.max_bandwidth_mb * 1024 * 1024
|
|
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
|