From 5de5a087a634dc748ec15bebc56c7b3350b013bf Mon Sep 17 00:00:00 2001 From: lovegaoshi <106490582+lovegaoshi@users.noreply.github.com> Date: Thu, 5 Dec 2024 06:43:02 -0800 Subject: [PATCH] fix: yt resolve --- src/utils/mediafetch/ytbi.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/mediafetch/ytbi.ts b/src/utils/mediafetch/ytbi.ts index 3a4230aa..e0d49569 100644 --- a/src/utils/mediafetch/ytbi.ts +++ b/src/utils/mediafetch/ytbi.ts @@ -46,13 +46,13 @@ global.CustomEvent = CustomEvent as any; let ytClient: undefined | Innertube; const createYtClient = () => - getItem(StorageKeys.YTMCOOKIES, undefined).then(cookie => + getItem(StorageKeys.YTMCOOKIES, undefined).then(() => Innertube.create({ retrieve_player: true, enable_session_cache: false, generate_session_locally: false, client_type: ClientType.IOS, - cookie, + //cookie, }), );