diff options
author | Philipp Hagemeister <[email protected]> | 2014-01-22 14:53:23 +0100 |
---|---|---|
committer | Philipp Hagemeister <[email protected]> | 2014-01-22 14:53:23 +0100 |
commit | de3ef3ed5865fb0579062b03c25354f2587c780f (patch) | |
tree | a3f1dc297beb70a7a90bac0ecf51e738c6e0bf5b /youtube_dl/YoutubeDL.py | |
parent | 8908741806e248049c98657718caf00c0ae33bd0 (diff) | |
download | youtube-dl-de3ef3ed5865fb0579062b03c25354f2587c780f.tar.gz youtube-dl-de3ef3ed5865fb0579062b03c25354f2587c780f.zip |
Default to -f best-audio when only audio is requested
Diffstat (limited to 'youtube_dl/YoutubeDL.py')
-rw-r--r-- | youtube_dl/YoutubeDL.py | 2 |
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 = [] |