Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get "transcript" in youtube-api v3

Tags:

I have started using v3 of the YouTube apis on an android device, using the java client library. Some videos that I am interested in have transcripts that I can access on the web interface (like educational videos). Is there a way to access the transcripts, if present, using the v3 apis?

Thanks

like image 225
Ali Naddaf Avatar asked Dec 27 '12 20:12

Ali Naddaf


People also ask

How do I find my YouTube transcript?

Beneath the video, click the More icon (three horizontal dots). Click Open transcript. This will open a timestamped list of captions to the side of the video. Press Ctrl + F (Windows) / Cmd + F (Mac) to open your browser's search function.

Can YouTube generate transcripts?

Youtube's automatic captions are very easy to set up. 1) Select the ellipses in the Youtube interface menu below the video and click on the 3 horizontal dots below the video and then click on 'open transcript' button.


1 Answers

I had the same problem with this... and spent like a week looking for a solution until I hit this:

https://stackoverflow.com/questions/10036796/how-to-extract-subtitles-from-youtube-videos

Just do a GET request on: http://video.google.com/timedtext?lang={LANG}&v={VIDEOID} You don't need any api/oauth/etc. to access this.

like image 192
Dev Doomari Avatar answered Sep 21 '22 23:09

Dev Doomari