aboutsummaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
authorPinapelz <donaldshan1@outlook.com>2026-05-12 19:59:26 -0700
committerGitHub <noreply@github.com>2026-05-12 19:59:26 -0700
commit2f821f5327df359fcb9089aed613f17128be2161 (patch)
tree54feb325e8e2b9ec1c596c32f940d288ac3055e6 /src/server
parentee8e8ba44e72caa0fdd88b5b4a8cd63e07339e8d (diff)
parentb9a32c8565771342b3504249898892e3fa7d4cba (diff)
Merge branch 'RblSb:master' into master
Diffstat (limited to 'src/server')
-rw-r--r--src/server/cache/YoutubeCache.hx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/cache/YoutubeCache.hx b/src/server/cache/YoutubeCache.hx
index 158cfe1..09ab67b 100644
--- a/src/server/cache/YoutubeCache.hx
+++ b/src/server/cache/YoutubeCache.hx
@@ -223,8 +223,9 @@ class YoutubeCache {
}
function getInfoAsync(url:String, useCookies = false):Promise<VideoInfo> {
- return cast ytDlp.getInfoAsync(url, {
+ return cast ytDlp.getInfoAsync(url, cast {
cookies: useCookies ? getCookiesPathOrNull() : null,
+ additionalOptions: ["--no-js-runtimes", "--js-runtimes", main.config.ytDlp.jsRuntime],
});
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage