From 0e22bc6e2c2575746fd93bf7c9e6698919d5bd74 Mon Sep 17 00:00:00 2001 From: Ilari Sorvali <42145485+ilarisorvali@users.noreply.github.com> Date: Mon, 29 Jun 2026 22:32:42 +0300 Subject: change yt-dlp command in tasks.ts --- src/tasks.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/tasks.ts') diff --git a/src/tasks.ts b/src/tasks.ts index cbbbbd1..07c29e5 100644 --- a/src/tasks.ts +++ b/src/tasks.ts @@ -24,9 +24,7 @@ export const runDownloadUrlTask = async (task: Task) => { } const { stdout } = await asyncExec( - `yt-dlp -f "bestvideo[ext=mp4][vcodec!*=vp9]+bestaudio/best[ext=mp4][vcodec!*=vp9]" \ - --merge-output-format mp4 \ - --restrict-filenames -o "${filename}" -P downloads --cookies-from-browser chromium "${task.url}"`, + `yt-dlp -t mp4 --merge-output-format mp4 --restrict-filenames -o "${filename}" -P downloads --cookies-from-browser chromium "${task.url}"`, ); console.log(stdout); task.respondWithFile(filename); -- cgit v1.3