1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-05 17:12:36 +00:00

[mixcloud] Bypass throttling for HTTP formats (#12579, #16424)

This commit is contained in:
Sergey M․ 2018-05-10 22:22:26 +07:00
parent 1344d3e169
commit bc5e4aa57e
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -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)