From d9bc015b3ca1071c008783e8ae8e36f4ca8e4edf Mon Sep 17 00:00:00 2001
From: Ricardo Garcia <sarbalap+freshmeat@gmail.com>
Date: Fri, 20 Nov 2009 21:51:38 +0100
Subject: [PATCH] Take format 37 into account (fixes issue #65)

---
 youtube-dl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/youtube-dl b/youtube-dl
index d3e8cf4f6..52bda1b25 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -530,12 +530,13 @@ class YoutubeIE(InfoExtractor):
 	_LOGIN_URL = 'http://www.youtube.com/signup?next=/&gl=US&hl=en'
 	_AGE_URL = 'http://www.youtube.com/verify_age?next_url=/&gl=US&hl=en'
 	_NETRC_MACHINE = 'youtube'
-	_available_formats = ['22', '35', '18', '5', '17', '13', None] # listed in order of priority for -b flag
+	_available_formats = ['37', '22', '35', '18', '5', '17', '13', None] # listed in order of priority for -b flag
 	_video_extensions = {
 		'13': '3gp',
 		'17': 'mp4',
 		'18': 'mp4',
 		'22': 'mp4',
+		'37': 'mp4',
 	}
 
 	@staticmethod