@imput/youtubei.js
Version:
A JavaScript client for YouTube's private API, known as InnerTube. Fork of youtubei.js
35 lines (34 loc) • 896 B
TypeScript
import { YTNode } from '../helpers.js';
import type { RawNode } from '../index.js';
import Text from './misc/Text.js';
import Thumbnail from './misc/Thumbnail.js';
export default class PlayerMicroformat extends YTNode {
static type: string;
title: Text;
description: Text;
thumbnails: Thumbnail[];
embed?: {
iframe_url: string;
flash_url: string;
flash_secure_url: string;
width: any;
height: any;
};
length_seconds: number;
channel: {
id: string;
name: string;
url: string;
};
is_family_safe: boolean;
is_unlisted: boolean;
has_ypc_metadata: boolean;
view_count: number;
category: string;
publish_date: string;
upload_date: string;
available_countries: string[];
start_timestamp: Date | null;
end_timestamp: Date | null;
constructor(data: RawNode);
}