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>
This commit is contained in:
ArjixWasTaken
2025-10-04 18:40:45 +03:00
parent 18692b0283
commit c644d418dd

View File

@ -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(),