aboutsummaryrefslogtreecommitdiffstats
path: root/build/server.js
diff options
context:
space:
mode:
Diffstat (limited to 'build/server.js')
-rw-r--r--build/server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/server.js b/build/server.js
index 0ea2bdb..6351cff 100644
--- a/build/server.js
+++ b/build/server.js
@@ -6677,7 +6677,7 @@ server_cache_YoutubeCache.prototype = {
if(useCookies == null) {
useCookies = false;
}
- return this.ytDlp.getInfoAsync(url,{ cookies : useCookies ? this.getCookiesPathOrNull() : null});
+ return this.ytDlp.getInfoAsync(url,{ cookies : useCookies ? this.getCookiesPathOrNull() : null, additionalOptions : ["--no-js-runtimes","--js-runtimes",this.main.config.ytDlp.jsRuntime]});
}
,getCookiesPathOrNull: function() {
var cookiesPath = "" + this.main.userDir + "/cookies.txt";
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage