projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4489d41
)
[1tv] Lower preference for http formats (closes #13246)
author
Sergey M․
<dstftw@gmail.com>
Thu, 1 Jun 2017 15:19:52 +0000
(22:19 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 1 Jun 2017 15:19:52 +0000
(22:19 +0700)
youtube_dl/extractor/firsttv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/firsttv.py
b/youtube_dl/extractor/firsttv.py
index 081c7184233d3e79d0a2d684bd693631b7600eb2..4803a22c81d16c2540f33cfb97bdc5a1d7f7aa57 100644
(file)
--- a/
youtube_dl/extractor/firsttv.py
+++ b/
youtube_dl/extractor/firsttv.py
@@
-102,6
+102,8
@@
class FirstTVIE(InfoExtractor):
'format_id': f.get('name'),
'tbr': tbr,
'source_preference': quality(f.get('name')),
+ # quality metadata of http formats may be incorrect
+ 'preference': -1,
})
# m3u8 URL format is reverse engineered from [1] (search for
# master.m3u8). dashEdges (that is currently balancer-vod.1tv.ru)