diff options
author | Remita Amine <remitamine@gmail.com> | 2017-03-25 19:37:54 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2017-03-25 19:38:23 +0100 |
commit | fb4fc44928d042a33287fd3e8e18b721c29ff8e8 (patch) | |
tree | eebce170ea4942ea6ff0c23f1ee306da09ca288e /youtube_dl/extractor/freshlive.py | |
parent | 51ef4919dfd51b5bd562f39f865a117f9a5cd304 (diff) |
[downloader/hls] immediately delegate downloading to ffmpeg in case live stream
Diffstat (limited to 'youtube_dl/extractor/freshlive.py')
-rw-r--r-- | youtube_dl/extractor/freshlive.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/youtube_dl/extractor/freshlive.py b/youtube_dl/extractor/freshlive.py index a90f9156c..72a845945 100644 --- a/youtube_dl/extractor/freshlive.py +++ b/youtube_dl/extractor/freshlive.py @@ -56,9 +56,8 @@ class FreshLiveIE(InfoExtractor): is_live = info.get('liveStreamUrl') is not None formats = self._extract_m3u8_formats( - stream_url, video_id, ext='mp4', - entry_protocol='m3u8' if is_live else 'm3u8_native', - m3u8_id='hls') + stream_url, video_id, 'mp4', + 'm3u8_native', m3u8_id='hls') if is_live: title = self._live_title(title) |