summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/download.py
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2024-01-12 11:20:10 +0100
committerRobert Honz <exislow+github@gmail.com>2024-01-12 11:20:10 +0100
commit677bca872e31e295aeba0a14fde5b4ec81983358 (patch)
tree05f4eded45a5ba3609af0c22f2120b217190b6c2 /tidal_dl_ng/download.py
parent87091fb060ec263c1e9cfa71c086c995c85e65cc (diff)
downloadtidal-dl-ng-677bca872e31e295aeba0a14fde5b4ec81983358.tar.gz
🛠️ Ruff errors refactored.
Diffstat (limited to 'tidal_dl_ng/download.py')
-rw-r--r--tidal_dl_ng/download.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tidal_dl_ng/download.py b/tidal_dl_ng/download.py
index 4804147..a84996f 100644
--- a/tidal_dl_ng/download.py
+++ b/tidal_dl_ng/download.py
@@ -29,7 +29,9 @@ from tidal_dl_ng.model.gui_data import ProgressBars
# TODO: Set appropriate client string and use it for video download.
# https://github.com/globocom/m3u8#using-different-http-clients
class RequestsClient:
- def download(self, uri: str, timeout: int = None, headers: dict | None = None, verify_ssl: bool = True):
+ def download(
+ self, uri: str, timeout: int = REQUESTS_TIMEOUT_SEC, headers: dict | None = None, verify_ssl: bool = True
+ ):
if not headers:
headers = {}