aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/breakcom.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-03-09 04:55:35 +0600
committerSergey M․ <dstftw@gmail.com>2015-03-09 04:55:35 +0600
commitdd7831fe94a0fb8270e7fa3699677c7476a5cd83 (patch)
treee741b4bba2e18d6f1e75b588f17d6c79bc89c9fe /youtube_dl/extractor/breakcom.py
parentcc08b11d16efd125d765cc1a69ac795a592f012c (diff)
[breakcom] Process only play purpose media formats (Closes #5164)
Diffstat (limited to 'youtube_dl/extractor/breakcom.py')
-rw-r--r--youtube_dl/extractor/breakcom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/breakcom.py b/youtube_dl/extractor/breakcom.py
index 4bcc897c9..809287d14 100644
--- a/youtube_dl/extractor/breakcom.py
+++ b/youtube_dl/extractor/breakcom.py
@@ -41,7 +41,7 @@ class BreakIE(InfoExtractor):
'tbr': media['bitRate'],
'width': media['width'],
'height': media['height'],
- } for media in info['media']]
+ } for media in info['media'] if media.get('mediaPurpose') == 'play']
if not formats:
formats.append({