Fix errors
This commit is contained in:
parent
1e7a31bff0
commit
dc96a61358
@ -181,9 +181,10 @@ class DownloadVideo {
|
||||
|
||||
const result = await new Promise((resolve, reject) => {
|
||||
const child = spawn("yt-dlp", [
|
||||
"--skip-download", "--dump-json", "--ignore-no-formats",
|
||||
"--cookies", "cookies.txt",
|
||||
"--user-agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64)",
|
||||
"-j", this.url
|
||||
this.url
|
||||
]);
|
||||
let data = "";
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user