@Debacle in theory there is a way to download the subtitles for a youtube video
in practice, I would never trust copypasting a command read in a video and auto-subtitled by youtube
it's usually quite good at transcribing more than 90% of the text. but the remaining less than 10% is usually the important technical bits.
see also: being dropped in a place of which you know the 500 most common words of the language.