diff options
| author | Robert Honz <exislow+github@gmail.com> | 2024-01-12 11:20:10 +0100 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2024-01-12 11:20:10 +0100 |
| commit | 677bca872e31e295aeba0a14fde5b4ec81983358 (patch) | |
| tree | 05f4eded45a5ba3609af0c22f2120b217190b6c2 /tidal_dl_ng/download.py | |
| parent | 87091fb060ec263c1e9cfa71c086c995c85e65cc (diff) | |
| download | tidal-dl-ng-677bca872e31e295aeba0a14fde5b4ec81983358.tar.gz | |
🛠️ Ruff errors refactored.
Diffstat (limited to 'tidal_dl_ng/download.py')
| -rw-r--r-- | tidal_dl_ng/download.py | 4 |
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 = {} |
