From 8adfcdc0024cc473d3c73df8f8b9bfb6cf5c950b Mon Sep 17 00:00:00 2001 From: TC Date: Sun, 12 Feb 2023 19:21:04 +0100 Subject: [PATCH] Replace all | in title (codeQL fix) --- plugins/downloader/youtube-dl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/downloader/youtube-dl.js b/plugins/downloader/youtube-dl.js index 443059fc..8a7b0bf1 100644 --- a/plugins/downloader/youtube-dl.js +++ b/plugins/downloader/youtube-dl.js @@ -82,7 +82,7 @@ const downloadVideoToMP3 = async ( sendFeedback("Download: " + progress + "%", ratio); }) .on("info", (info, format) => { - videoName = info.videoDetails.title.replace("|", "").toString("ascii"); + videoName = info.videoDetails.title.replaceAll("|", "").toString("ascii"); if (is.dev()) { console.log( "Downloading video - name:",