projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1344d3e
)
[mixcloud] Bypass throttling for HTTP formats (#12579, #16424)
author
Sergey M․
<dstftw@gmail.com>
Thu, 10 May 2018 15:22:26 +0000
(22:22 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 10 May 2018 15:22:26 +0000
(22:22 +0700)
youtube_dl/extractor/mixcloud.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/mixcloud.py
b/youtube_dl/extractor/mixcloud.py
index a56b7690f8703cb873cba7d59cb097afee1b8121..b7bccb504529d7ca1e7f70ced45d86b9259d454b 100644
(file)
--- 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)