diff --git a/src/core/endpoints/PlayerEndpoint.ts b/src/core/endpoints/PlayerEndpoint.ts index 41560c84..252aaf92 100644 --- a/src/core/endpoints/PlayerEndpoint.ts +++ b/src/core/endpoints/PlayerEndpoint.ts @@ -28,6 +28,9 @@ export function build(opts: PlayerEndpointOptions): IPlayerRequest { } } }, + attestationRequest: { + omitBotguardData: true + }, racyCheckOk: true, contentCheckOk: true, videoId: opts.video_id, diff --git a/src/types/Endpoints.ts b/src/types/Endpoints.ts index bd1a6e4c..3cdd963d 100644 --- a/src/types/Endpoints.ts +++ b/src/types/Endpoints.ts @@ -20,6 +20,9 @@ export interface IPlayerRequest { lactMilliseconds: string; } }, + attestationRequest: { + omitBotguardData: boolean; + }, videoId: string; racyCheckOk: boolean; contentCheckOk: boolean;