Get Playlist Videos

It fetches link and title of the videos in the playlist passed in playlist_link.

body: returns data

success_score: api success rate

errors: errors encountered in api

Here is the code:-

youtube.get_playlist_videos(playlist_link='https://www.youtube.com/playlist?list=PLsuCfYXzi5DJfjxOmPRJIS4KLlJhAlr8P')
Parameters

playlist_link (str) – playlist link whose videos need to be fetched

Returns

{“body”: [{‘Title’: ‘Title’, ‘Video_Link’: ‘Video_Link’}], “success_score”: “100”, “errors”: []}

Return type

dict