1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-25 18:27:42 +00:00

[mtv] Use native hls by default

This commit is contained in:
Sergey M․ 2017-01-10 22:31:20 +07:00
parent 67fc365b86
commit cdd11c0540
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -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: