From: Sergey M․ Date: Thu, 10 May 2018 15:22:26 +0000 (+0700) Subject: [mixcloud] Bypass throttling for HTTP formats (#12579, #16424) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=bc5e4aa57e92201610f9ab79b10a3ae3b316fc3b;p=youtube-dl [mixcloud] Bypass throttling for HTTP formats (#12579, #16424) --- diff --git a/youtube_dl/extractor/mixcloud.py b/youtube_dl/extractor/mixcloud.py index a56b7690f..b7bccb504 100644 --- a/youtube_dl/extractor/mixcloud.py +++ b/youtube_dl/extractor/mixcloud.py @@ -179,6 +179,10 @@ class MixcloudIE(InfoExtractor): formats.append({ 'format_id': 'http', 'url': decrypted, + 'downloader_options': { + # Mixcloud starts throttling at >~5M + 'http_chunk_size': 5242880, + }, }) self._sort_formats(formats)