Browse Source

[breakcom] Process only play purpose media formats (Closes #5164)

totalwebcasting
Sergey M․ 10 years ago
parent
commit
dd7831fe94
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/breakcom.py

+ 1
- 1
youtube_dl/extractor/breakcom.py View File

@ -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({


Loading…
Cancel
Save