Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
Fix: DownloadSpeedLimiter AttributeError - missing max_rate attribute (#1287)
bpawnzzd9b23dc6a901
diff --git a/cyberdrop_dl/managers/client_manager.py b/cyberdrop_dl/managers/client_manager.pyindex 46d6e1f1d..9002096b4 100644--- a/cyberdrop_dl/managers/client_manager.py+++ b/cyberdrop_dl/managers/client_manager.py@@ -80,7 +80,7 @@ class DownloadSpeedLimiter(AsyncLimiter):def __init__(self, speed_limit: int) -> None:self.chunk_size: int = 1024 * 1024 * 10 # 10MBif speed_limit:- self.chunk_size = min(self.chunk_size, self.max_rate)+ self.chunk_size = min(self.chunk_size, speed_limit)super().__init__(speed_limit, 1)async def acquire(self, amount: float | None = None) -> None: