aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2015-10-12 16:34:55 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2015-10-12 16:36:17 +0800
commit73e732eb6b5fb2edd61701ae110cc52fe6836364 (patch)
treed29064b8091d4e0dcc6e3c441e182b07620061e1 /youtube_dl
parentcd7364a89c69c4c19e4b9d4e54d08fd1eff9c51d (diff)
[vimeo] Fix m3u8 formats
Reported at https://github.com/rg3/youtube-dl/pull/7126#issuecomment-147327584
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/vimeo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.py
index 6ee3069a8..027f47ee3 100644
--- a/youtube_dl/extractor/vimeo.py
+++ b/youtube_dl/extractor/vimeo.py
@@ -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)