aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/__init__.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-10-18 00:17:03 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2013-10-18 00:17:03 +0200
commit1c1218fefcbabb49a0d06fc45d64a299920460ec (patch)
tree54d8fa603f8fdd5a406dcbbd22bb311020d647f9 /youtube_dl/__init__.py
parentd21ab292008b114ea9e99edc2e9f2adde49415ef (diff)
parent8016c9229718080f5211b9f9da176992622b30e6 (diff)
Merge remote-tracking branch 'jaimeMF/format_selection'
Diffstat (limited to 'youtube_dl/__init__.py')
-rw-r--r--youtube_dl/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index 3efa5dfd1..cd642ce3b 100644
--- a/youtube_dl/__init__.py
+++ b/youtube_dl/__init__.py
@@ -235,7 +235,7 @@ def parseOpts(overrideArguments=None):
video_format.add_option('-f', '--format',
- action='store', dest='format', metavar='FORMAT',
+ action='store', dest='format', metavar='FORMAT', default='best',
help='video format code, specifiy the order of preference using slashes: "-f 22/17/18". "-f mp4" and "-f flv" are also supported')
video_format.add_option('--all-formats',
action='store_const', dest='format', help='download all available video formats', const='all')