mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-15 12:21: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);
|
sendFeedback("Download: " + progress + "%", ratio);
|
||||||
})
|
})
|
||||||
.on("info", (info, format) => {
|
.on("info", (info, format) => {
|
||||||
videoName = info.videoDetails.title.replace("|", "").toString("ascii");
|
videoName = info.videoDetails.title.replaceAll("|", "").toString("ascii");
|
||||||
if (is.dev()) {
|
if (is.dev()) {
|
||||||
console.log(
|
console.log(
|
||||||
"Downloading video - name:",
|
"Downloading video - name:",
|
||||||
|
|||||||
Reference in New Issue
Block a user