Skip to content

A feature-rich command-line audio/video downloader

Update and correct (format,extension) table for YouTube

Ricardo Garcia8d2c83eda50f
diff --git a/youtube-dl b/youtube-dl
index 496ae036fa..9fe58a3547 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -561,7 +561,8 @@ class YoutubeIE(InfoExtractor):
# Extension
video_extension = {
- '17': '3gp',
+ '13': '3gp',
+ '17': 'mp4',
'18': 'mp4',
'22': 'mp4',
}.get(format_param, 'flv')