projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acc4ea6
)
[drtv] Respect preference for direct http formats (#14509)
author
Sergey M․
<dstftw@gmail.com>
Sun, 15 Oct 2017 22:48:45 +0000
(
05:48
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 15 Oct 2017 22:48:45 +0000
(
05:48
+0700)
youtube_dl/extractor/drtv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/drtv.py
b/youtube_dl/extractor/drtv.py
index 69effba58371426ec6813066424e86aa976b9ce8..f757745ba7cf2fa500f03102d7ca2b0c932c27bc 100644
(file)
--- 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):