mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-20 13:01:31 +00:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ab7201f0cc | ||
|
|
b21eb9f33d | ||
|
|
4fb9dff0f2 | ||
|
|
81dd5d3288 | ||
|
|
c7f42220db | ||
|
|
5204b29e81 | ||
|
|
cbaa838cee |
14
CHANGELOG.md
14
CHANGELOG.md
@@ -1,5 +1,19 @@
|
||||
# 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)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **build:** Circular imports causing issues with webpack ([81dd5d3](https://github.com/LuanRT/YouTube.js/commit/81dd5d3288771132e7fb904b620e58277f639ccc))
|
||||
|
||||
## [9.0.0](https://github.com/LuanRT/YouTube.js/compare/v8.2.0...v9.0.0) (2024-01-25)
|
||||
|
||||
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "youtubei.js",
|
||||
"version": "9.0.0",
|
||||
"version": "9.0.2",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "youtubei.js",
|
||||
"version": "9.0.0",
|
||||
"version": "9.0.2",
|
||||
"funding": [
|
||||
"https://github.com/sponsors/LuanRT"
|
||||
],
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "youtubei.js",
|
||||
"version": "9.0.0",
|
||||
"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",
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
import { Player, OAuth, Actions } from './index.js';
|
||||
import OAuth from './OAuth.js';
|
||||
import { Log, EventEmitter, HTTPClient } from '../utils/index.js';
|
||||
import * as Constants from '../utils/Constants.js';
|
||||
import * as Proto from '../proto/index.js';
|
||||
import Actions from './Actions.js';
|
||||
import Player from './Player.js';
|
||||
|
||||
import {
|
||||
generateRandomString, getRandomUserAgent,
|
||||
|
||||
@@ -4,7 +4,6 @@ import { getStreamingInfo } from '../../utils/StreamingInfo.js';
|
||||
|
||||
import { Parser } from '../../parser/index.js';
|
||||
import { TranscriptInfo } from '../../parser/youtube/index.js';
|
||||
import PlayerStoryboardSpec from '../../parser/classes/PlayerStoryboardSpec.js';
|
||||
import ContinuationItem from '../../parser/classes/ContinuationItem.js';
|
||||
|
||||
import type { ApiResponse, Actions } from '../index.js';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* eslint-disable no-cond-assign */
|
||||
import { YTNode } from './helpers.js';
|
||||
import { Parser } from './index.js';
|
||||
import * as Parser from './parser.js';
|
||||
import { InnertubeError } from '../utils/Utils.js';
|
||||
|
||||
import Author from './classes/misc/Author.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { YTNodes } from './index.js';
|
||||
import * as YTNodes from './nodes.js';
|
||||
import { InnertubeError, ParsingError, Platform } from '../utils/Utils.js';
|
||||
import { Memo, observe, SuperParsedResult } from './helpers.js';
|
||||
import { camelToSnake, generateRuntimeClass, generateTypescriptClass } from './generator.js';
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Constants } from './index.js';
|
||||
import * as Constants from './Constants.js';
|
||||
import { InnertubeError, Platform, streamToIterable } from './Utils.js';
|
||||
|
||||
import type Player from '../core/Player.js';
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
import PlayerStoryboardSpec from '../parser/classes/PlayerStoryboardSpec.js';
|
||||
import { InnertubeError, Platform, getStringBetweenStrings } from './Utils.js';
|
||||
import * as Constants from './Constants.js';
|
||||
import Log from './Log.js';
|
||||
|
||||
import type Actions from '../core/Actions.js';
|
||||
import type Player from '../core/Player.js';
|
||||
import type { LiveStoryboardData } from '../parser/classes/PlayerLiveStoryboardSpec.js';
|
||||
@@ -6,9 +11,6 @@ import type { IStreamingData } from '../parser/index.js';
|
||||
import type { Format } from '../parser/misc.js';
|
||||
import type { PlayerLiveStoryboardSpec } from '../parser/nodes.js';
|
||||
import type { FormatFilter, URLTransformer } from '../types/FormatUtils.js';
|
||||
import PlayerStoryboardSpec from '../parser/classes/PlayerStoryboardSpec.js';
|
||||
import { InnertubeError, Platform, getStringBetweenStrings } from './Utils.js';
|
||||
import { Constants, Log } from './index.js';
|
||||
|
||||
const TAG_ = 'StreamingInfo';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user