@iamtraction/play-dl
    Preparing search index...

    Function playlist_info

    • Gets YouTube playlist info from a playlist url.

      Example

      const playlist = await play.playlist_info('youtube playlist url')

      const playlist = await play.playlist_info('youtube playlist url', { incomplete : true })

      Parameters

      • url: string

        Playlist URL

      • options: PlaylistOptions = {}

        Playlist Info Options

        • boolean incomplete : When this is set to false (default) this function will throw an error if the playlist contains hidden videos. If it is set to true, it parses the playlist skipping the hidden videos, only visible videos are included in the resulting YouTubePlaylist.

      Returns Promise<YouTubePlayList>

      YouTube Playlist