YouTube-Dl Python Téléchargement dans un dossier spécifique

ydl_opts = {
    'format': 'bestaudio/best',
  	'outtmpl': 'e:/python/downloadedsongs/%(title)s.%(ext)s', # <--- pay attention here
    'download_archive': 'downloaded_songs.txt',
    'outtmpl': '%(title)s.%(ext)s',
    'postprocessors': [{
        'key': 'FFmpegExtractAudio',
        'preferredcodec': 'mp3',
        'preferredquality': '192',
        }],
    'logger': MyLogger(),
    'progress_hooks': [my_hook],

}
Tirant Turkey