This is my first time working with the Youtube api. I have made a code to extract the duration of videos (vid_id of all videos are stored in a list).
The code used to wor