projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67fc365
)
[mtv] Use native hls by default
author
Sergey M․
<dstftw@gmail.com>
Tue, 10 Jan 2017 15:31:20 +0000
(22:31 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 10 Jan 2017 15:31:20 +0000
(22:31 +0700)
youtube_dl/extractor/mtv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/mtv.py
b/youtube_dl/extractor/mtv.py
index d27c6686ba2c2d9f8d525e54e5a1c399c17c1a94..5250db21276905722043768a12df5063ebe22966 100644
(file)
--- a/
youtube_dl/extractor/mtv.py
+++ b/
youtube_dl/extractor/mtv.py
@@
-90,7
+90,8
@@
class MTVServicesInfoExtractor(InfoExtractor):
for rendition in mdoc.findall('.//rendition'):
if rendition.get('method') == 'hls':
hls_url = rendition.find('./src').text
- formats.extend(self._extract_m3u8_formats(hls_url, video_id, ext='mp4'))
+ formats.extend(self._extract_m3u8_formats(
+ hls_url, video_id, ext='mp4', entry_protocol='m3u8_native'))
else:
# fms
try: