A feature-rich command-line audio/video downloader
[http] Respect user-provided chunk size over extractor's
pukkandanb922db9fe58f
diff --git a/yt_dlp/downloader/http.py b/yt_dlp/downloader/http.pyindex 9e79051ada..5d7c988c71 100644--- a/yt_dlp/downloader/http.py+++ b/yt_dlp/downloader/http.py@@ -48,8 +48,9 @@ class HttpFD(FileDownloader):is_test = self.params.get('test', False)chunk_size = self._TEST_FILE_SIZE if is_test else (+ self.params.get('http_chunk_size') orinfo_dict.get('downloader_options', {}).get('http_chunk_size')- or self.params.get('http_chunk_size') or 0)+ or 0)ctx.open_mode = 'wb'ctx.resume_len = 0