aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/YoutubeDL.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-01-22 14:53:23 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-01-22 14:53:23 +0100
commitde3ef3ed5865fb0579062b03c25354f2587c780f (patch)
treea3f1dc297beb70a7a90bac0ecf51e738c6e0bf5b /youtube_dl/YoutubeDL.py
parent8908741806e248049c98657718caf00c0ae33bd0 (diff)
Default to -f best-audio when only audio is requested
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
-rw-r--r--youtube_dl/YoutubeDL.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py
index 9f15616fa..1491f8908 100644
--- a/youtube_dl/YoutubeDL.py
+++ b/youtube_dl/YoutubeDL.py
@@ -713,7 +713,7 @@ class YoutubeDL(object):
self.list_formats(info_dict)
return
- req_format = self.params.get('format', 'best')
+ req_format = self.params.get('format')
if req_format is None:
req_format = 'best'
formats_to_download = []