Skip to content

Commit 2cf6ec9

Browse files
authored
Update bin app.js
1 parent 2ba9837 commit 2cf6ec9

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

bin/app.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,12 @@ const getURL = async (song, singer, album) => {
177177
return;
178178
}
179179

180-
let link = DOWNLOAD_URL + track.id + "/";
181-
link = link + track.duration + "/";
182-
link = link + track.url + "/";
183-
link = link + songName + ".mp3" + "?extra=";
184-
link = link + track.extra;
180+
//let link = DOWNLOAD_URL + track.id + "/";
181+
//link = link + track.duration + "/";
182+
//link = link + track.url + "/";
183+
//link = link + songName + ".mp3" + "?extra=";
184+
//link = link + track.extra;
185+
let link = track.url;
185186
link = encodeURI(link); //to replace unescaped characters from link
186187
artwork_query = encodeURI(track.tit_art + ' ' + album);
187188
download(songName, link, song, singer, artwork_query);

0 commit comments

Comments
 (0)