Replace all | in title (codeQL fix)

This commit is contained in:
TC
2023-02-12 19:21:04 +01:00
parent 4ec0b7ff30
commit 8adfcdc002

View File

@ -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:",