From 7b81316508d676393d89a99b42fc15e3dcfeab73 Mon Sep 17 00:00:00 2001 From: remitamine Date: Sun, 27 Dec 2015 14:58:57 +0100 Subject: [PATCH] [livestream] skip m3u8 manifest in progressive_urls --- youtube_dl/extractor/livestream.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/youtube_dl/extractor/livestream.py b/youtube_dl/extractor/livestream.py index 11168fc4d..9c8d826c4 100644 --- a/youtube_dl/extractor/livestream.py +++ b/youtube_dl/extractor/livestream.py @@ -97,6 +97,8 @@ class LivestreamIE(InfoExtractor): video_url = video_data.get(key) if video_url: ext = determine_ext(video_url) + if ext == 'm3u8': + continue bitrate = int_or_none(self._search_regex( r'(\d+)\.%s' % ext, video_url, 'bitrate', default=None)) formats.append({ -- 2.22.2