|
|
@@ -61,7 +61,7 @@ async def download_youtube_audio(url: str, m = 0):
|
|
|
if info_dict['ext'] == 'webm':
|
|
|
audio_file_opus = basename + ".opus"
|
|
|
ffmpeg.input(audio_file).output(audio_file_opus,
|
|
|
- codec="copy", loglevel='error').run()
|
|
|
+ codec="copy", loglevel='error').overwrite_output().run()
|
|
|
os.remove(audio_file)
|
|
|
audio_file = audio_file_opus
|
|
|
title = info_dict['title']
|