

find_transcript() function that helps us to get the actual transcript of the video we are wanting along with the metadata. translate() function to convert/translate the caption from one language to another if at all it’s translatable (since we have only English subtitles for this language it might be not evident in this case, but this translation is very useful if there are transcripts of more than one language in the video). fetch() function to fetch the actual transcript. anslation_languages which give us a list of languages the transcript can be translated to.transcript.is_translatable tells whether this transcript can be translated or not.transcript.is_generated tell us whether it has been manually created or generated by YouTube.

transcript.language_code returns us the language code of the transcript, for example, “en” for English, etc.

