mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 18:41:47 +00:00
Replace all | in title (codeQL fix)
This commit is contained in:
@ -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:",
|
||||
|
||||
Reference in New Issue
Block a user