logo

youtube-dl

[mirror] Download/Watch videos from video hostersgit clone https://hacktivis.me/git/mirror/youtube-dl.git
commit: aae737d4af1093249e36783d3f86d39e08de8761
parent 92a6de861e8cfd7141a79622760f7a840ba57eee
Author: Remita Amine <remitamine@gmail.com>
Date:   Sun, 13 Dec 2020 12:43:21 +0100

[slideslive] use m3u8 entry protocol for m3u8 formats(closes #27400)

Diffstat:

Myoutube_dl/extractor/slideslive.py5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/youtube_dl/extractor/slideslive.py b/youtube_dl/extractor/slideslive.py @@ -83,9 +83,10 @@ class SlidesLiveIE(InfoExtractor): else: formats = [] _MANIFEST_PATTERN = 'https://01.cdn.yoda.slideslive.com/%s/master.%s' + # use `m3u8` entry_protocol until EXT-X-MAP is properly supported by `m3u8_native` entry_protocol formats.extend(self._extract_m3u8_formats( - _MANIFEST_PATTERN % (service_id, 'm3u8'), service_id, 'mp4', - entry_protocol='m3u8_native', m3u8_id='hls', fatal=False)) + _MANIFEST_PATTERN % (service_id, 'm3u8'), + service_id, 'mp4', m3u8_id='hls', fatal=False)) formats.extend(self._extract_mpd_formats( _MANIFEST_PATTERN % (service_id, 'mpd'), service_id, mpd_id='dash', fatal=False))