projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8dc441
)
Give preference to WebM formats.
author
Rogério Brito
<rbrito@ime.usp.br>
Tue, 23 Nov 2010 23:20:26 +0000
(21:20 -0200)
committer
Rogério Brito
<rbrito@ime.usp.br>
Sat, 29 Jan 2011 05:41:44 +0000
(
03:41
-0200)
This patch gives preference to formats that are Free.
youtube-dl
patch
|
blob
|
history
diff --git
a/youtube-dl
b/youtube-dl
index 24722d292ecadfd4b16e2775ca9a53efc145628a..cd1e9fc861151cd890d947a192f0bfcbfb1d9fd0 100755
(executable)
--- 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',