diff options
| author | Pinapelz <donaldshan1@outlook.com> | 2026-05-12 19:59:26 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-12 19:59:26 -0700 |
| commit | 2f821f5327df359fcb9089aed613f17128be2161 (patch) | |
| tree | 54feb325e8e2b9ec1c596c32f940d288ac3055e6 /build | |
| parent | ee8e8ba44e72caa0fdd88b5b4a8cd63e07339e8d (diff) | |
| parent | b9a32c8565771342b3504249898892e3fa7d4cba (diff) | |
Merge branch 'RblSb:master' into master
Diffstat (limited to 'build')
| -rw-r--r-- | build/server.js | 2 |
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"; |
