diff options
| author | Mohamed Bassem <me@mbassem.com> | 2024-11-03 20:36:30 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2024-11-03 20:36:30 +0000 |
| commit | cbaa0338f448f2405b4458089abd2799ba57983f (patch) | |
| tree | 994c6b91d5e84b07ede2054dae69ac6f6413f439 /apps/workers/crawlerWorker.ts | |
| parent | 7ec5746192ac59b38f7666643bad5e68ef4b46d7 (diff) | |
| download | karakeep-cbaa0338f448f2405b4458089abd2799ba57983f.tar.zst | |
fix: Pass arguments to monolith and yt-dlp as array for better escaping
Diffstat (limited to 'apps/workers/crawlerWorker.ts')
| -rw-r--r-- | apps/workers/crawlerWorker.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/workers/crawlerWorker.ts b/apps/workers/crawlerWorker.ts index d5bc555e..f607234e 100644 --- a/apps/workers/crawlerWorker.ts +++ b/apps/workers/crawlerWorker.ts @@ -411,7 +411,7 @@ async function archiveWebpage( await execa({ input: html, - })`monolith - -Ije -t 5 -b ${url} -o ${assetPath}`; + })("monolith", ["-", "-Ije", "-t", "5", "-b", url, "-o", assetPath]); const contentType = "text/html"; |
