diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-10-16 05:48:45 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-10-16 05:48:45 +0700 |
commit | 83fcf19e2d517a2862fd89dffb1d0abad024a5b9 (patch) | |
tree | ccd72d4a75687bed490d80b68538b1d949b5c4cd /youtube_dl/extractor | |
parent | acc4ea6237f7a2c7d923eca5b004aefbb6a6a766 (diff) | |
download | youtube-dl-83fcf19e2d517a2862fd89dffb1d0abad024a5b9.tar.xz |
[drtv] Respect preference for direct http formats (#14509)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/drtv.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/drtv.py b/youtube_dl/extractor/drtv.py index 69effba58..f757745ba 100644 --- a/youtube_dl/extractor/drtv.py +++ b/youtube_dl/extractor/drtv.py @@ -138,6 +138,7 @@ class DRTVIE(InfoExtractor): '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): |