aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/drtv.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-10-16 05:48:45 +0700
committerSergey M․ <dstftw@gmail.com>2017-10-16 05:48:45 +0700
commit83fcf19e2d517a2862fd89dffb1d0abad024a5b9 (patch)
treeccd72d4a75687bed490d80b68538b1d949b5c4cd /youtube_dl/extractor/drtv.py
parentacc4ea6237f7a2c7d923eca5b004aefbb6a6a766 (diff)
[drtv] Respect preference for direct http formats (#14509)
Diffstat (limited to 'youtube_dl/extractor/drtv.py')
-rw-r--r--youtube_dl/extractor/drtv.py1
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):