fix: made ytdlp logging verbose
This commit is contained in:
parent
63eb812170
commit
f965ff3fef
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue