Popular recipes tagged "transcript"http://code.activestate.com/recipes/tags/transcript/popular/2010-11-12T01:59:53-08:00ActiveState Code RecipesConvert a youtube transcript in srt subtitle (Python)
2010-11-12T01:59:53-08:00Ginkohttp://code.activestate.com/recipes/users/4175855/http://code.activestate.com/recipes/577459-convert-a-youtube-transcript-in-srt-subtitle/
<p style="color: grey">
Python
recipe 577459
by <a href="/recipes/users/4175855/">Ginko</a>
(<a href="/recipes/tags/converter/">converter</a>, <a href="/recipes/tags/srt/">srt</a>, <a href="/recipes/tags/transcript/">transcript</a>, <a href="/recipes/tags/youtube/">youtube</a>).
</p>
<p>A quick and dirty script to convert youtube's transcripts (xml format) to .srt subtitle files.</p>
<p>To download youtube's transcript, use this url: <a href="http://video.google.com/timedtext?lang=en&v=VIDEO_ID" rel="nofollow">http://video.google.com/timedtext?lang=en&v=VIDEO_ID</a> (replace "VIDEO_ID" by the ID which is in the video URL).</p>
<p>You can easily use this converter in a script which could download the transcript by importing it and then call the main function.</p>