From de97b49dfa6d94ea861b8050c3644ccd734cdd64 Mon Sep 17 00:00:00 2001 From: szbk Date: Sun, 14 Dec 2025 15:19:12 +0300 Subject: [PATCH] =?UTF-8?q?feat(youtube):=20js=20=C3=A7al=C4=B1=C5=9Fma=20?= =?UTF-8?q?zaman=C4=B1n=C4=B1=20yap=C4=B1land=C4=B1r=C4=B1labilir=20hale?= =?UTF-8?q?=20getir?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/server.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server/server.js b/server/server.js index 69b42ef..39f7e28 100644 --- a/server/server.js +++ b/server/server.js @@ -734,6 +734,10 @@ function appendYoutubeLog(job, line) { function launchYoutubeJob(job) { const binary = getYtDlpBinary(); + const jsRuntime = + process.env.YT_DLP_JS_RUNTIME || + process.env.NODE_BIN || + "/usr/bin/node"; const args = [ "-f", "bv+ba/b", @@ -741,6 +745,8 @@ function launchYoutubeJob(job) { "--convert-thumbnails", "jpg", "--write-info-json", + "--js-runtime", + jsRuntime, job.url ]; job.debug = { binary, args, logs: [] };