Update download.js
This commit is contained in:
parent
54cb464d0f
commit
b5b992e568
@ -97,7 +97,7 @@ libs.yt_dl = (os,cb)=>{
|
||||
var url = "";
|
||||
switch (os) {
|
||||
case "win32":
|
||||
url = 'https://yt-dl.org/downloads/2017.08.13/youtube-dl.exe';
|
||||
url = 'https://yt-dl.org/downloads/latest/youtube-dl.exe';
|
||||
libs.download(url,"youtube-dl",function(data,file){
|
||||
fs.renameSync(file,global.dir+'/lib/youtube-dl.exe');
|
||||
cb();
|
||||
|
Loading…
Reference in New Issue
Block a user