Document http_chunk_size
authorSergey M․ <dstftw@gmail.com>
Sat, 3 Feb 2018 19:53:50 +0000 (02:53 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 3 Feb 2018 19:53:50 +0000 (02:53 +0700)
youtube_dl/YoutubeDL.py
youtube_dl/downloader/common.py

index 97bd9c526dc60d71d569b625e2cebd7c6af46bd0..925d095dec1c32c8b2e4d8bac7cdad452844e320 100755 (executable)
@@ -298,7 +298,8 @@ class YoutubeDL(object):
     the downloader (see youtube_dl/downloader/common.py):
     nopart, updatetime, buffersize, ratelimit, min_filesize, max_filesize, test,
     noresizebuffer, retries, continuedl, noprogress, consoletitle,
-    xattr_set_filesize, external_downloader_args, hls_use_mpegts.
+    xattr_set_filesize, external_downloader_args, hls_use_mpegts,
+    http_chunk_size.
 
     The following options are used by the post processors:
     prefer_ffmpeg:     If True, use ffmpeg instead of avconv if both are available,
index 75b8166c514485bad26fa87a90ca08ab330d654f..a7f62ae53ba7dff45565b5a0650937e276c09815 100644 (file)
@@ -49,6 +49,9 @@ class FileDownloader(object):
     external_downloader_args:  A list of additional command-line arguments for the
                         external downloader.
     hls_use_mpegts:     Use the mpegts container for HLS videos.
+    http_chunk_size:    Size of a chunk for chunk-based HTTP downloading.May be
+                        useful for bypassing bandwidth throttling imposed by
+                        a webserver (experimental)
 
     Subclasses of this one must re-define the real_download method.
     """