Skip to content

Bulk asynchronous downloader for multiple file hosts

remove sock_read timeout from scraper client

Jules-WinnfieldX3421f33ced8d
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py
index e1e67cb82..346dcfd67 100644
--- a/cyberdrop_dl/__init__.py
+++ b/cyberdrop_dl/__init__.py
@@ -1 +1 @@
-__version__ = "4.2.97"
+__version__ = "4.2.98"
diff --git a/cyberdrop_dl/client/client.py b/cyberdrop_dl/client/client.py
index a6e383bf0..8de1d5503 100644
--- a/cyberdrop_dl/client/client.py
+++ b/cyberdrop_dl/client/client.py
@@ -62,8 +62,8 @@ class ScrapeSession:
self.client = client
self.rate_limiter = AsyncLimiter(self.client.ratelimit, 1)
self.headers = {"user-agent": client.user_agent}
- self.timeouts = aiohttp.ClientTimeout(total=self.client.connect_timeout + 45,
- connect=self.client.connect_timeout, sock_read=45)
+ self.timeouts = aiohttp.ClientTimeout(total=self.client.connect_timeout + 60,
+ connect=self.client.connect_timeout)
self.client_session = aiohttp.ClientSession(headers=self.headers, raise_for_status=True,
cookie_jar=self.client.cookies, timeout=self.timeouts)