aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2018-05-10 22:22:26 +0700
committerSergey M․ <dstftw@gmail.com>2018-05-10 22:22:26 +0700
commitbc5e4aa57e92201610f9ab79b10a3ae3b316fc3b (patch)
tree0ee7aee11b389f08fce1630f6c462f37642dd58b /youtube_dl/extractor
parent1344d3e169840f6c9d585648c1597da6a2b00ed1 (diff)
[mixcloud] Bypass throttling for HTTP formats (#12579, #16424)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/mixcloud.py4
1 files changed, 4 insertions, 0 deletions
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)