find_generated_transcript() which we have not used in this example since there are no generated captions, and we have only manual captions here. find_manually_created_transcript() function to specifically find manual subscripts, similar to this we have. 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.
0 Comments
Leave a Reply. |