From c644d418ddca1e617ab07b68c573db7c2c2dff19 Mon Sep 17 00:00:00 2001 From: ArjixWasTaken Date: Sat, 4 Oct 2025 18:40:45 +0300 Subject: [PATCH] fix(downloader): set player id to 0004e42 see https://github.com/LuanRT/YouTube.js/issues/1044#issuecomment-3332095783 Co-Authored-By: Shikki <56765352+theone2277@users.noreply.github.com> --- src/plugins/downloader/main/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/downloader/main/index.ts b/src/plugins/downloader/main/index.ts index 902f41ab..c866eb87 100644 --- a/src/plugins/downloader/main/index.ts +++ b/src/plugins/downloader/main/index.ts @@ -126,6 +126,7 @@ export const onMainLoad = async ({ yt = await Innertube.create({ cache: new UniversalCache(false), + player_id: '0004de42', cookie: await getCookieFromWindow(win), generate_session_locally: true, fetch: getNetFetchAsFetch(),