Skip to content

Bulk asynchronous downloader for multiple file hosts

switch downloader to use overall download session limit instead of the regular session limit

Jules-WinnfieldXbb956c22cf3e
diff --git a/cyberdrop_dl/clients/download_client.py b/cyberdrop_dl/clients/download_client.py
index c707ad030..9c808e8f2 100644
--- a/cyberdrop_dl/clients/download_client.py
+++ b/cyberdrop_dl/clients/download_client.py
@@ -33,7 +33,7 @@ def limiter(func):
@wraps(func)
async def wrapper(self, *args, **kwargs):
domain_limiter = await self.client_manager.get_rate_limiter(args[0])
- async with self.client_manager.session_limit:
+ async with self.client_manager.download_session_limit:
await self._global_limiter.acquire()
await domain_limiter.acquire()