diff options
Diffstat (limited to 'src/tasks.ts')
| -rw-r--r-- | src/tasks.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tasks.ts b/src/tasks.ts index 0b220bb..c25fd80 100644 --- a/src/tasks.ts +++ b/src/tasks.ts @@ -24,7 +24,7 @@ export const runDownloadUrlTask = async (task: Task) => { } const { stdout } = await asyncExec( - `yt-dlp --cookies-from-browser chromium -o "${filepath}" "${task.url}"`, + `yt-dlp -f mp4 --restrict-filenames -o "${filename}" -P downloads --cookies-from-browser chromium "${task.url}"`, ); console.log(stdout); task.respondWithFile(filename); |
