From 4b8b0a0e9ec2842874eaa89534e31f3d861817e5 Mon Sep 17 00:00:00 2001 From: wukko Date: Tue, 10 Dec 2024 17:30:32 +0600 Subject: [PATCH] api/youtube: don't retrieve the player as cobalt doesn't use it we don't decipher anything lol --- api/src/processing/services/youtube.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/src/processing/services/youtube.js b/api/src/processing/services/youtube.js index 3af6ba94..c0178b35 100644 --- a/api/src/processing/services/youtube.js +++ b/api/src/processing/services/youtube.js @@ -68,7 +68,8 @@ const cloneInnertube = async (customFetch) => { const shouldRefreshPlayer = lastRefreshedAt + PLAYER_REFRESH_PERIOD < new Date(); if (!innertube || shouldRefreshPlayer) { innertube = await Innertube.create({ - fetch: customFetch + fetch: customFetch, + retrieve_player: false, }); lastRefreshedAt = +new Date(); }