Give preference to WebM formats.
[youtube-dl] / youtube-dl
index 94e04d4cd6535077738d15f164dab551061e8f73..cd1e9fc861151cd890d947a192f0bfcbfb1d9fd0 100755 (executable)
@@ -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',
@@ -2145,7 +2145,7 @@ if __name__ == '__main__':
                # Parse command line
                parser = optparse.OptionParser(
                        usage='Usage: %prog [options] url...',
-                       version='2010.10.24',
+                       version='2010.11.19',
                        conflict_handler='resolve',
                )