Skip to content

Commit

Permalink
Merge pull request #680 from lovegaoshi/dev
Browse files Browse the repository at this point in the history
fix: yt resolve
  • Loading branch information
lovegaoshi authored Dec 5, 2024
2 parents d146836 + 5de5a08 commit 48de74d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/mediafetch/ytbi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}),
);

Expand Down

0 comments on commit 48de74d

Please sign in to comment.