mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-10 10:11:46 +00:00
Format front downloader
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user