Skip to content

Commit

Permalink
fix(VideoInfo): Fix error because of typo in getWatchNextContinuation (
Browse files Browse the repository at this point in the history
  • Loading branch information
absidue authored Jan 31, 2024
1 parent 4fb9dff commit b21eb9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/youtube/VideoInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ class VideoInfo extends MediaInfo {
throw new InnertubeError('Watch next feed continuation not found');

const response = await this.#watch_next_continuation?.endpoint.call(this.actions, { parse: true });
const data = response?.on_response_received_endpoints?.get({ type: 'appendContinuationItemsAction' });
const data = response?.on_response_received_endpoints?.get({ type: 'AppendContinuationItemsAction' });

if (!data)
throw new InnertubeError('AppendContinuationItemsAction not found');
Expand Down

0 comments on commit b21eb9f

Please sign in to comment.