X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=youtube-dl;a=blobdiff_plain;f=youtube_dl%2Fdownloader%2Fhttp.py;fp=youtube_dl%2Fdownloader%2Fhttp.py;h=b60a750ca43c9c4582e8646392ed772f6c7b362e;hp=6b4122f8ded84e7c3f632471537f5a511eb62a85;hb=00c97e3e7ab592b795f36b547a938e65d40b3771;hpb=cf7259bc931874318f8abe142a89914b41b49236 diff --git a/youtube_dl/downloader/http.py b/youtube_dl/downloader/http.py index 6b4122f8d..b60a750ca 100644 --- a/youtube_dl/downloader/http.py +++ b/youtube_dl/downloader/http.py @@ -45,6 +45,7 @@ class HttpFD(FileDownloader): is_test = self.params.get('test', False) chunk_size = self._TEST_FILE_SIZE if is_test else ( + info_dict.get('downloader_options', {}).get('http_chunk_size') or self.params.get('http_chunk_size') or 0) ctx.open_mode = 'wb'