[vimeo] Fix m3u8 formats
authorYen Chi Hsuan <yan12125@gmail.com>
Mon, 12 Oct 2015 08:34:55 +0000 (16:34 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Mon, 12 Oct 2015 08:36:17 +0000 (16:36 +0800)
Reported at
https://github.com/rg3/youtube-dl/pull/7126#issuecomment-147327584

youtube_dl/extractor/vimeo.py

index 6ee3069a8d52d0fde65468bd347d0d59dd749d56..027f47ee3dd564150692de9a73dbf4f830933242 100644 (file)
@@ -406,7 +406,7 @@ class VimeoIE(VimeoBaseInfoExtractor):
             m3u8_formats = self._extract_m3u8_formats(
                 m3u8_url, video_id, 'mp4', 'm3u8_native', 0, 'hls', fatal=False)
             if m3u8_formats:
-                formats.append(m3u8_formats)
+                formats.extend(m3u8_formats)
         for key in ('other', 'sd', 'hd'):
             formats += files[key]
         self._sort_formats(formats)