mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-21 05:44:02 -07:00
Add -f m4a
This commit is contained in:
parent
09b23c902b
commit
e2e5dae64d
2 changed files with 2 additions and 2 deletions
|
@ -708,7 +708,7 @@ class YoutubeDL(object):
|
|||
if video_formats:
|
||||
return video_formats[0]
|
||||
else:
|
||||
extensions = ['mp4', 'flv', 'webm', '3gp']
|
||||
extensions = ['mp4', 'flv', 'webm', '3gp', 'm4a']
|
||||
if format_spec in extensions:
|
||||
filter_f = lambda f: f['ext'] == format_spec
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue