mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-14 11:51:47 +00:00
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:
@ -126,6 +126,7 @@ export const onMainLoad = async ({
|
|||||||
|
|
||||||
yt = await Innertube.create({
|
yt = await Innertube.create({
|
||||||
cache: new UniversalCache(false),
|
cache: new UniversalCache(false),
|
||||||
|
player_id: '0004de42',
|
||||||
cookie: await getCookieFromWindow(win),
|
cookie: await getCookieFromWindow(win),
|
||||||
generate_session_locally: true,
|
generate_session_locally: true,
|
||||||
fetch: getNetFetchAsFetch(),
|
fetch: getNetFetchAsFetch(),
|
||||||
|
|||||||
Reference in New Issue
Block a user