Fix errors

This commit is contained in:
FullGreaM 2026-01-30 17:25:51 +03:00
parent 1e7a31bff0
commit dc96a61358

View File

@ -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 = "";