From 4e0748302e1b1c2b5131100582516abdff17997b Mon Sep 17 00:00:00 2001 From: OmerSabic Date: Wed, 22 Oct 2025 13:48:13 +0200 Subject: [PATCH] removed extra unnecessary .mp3 extensions --- main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.ts b/main.ts index c6802bd..1057cd4 100644 --- a/main.ts +++ b/main.ts @@ -297,7 +297,7 @@ function downloadSong(downloadLink: string, folder: string, filename: string): P return new Promise((resolve, reject) => { ensureDirectory(folder) https.get(downloadLink, (response) => { - response.pipe(fs.createWriteStream(`${folder}/${filename}.mp3`)) + response.pipe(fs.createWriteStream(`${folder}/${filename}`)) .on('finish', () => { resolve(); })