diff --git a/src/Innertube.ts b/src/Innertube.ts index 7bbcf7dcb..2fd1a2bb5 100644 --- a/src/Innertube.ts +++ b/src/Innertube.ts @@ -116,7 +116,7 @@ class Innertube { const continuation = this.actions.execute('/next', payload); const response = await Promise.all([ initial_info, continuation ]); - return new VideoInfo(response, this.actions, this.session.player, cpn); + return new VideoInfo(response, this.actions, cpn); } /** @@ -130,7 +130,7 @@ class Innertube { const cpn = generateRandomString(16); const response = await this.actions.getVideoInfo(video_id, cpn, client); - return new VideoInfo([ response ], this.actions, this.session.player, cpn); + return new VideoInfo([ response ], this.actions, cpn); } /** diff --git a/src/core/Feed.ts b/src/core/Feed.ts index 0a1013145..382b8f562 100644 --- a/src/core/Feed.ts +++ b/src/core/Feed.ts @@ -72,7 +72,7 @@ class Feed { * Get all videos on a given page via memo */ static getVideosFromMemo(memo: Memo) { - return memo.getType