Wie verberge ich die Ausgabe von YT-DL in CMD? PythonPython

Python-Programme
Guest
 Wie verberge ich die Ausgabe von YT-DL in CMD? Python

Post by Guest »

Ich kodiere Programm, das MP3-Audio von YouTube-Videos herunterlädt, aber ich habe ein Problem, das YT-DL eine Ausgabe in der Konsole anzeigen < /p>
Mein Code: < /p>

Code: Select all

with open('Links.txt') as f:
content = f.readlines()
for links in content:

ydl_opts = {
'format': 'bestaudio/best',
'postprocessors': [{
'key': 'FFmpegExtractAudio',
'preferredcodec': 'mp3',
'preferredquality': '192',
}],
}
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
ydl.download([links])
Foto der Ausgabe:

und ich brauche die Option oder eine Möglichkeit, die Ausgabe auszublenden. < /p>

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post