fix(getBasicInfo): Add racyCheckOk and contentCheckOk to payload (#961)

This commit is contained in:
absidue
2025-05-01 13:29:25 +02:00
committed by GitHub
parent 92b8623374
commit 0f1fd7223c

View File

@@ -118,7 +118,13 @@ export default class Innertube {
async getBasicInfo(video_id: string, client?: InnerTubeClient): Promise<VideoInfo> {
throwIfMissing({ video_id });
const watch_endpoint = new NavigationEndpoint({ watchEndpoint: { videoId: video_id } });
const watch_endpoint = new NavigationEndpoint({
watchEndpoint: {
videoId: video_id,
racyCheckOk: true,
contentCheckOk: true
}
});
const session = this.#session;