youtubei 0.0.1-rc.35 → 0.0.1-rc.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -36,7 +36,9 @@ class Video extends _1.BaseVideo {
36
36
  // Duration
37
37
  const videoInfo = _1.BaseVideo.parseRawData(data);
38
38
  this.duration = +videoInfo.videoDetails.lengthSeconds;
39
- const itemSectionRenderer = data[3].response.contents.twoColumnWatchNextResults.results.results.contents.find((c) => c.itemSectionRenderer).itemSectionRenderer;
39
+ const itemSectionRenderer = data[3].response.contents.twoColumnWatchNextResults.results.results.contents
40
+ .reverse()
41
+ .find((c) => c.itemSectionRenderer).itemSectionRenderer;
40
42
  this.commentContinuation = common_1.getContinuationFromItems(itemSectionRenderer.contents);
41
43
  return this;
42
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "youtubei",
3
- "version": "0.0.1-rc.35",
3
+ "version": "0.0.1-rc.36",
4
4
  "description": "Simple package to get information from youtube such as videos, playlists, channels, video information & comments, related videos, up next video, and more!",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",