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

pull/8/head
Sergey M․ 2018-05-10 22:22:26 +07:00
rodzic 1344d3e169
commit bc5e4aa57e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 2C393E0F18A9236D
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

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