mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-07-02 21:52:48 +00:00
fix(getBasicInfo): Add racyCheckOk and contentCheckOk to payload (#961)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user