fix: bruteforce the way until it gets player 7795af42
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m29s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m29s
This commit is contained in:
parent
6987dd8c0b
commit
d2ac679cd9
1 changed files with 13 additions and 0 deletions
13
src/main.ts
13
src/main.ts
|
@ -68,6 +68,19 @@ if (!innertubeClientOauthEnabled) {
|
|||
konfigStore,
|
||||
innertubeClientCache as UniversalCache,
|
||||
);
|
||||
console.log(
|
||||
`[DEBUG] player_id: ${innertubeClient.session.player?.player_id}`,
|
||||
);
|
||||
while (innertubeClient.session.player?.player_id != "7795af42") {
|
||||
innertubeClient = await poTokenGenerate(
|
||||
innertubeClient,
|
||||
konfigStore,
|
||||
innertubeClientCache as UniversalCache,
|
||||
);
|
||||
console.log(
|
||||
`[DEBUG] player_id: ${innertubeClient.session.player?.player_id}`,
|
||||
);
|
||||
}
|
||||
}
|
||||
setInterval(
|
||||
async () => {
|
||||
|
|
Reference in a new issue