diff --git a/spotify_to_mp3.py b/spotify_to_mp3.py index 0f541c9..932ff10 100644 --- a/spotify_to_mp3.py +++ b/spotify_to_mp3.py @@ -80,6 +80,7 @@ def find_and_download_songs(reference_file: str): 'preferredcodec': 'mp3', 'preferredquality': '192', }], + 'outtmpl': os.path.join( "{}".format(os.getcwd()), '%(title)s.%(ext)s'), } with yt_dlp.YoutubeDL(ydl_opts) as ydl: ydl.download([best_url])