fix audio formats
This commit is contained in:
parent
1cb26a7f99
commit
598de0c426
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue