[livestream] skip m3u8 manifest in progressive_urls
authorremitamine <remitamine@gmail.com>
Sun, 27 Dec 2015 13:58:57 +0000 (14:58 +0100)
committerremitamine <remitamine@gmail.com>
Sun, 27 Dec 2015 13:58:57 +0000 (14:58 +0100)
youtube_dl/extractor/livestream.py

index 11168fc4dce3ca0d9d440ef286d68ad68df29e5b..9c8d826c4001f5d4208b841db4285103ac3b9650 100644 (file)
@@ -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({