Skip to content

Commit

Permalink
[drtv] Respect preference for direct http formats (#14509)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstftw committed Oct 15, 2017
1 parent acc4ea6 commit 83fcf19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions youtube_dl/extractor/drtv.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ def _real_extract(self, url):
'tbr': int_or_none(bitrate),
'ext': link.get('FileFormat'),
'vcodec': 'none' if kind == 'AudioResource' else None,
'preference': preference,
})
subtitles_list = asset.get('SubtitlesList')
if isinstance(subtitles_list, list):
Expand Down

0 comments on commit 83fcf19

Please sign in to comment.