浏览代码

Update and correct (format,extension) table for YouTube

Ricardo Garcia 16 年之前
父节点
当前提交
8d2c83eda5
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      youtube-dl

+ 2 - 1
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')