[tvigle] Skip hls completely (#9259)
authorSergey M․ <dstftw@gmail.com>
Thu, 21 Apr 2016 16:15:20 +0000 (22:15 +0600)
committerSergey M․ <dstftw@gmail.com>
Thu, 21 Apr 2016 16:15:20 +0000 (22:15 +0600)
youtube_dl/extractor/tvigle.py

index f3aba3530614929f1eddd2e0c137006edbc4fb70..ead4c00c79bb453585b4ba18c67f7535bcc69254 100644 (file)
@@ -83,10 +83,10 @@ class TvigleIE(InfoExtractor):
 
         formats = []
         for vcodec, fmts in item['videos'].items():
+            if vcodec == 'hls':
+                continue
             for format_id, video_url in fmts.items():
                 if format_id == 'm3u8':
-                    formats.extend(self._extract_m3u8_formats(
-                        video_url, video_id, 'mp4', m3u8_id=vcodec))
                     continue
                 height = self._search_regex(
                     r'^(\d+)[pP]$', format_id, 'height', default=None)