From e0edf1e041caa32195e1d9bcb3966dae2fbc39c7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rog=C3=A9rio=20Brito?= Date: Tue, 23 Nov 2010 21:20:26 -0200 Subject: [PATCH] Give preference to WebM formats. This patch gives preference to formats that are Free. --- youtube-dl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube-dl b/youtube-dl index 24722d292..cd1e9fc86 100755 --- a/youtube-dl +++ b/youtube-dl @@ -719,7 +719,7 @@ class YoutubeIE(InfoExtractor): _AGE_URL = 'http://www.youtube.com/verify_age?next_url=/&gl=US&hl=en' _NETRC_MACHINE = 'youtube' # Listed in order of quality - _available_formats = ['38', '37', '22', '45', '35', '34', '43', '18', '6', '5', '17', '13'] + _available_formats = ['38', '37', '45', '22', '43', '35', '34', '18', '6', '5', '17', '13'] _video_extensions = { '13': '3gp', '17': 'mp4', -- 2.22.2