mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-01-06 13:35:50 +01:00
[breakcom] Process only play purpose media formats (Closes #5164)
This commit is contained in:
parent
cc08b11d16
commit
dd7831fe94
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue