I'm making a script with python that download some videos from a page, and there's some Youtube videos, so I'm using youtube-dl to download them.
The problem is that the terminal is so dirty with all informations, I want to hide them. Hide everything, the path of save, the current status, but keep only the progress information. If I set the quiet mode to True, the progress information don't appear.
My code:
def ytbDown(path, name, url):
ydl_opts = {
'outtmpl': path + name,
'format': 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best',
'quiet': False,
'warnings': 'no-warnings'}
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
ydl.download([url])
If I run the script with that configuration, the terminal appears this way:

If I set the quiet mode to True, nothing appears, but I don't wanna this. I wanna keep only the progress status (download porcentage, download speed, etc)
There's a way to do this? Thanks for all the help, I'm using Python 3 and Windows 7