diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-04-25 14:43:04 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-04-25 14:43:04 +0300 |
| commit | b4f42f0248008ae3813e972abe264c1d0c326d4c (patch) | |
| tree | 1baf6fa96684a01cbfb19effcb1d185c078950e5 /src/tasks.ts | |
| parent | 7c9a30055ffacc9304f889040abb9d39a7565684 (diff) | |
Use chromium cookies
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 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); |
