mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-25 07:42:11 +00:00
chore: catch up
This commit is contained in:
@@ -14,6 +14,7 @@ export default class PageHeaderView extends YTNode {
|
||||
|
||||
title: DynamicTextView | null;
|
||||
image: ContentPreviewImageView | DecoratedAvatarView | null;
|
||||
animated_image: ContentPreviewImageView | null;
|
||||
metadata: ContentMetadataView | null;
|
||||
actions: FlexibleActionsView | null;
|
||||
description: DescriptionPreviewView | null;
|
||||
@@ -24,6 +25,7 @@ export default class PageHeaderView extends YTNode {
|
||||
super();
|
||||
this.title = Parser.parseItem(data.title, DynamicTextView);
|
||||
this.image = Parser.parseItem(data.image, [ ContentPreviewImageView, DecoratedAvatarView ]);
|
||||
this.animated_image = Parser.parseItem(data.animatedImage, ContentPreviewImageView);
|
||||
this.metadata = Parser.parseItem(data.metadata, ContentMetadataView);
|
||||
this.actions = Parser.parseItem(data.actions, FlexibleActionsView);
|
||||
this.description = Parser.parseItem(data.description, DescriptionPreviewView);
|
||||
|
||||
@@ -33,7 +33,7 @@ export const CLIENTS = Object.freeze({
|
||||
WEB: {
|
||||
NAME_ID: '1',
|
||||
NAME: 'WEB',
|
||||
VERSION: '2.20240111.09.00',
|
||||
VERSION: '2.20241121.01.00',
|
||||
API_KEY: 'AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8',
|
||||
API_VERSION: 'v1',
|
||||
STATIC_VISITOR_ID: '6zpwvWUNAco'
|
||||
|
||||
Reference in New Issue
Block a user