Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
LuanRT committed Feb 19, 2024
2 parents 89fa3b2 + ab7201f commit 3e84775
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [9.0.2](https://github.com/LuanRT/YouTube.js/compare/v9.0.1...v9.0.2) (2024-01-31)


### Bug Fixes

* **VideoInfo:** Fix error because of typo in getWatchNextContinuation ([#590](https://github.com/LuanRT/YouTube.js/issues/590)) ([b21eb9f](https://github.com/LuanRT/YouTube.js/commit/b21eb9f33d956e130bac98712384125ae04ace47))

## [9.0.1](https://github.com/LuanRT/YouTube.js/compare/v9.0.0...v9.0.1) (2024-01-26)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "youtubei.js",
"version": "9.0.1",
"version": "9.0.2",
"description": "A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).",
"type": "module",
"types": "./dist/src/platform/lib.d.ts",
Expand Down
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 3e84775

Please sign in to comment.