projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
1a3fe42
820eedc
)
Merge branch 'master' into vimeo
author
Rogério Brito
<rbrito@ime.usp.br>
Fri, 25 Feb 2011 23:08:12 +0000
(20:08 -0300)
committer
Rogério Brito
<rbrito@ime.usp.br>
Fri, 25 Feb 2011 23:08:12 +0000
(20:08 -0300)
1
2
youtube-dl
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
youtube-dl
index 782372688918ba638206e8a755e849f1ee7527bd,072a919707fa3bdfd805f90ab7765ad9bdd8eb34..9ce89aaf0cb56ad658790d4ab7dcfb11ca1395c3
---
1
/
youtube-dl
---
2
/
youtube-dl
+++ b/
youtube-dl
@@@
-2921,9
-2893,11
+3010,12
@@@
if __name__ == '__main__'
raise ValueError
except (TypeError, ValueError), err:
parser.error(u'invalid playlist end number specified')
+ if opts.extractaudio:
+ if opts.audioformat not in ['best', 'aac', 'mp3']:
+ parser.error(u'invalid audio format specified')
# Information extractors
+ vimeo_ie = VimeoIE()
youtube_ie = YoutubeIE()
metacafe_ie = MetacafeIE(youtube_ie)
dailymotion_ie = DailymotionIE()