YouTube examples

This commit is contained in:
killer069
2021-08-13 14:58:57 +05:30
parent 04770cc929
commit 06cc44d485
7 changed files with 93 additions and 27 deletions

View File

@@ -3,7 +3,6 @@ import { url_get } from "../utils/request";
import { Thumbnail } from "./Thumbnail";
import { Channel } from "./Channel";
import { Video } from "./Video";
import fs from 'fs'
const BASE_API = "https://www.youtube.com/youtubei/v1/browse?key=";
export class PlayList{
@@ -16,7 +15,7 @@ export class PlayList{
link?: string;
channel?: Channel;
thumbnail?: Thumbnail;
videos?: [];
private videos?: [];
private fetched_videos : Map<string, Video[]>
private _continuation: { api?: string; token?: string; clientVersion?: string } = {};
private __count : number