Extract transcript using Python
First you need to install youtube_transcript_api by command below
pip install youtube_transcript_api
Example :
Explanation :
The example code above is using YouTubeTranscriptApi to grep transcript from YouTube by video id that will get result like image below
then prepare that text from each line to full statement. Finally save the file to txt/text-file.txt