UNPKG

node-apiless-youtube-upload-nc

Version:

Upload videos to Youtube in Node.js without any Youtube API dependency by using Selenium.

18 lines (17 loc) 551 B
import { Cookies } from '../helpers'; export interface VideoObj { videoPath: string; title: string; thumbnailPath?: string; description?: string; tags?: string; category?: string; monetization?: boolean; visibility?: 'private' | 'unlisted' | 'public'; tc?: string; } declare const _default: (videoObj: VideoObj, cookies: Cookies, headlessMode?: boolean, onProgress?: { (...data: any[]): void; (message?: any, ...optionalParams: any[]): void; }) => Promise<string>; export default _default;