diff --git a/plugins/downloader/front.js b/plugins/downloader/front.js index 1e628e1a..2c220546 100644 --- a/plugins/downloader/front.js +++ b/plugins/downloader/front.js @@ -42,7 +42,9 @@ global.download = () => { .querySelector("ytmusic-menu-navigation-item-renderer") .querySelector("#navigation-endpoint") .getAttribute("href"); - videoUrl = !videoUrl ? (global.songInfo.url || window.location.href) : (baseUrl + videoUrl); + videoUrl = !videoUrl + ? global.songInfo.url || window.location.href + : baseUrl + videoUrl; downloadVideoToMP3( videoUrl,