fix: fixed paths in youtube downloader
This commit is contained in:
parent
b706d4905f
commit
ca5a2d10b6
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ class MusicDownloader(commands.Cog):
|
|||
'progress_hooks': [hook],
|
||||
'format': 'm4a/bestaudio/best',
|
||||
'postprocessors': [{'key': 'FFmpegExtractAudio', 'preferredcodec': 'm4a',}],
|
||||
'paths': [{'home': path}]
|
||||
'paths': {'home': path}
|
||||
}
|
||||
with YoutubeDL(ydl_opts) as ydl:
|
||||
error_code = ydl.download(url)
|
||||
|
|
Loading…
Reference in a new issue