mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05:00
[YoutubeDL] Improve audio/video-only file naming
This commit is contained in:
parent
a4bcaad773
commit
666a9a2b95
1 changed files with 1 additions and 1 deletions
|
@ -1403,7 +1403,7 @@ def compatible_formats(formats):
|
||||||
new_info = dict(info_dict)
|
new_info = dict(info_dict)
|
||||||
new_info.update(f)
|
new_info.update(f)
|
||||||
fname = self.prepare_filename(new_info)
|
fname = self.prepare_filename(new_info)
|
||||||
fname = prepend_extension(fname, 'f%s' % f['format_id'])
|
fname = prepend_extension(fname, 'f%s' % f['format_id'], new_info['ext'])
|
||||||
downloaded.append(fname)
|
downloaded.append(fname)
|
||||||
partial_success = dl(fname, new_info)
|
partial_success = dl(fname, new_info)
|
||||||
success = success and partial_success
|
success = success and partial_success
|
||||||
|
|
Loading…
Reference in a new issue