From f95933cb6171dc34f6c76612b20be103b62653a3 Mon Sep 17 00:00:00 2001 From: supositware Date: Mon, 20 Jun 2022 11:52:00 +0200 Subject: [PATCH] --no-playlist --- utils/videos.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/videos.js b/utils/videos.js index 5723334c..fbfbadf0 100644 --- a/utils/videos.js +++ b/utils/videos.js @@ -9,7 +9,7 @@ export default { }; async function downloadVideo(urlArg, output, format = 'bestvideo*+bestaudio/best') { await new Promise((resolve, reject) => { - exec(`./bin/yt-dlp -f ${format} ${urlArg} -o "${os.tmpdir()}/${output}.%(ext)s" --force-overwrites`, (err, stdout, stderr) => { + exec(`./bin/yt-dlp -f ${format} ${urlArg} -o "${os.tmpdir()}/${output}.%(ext)s" --force-overwrites --no-playlist`, (err, stdout, stderr) => { if (err) { reject(stderr); }