Default to -f best-audio when only audio is requested
This commit is contained in:
parent
8908741806
commit
de3ef3ed58
2 changed files with 6 additions and 2 deletions
|
@ -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 = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue