From ff8d688382c7293b4f23bfd188fd08e6886bfeda Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Sun, 16 Jun 2024 14:08:12 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Increased=20chunk=20size=20of=20?= =?UTF-8?q?the=20downloader.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tidal_dl_ng/download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidal_dl_ng/download.py b/tidal_dl_ng/download.py index 3094f1c..c4b786f 100644 --- a/tidal_dl_ng/download.py +++ b/tidal_dl_ng/download.py @@ -125,7 +125,7 @@ class Download: # Get file size and compute progress steps total_size_in_bytes: int = int(r.headers.get("content-length", 0)) - block_size: int | None = 4096 + block_size: int | None = 1048576 progress_total: float = total_size_in_bytes / block_size else: raise ValueError