Browse Source

Update and correct (format,extension) table for YouTube

Ricardo Garcia 16 years ago
parent
commit
8d2c83eda5
1 changed files with 2 additions and 1 deletions
  1. 2 1
      youtube-dl

+ 2 - 1
youtube-dl

@@ -561,7 +561,8 @@ class YoutubeIE(InfoExtractor):
 
 
 		# Extension
 		# Extension
 		video_extension = {
 		video_extension = {
-			'17': '3gp',
+			'13': '3gp',
+			'17': 'mp4',
 			'18': 'mp4',
 			'18': 'mp4',
 			'22': 'mp4',
 			'22': 'mp4',
 		}.get(format_param, 'flv')
 		}.get(format_param, 'flv')