aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workers
diff options
context:
space:
mode:
Diffstat (limited to 'apps/workers')
-rw-r--r--apps/workers/crawlerWorker.ts2
-rw-r--r--apps/workers/videoWorker.ts2
2 files changed, 2 insertions, 2 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";
diff --git a/apps/workers/videoWorker.ts b/apps/workers/videoWorker.ts
index 5448f0fa..a85a8cae 100644
--- a/apps/workers/videoWorker.ts
+++ b/apps/workers/videoWorker.ts
@@ -98,7 +98,7 @@ async function runWorker(job: DequeuedJob<ZVideoRequest>) {
`[VideoCrawler][${jobId}] Attempting to download a file from "${url}" to "${assetPath}" using the following arguments: "${ytDlpArguments}"`,
);
- await execa`yt-dlp ${ytDlpArguments}`;
+ await execa("yt-dlp", ytDlpArguments);
const downloadPath = await findAssetFile(videoAssetId);
if (!downloadPath) {
logger.info(