import { default } from "https://deno.land/x/youtube_sr@v4.3.0/mod.ts";
Static Methods
getSuggestions(query: string)
isPlaylist(src: string)
search(query: string, options?: SearchOptions & { type: "film"; }): Promise<Video[]>
search(query: string, options?: SearchOptions & { type: "channel"; }): Promise<Channel[]>
search(query: string, options?: SearchOptions & { type: "playlist"; }): Promise<Playlist[]>
search(query: string, options?: SearchOptions & { type: "all"; }): Promise<(Video | Channel | Playlist)[]>
validate(url: string, type?: ): boolean
| "VIDEO"
| "VIDEO_ID"
| "PLAYLIST"
| "PLAYLIST_ID"
Validates playlist