fix: made ytdlp logging verbose

This commit is contained in:
Seaswimmer 2023-08-01 12:27:22 -04:00
parent 63eb812170
commit f965ff3fef
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -52,7 +52,8 @@ class MusicDownloader(commands.Cog):
'progress_hooks': [hook], 'progress_hooks': [hook],
'format': 'm4a/bestaudio/best', 'format': 'm4a/bestaudio/best',
'postprocessors': [{'key': 'FFmpegExtractAudio', 'preferredcodec': 'm4a',}], 'postprocessors': [{'key': 'FFmpegExtractAudio', 'preferredcodec': 'm4a',}],
'paths': {'home': path} 'paths': {'home': path},
'verbose': True
} }
with YoutubeDL(ydl_opts) as ydl: with YoutubeDL(ydl_opts) as ydl:
info = ydl.extract_info(url=url, download=True) info = ydl.extract_info(url=url, download=True)