Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

Convert WebVTT to a Transcript using Python

· 3 comments · 750 words · Viewed ~5,061 times


YouTube showing subtitles.

I want to convert YouTube's auto-generated subtitles into a plain transcript. Why is this so hard? This blog post gives a more detailed explanation than my answer to this StackOverflow question. Here's what the subtitles look like when you view a video: And here's what the code which generates those subtitles looks like: 00:00:00.930 --> 00:00:03.080 align:start position:0% …