Revert "fix: bruteforce the way until it gets player 7795af42
"
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m20s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m20s
This reverts commit 73118f021c
.
This commit is contained in:
parent
07294d6975
commit
b902b374e6
1 changed files with 0 additions and 28 deletions
28
src/main.ts
28
src/main.ts
|
@ -174,19 +174,6 @@ 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 () => {
|
||||
|
@ -196,21 +183,6 @@ if (!innertubeClientOauthEnabled) {
|
|||
konfigStore,
|
||||
innertubeClientCache,
|
||||
);
|
||||
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}`,
|
||||
);
|
||||
}
|
||||
} else {
|
||||
innertubeClient = await Innertube.create({
|
||||
cache: innertubeClientCache,
|
||||
|
|
Reference in a new issue