diff options
| author | Robert Honz <exislow+github@gmail.com> | 2024-06-16 14:08:12 +0200 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2024-06-16 14:08:12 +0200 |
| commit | ff8d688382c7293b4f23bfd188fd08e6886bfeda (patch) | |
| tree | ab3072083376d1338906ad1b0a4008192b6f6a54 | |
| parent | 2dd2067f0d1dff976848490f59d21f64c30c4ffe (diff) | |
| download | tidal-dl-ng-ff8d688382c7293b4f23bfd188fd08e6886bfeda.tar.gz | |
👷 Increased chunk size of the downloader.
| -rw-r--r-- | tidal_dl_ng/download.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
