fix audio formats

This commit is contained in:
Bingus_Violet 2024-01-18 18:38:59 -06:00
parent 1cb26a7f99
commit 598de0c426

View file

@ -78,7 +78,7 @@ app.get("/download", async (req, res) => {
} else {
var fileName = Math.round(Math.random() * 100_000_000_000_000).toString() + fileExtension
var filePath = path.join(__dirname, 'downloads', fileName)
var filePath = path.join(__dirname, 'downloads', fileName).trim()
var ytdlpProcess = cp.spawn('yt-dlp', [
url,
'-x',