Get Transcript

It fetches the transcript of the video whose link is passed in video_url.

body: returns data

success_score: api success rate

errors: errors encountered in api

Here is the code:-

youtube.get_transcript(video_url='https://www.youtube.com/watch?v=UF8uR6Z6KLc')
Parameters

video_url (str) – video link whose transcript need to be fetched

Returns

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

Return type

dict