fix chrome
This commit is contained in:
parent
2a14ef0c2b
commit
00a5eb7c9c
@ -10,7 +10,7 @@ function seep(time){
|
|||||||
}
|
}
|
||||||
|
|
||||||
function dow(info,callback){
|
function dow(info,callback){
|
||||||
const lux = spawn("./bin/yt-dlp.exe", ['--cookies-from-browser', 'edge', '-P', info.save, '-o', info.title + '.mp4', info.url])
|
const lux = spawn("./bin/yt-dlp.exe", ['--cookies-from-browser', 'chrome', '-P', info.save, '-o', info.title + '.mp4', info.url])
|
||||||
lux.stdout.on('data', (data) => {
|
lux.stdout.on('data', (data) => {
|
||||||
console.log(String(data))
|
console.log(String(data))
|
||||||
callback(String(data),false)
|
callback(String(data),false)
|
||||||
|
Loading…
Reference in New Issue
Block a user