diff options
| author | Ilari Sorvali <42145485+ilarisorvali@users.noreply.github.com> | 2026-06-29 22:32:42 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-29 22:32:42 +0300 |
| commit | 0e22bc6e2c2575746fd93bf7c9e6698919d5bd74 (patch) | |
| tree | 1e3a6c0cc74cd8e4d8e3e44f18267ee6a7d10882 | |
| parent | 318cb1570c83c52e5b19e0d76e8fe28f8dfccc30 (diff) | |
change yt-dlp command in tasks.ts
| -rw-r--r-- | src/tasks.ts | 4 |
1 files changed, 1 insertions, 3 deletions
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); |
