mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-19 04:21:35 +00:00
Compare commits
2 Commits
v9.0.0-den
...
v9.0.2-den
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
016a7aacae | ||
|
|
bd5b3470ec |
@@ -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.ts';
|
||||
import OAuth from './OAuth.ts';
|
||||
import { Log, EventEmitter, HTTPClient } from '../utils/index.ts';
|
||||
import * as Constants from '../utils/Constants.ts';
|
||||
import * as Proto from '../proto/index.ts';
|
||||
import Actions from './Actions.ts';
|
||||
import Player from './Player.ts';
|
||||
|
||||
import {
|
||||
generateRandomString, getRandomUserAgent,
|
||||
|
||||
@@ -4,7 +4,6 @@ import { getStreamingInfo } from '../../utils/StreamingInfo.ts';
|
||||
|
||||
import { Parser } from '../../parser/index.ts';
|
||||
import { TranscriptInfo } from '../../parser/youtube/index.ts';
|
||||
import PlayerStoryboardSpec from '../../parser/classes/PlayerStoryboardSpec.ts';
|
||||
import ContinuationItem from '../../parser/classes/ContinuationItem.ts';
|
||||
|
||||
import type { ApiResponse, Actions } from '../index.ts';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* eslint-disable no-cond-assign */
|
||||
import { YTNode } from './helpers.ts';
|
||||
import { Parser } from './index.ts';
|
||||
import * as Parser from './parser.ts';
|
||||
import { InnertubeError } from '../utils/Utils.ts';
|
||||
|
||||
import Author from './classes/misc/Author.ts';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { YTNodes } from './index.ts';
|
||||
import * as YTNodes from './nodes.ts';
|
||||
import { InnertubeError, ParsingError, Platform } from '../utils/Utils.ts';
|
||||
import { Memo, observe, SuperParsedResult } from './helpers.ts';
|
||||
import { camelToSnake, generateRuntimeClass, generateTypescriptClass } from './generator.ts';
|
||||
|
||||
@@ -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.ts';
|
||||
import * as Constants from './Constants.ts';
|
||||
import { InnertubeError, Platform, streamToIterable } from './Utils.ts';
|
||||
|
||||
import type Player from '../core/Player.ts';
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
import PlayerStoryboardSpec from '../parser/classes/PlayerStoryboardSpec.ts';
|
||||
import { InnertubeError, Platform, getStringBetweenStrings } from './Utils.ts';
|
||||
import * as Constants from './Constants.ts';
|
||||
import Log from './Log.ts';
|
||||
|
||||
import type Actions from '../core/Actions.ts';
|
||||
import type Player from '../core/Player.ts';
|
||||
import type { LiveStoryboardData } from '../parser/classes/PlayerLiveStoryboardSpec.ts';
|
||||
@@ -6,9 +11,6 @@ import type { IStreamingData } from '../parser/index.ts';
|
||||
import type { Format } from '../parser/misc.ts';
|
||||
import type { PlayerLiveStoryboardSpec } from '../parser/nodes.ts';
|
||||
import type { FormatFilter, URLTransformer } from '../types/FormatUtils.ts';
|
||||
import PlayerStoryboardSpec from '../parser/classes/PlayerStoryboardSpec.ts';
|
||||
import { InnertubeError, Platform, getStringBetweenStrings } from './Utils.ts';
|
||||
import { Constants, Log } from './index.ts';
|
||||
|
||||
const TAG_ = 'StreamingInfo';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user