chore(PlayerEndpoint.ts): add back attestationRequest field

This was accidentally removed in a recent PR. It tells InnerTube to omit the botguard program data.
This commit is contained in:
LuanRT
2023-05-03 19:31:59 -03:00
parent 3b0498b68b
commit d4adb9eb6b
2 changed files with 6 additions and 0 deletions

View File

@@ -28,6 +28,9 @@ export function build(opts: PlayerEndpointOptions): IPlayerRequest {
}
}
},
attestationRequest: {
omitBotguardData: true
},
racyCheckOk: true,
contentCheckOk: true,
videoId: opts.video_id,

View File

@@ -20,6 +20,9 @@ export interface IPlayerRequest {
lactMilliseconds: string;
}
},
attestationRequest: {
omitBotguardData: boolean;
},
videoId: string;
racyCheckOk: boolean;
contentCheckOk: boolean;