summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tasks.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tasks.ts b/src/tasks.ts
index 0646da5..7497f3a 100644
--- a/src/tasks.ts
+++ b/src/tasks.ts
@@ -23,7 +23,7 @@ export const runDownloadUrlTask = async (task: Task) => {
}
const { stdout } = await asyncExec(
- `yt-dlp -o "downloads/${filename}" "${task.url}"`,
+ `yt-dlp --cookies-from-browser chromium -o "downloads/${filename}" "${task.url}"`,
);
console.log(stdout);
task.respondWithFile(filename);