0

I'm curious to know, how to download the subtitles for the videos of Khan Academy. As far as I know, universalsubtitles[dot]org has the subtitles. But I'm unable to get any results from my API calls. Here are a few sample calls that I tried which do not give any result but rather says that 'We're sorry - the page you are trying to access does not exist':

I tried quite a few other formats of the above API calls too, but none of them seem to work. So could someone please help me out on how to access subtitles of Khan Academy videos. I would also appreciate your answers, even if they have other ways of accessing Khan Academy videos' subtitles other than accessing it from universalsubtitles[.]org

rakshakhegde
  • 924
  • 9
  • 15
  • 1
    This question appears to be off-topic because it is **NOT** about any concrete programming problem .... – marc_s Jan 25 '14 at 17:19
  • If that's so, then could you please suggest me a platform where I can discuss about these topics. I've done quite a lot of research and only then asked this question. – rakshakhegde Jan 25 '14 at 17:35
  • I would say that it is on-topic because "This tag is for questions related to interfacing with Khan Academy, such as through the Khan Academy API" and the questioner just didn't know of a Khan API call to get the data. – Jannie Gerber Jan 23 '17 at 13:00

1 Answers1

1

You can use the undocumented API call "http://www.khanacademy.org/api/internal/videos/%s/transcript" where %s is the YouTube ID of the video. You will get the transcript lines for the video with start and end times for each line. I don't know if there is a better way.

Jannie Gerber
  • 659
  • 1
  • 7
  • 15
  • Amazing, it's working. Thanks for your effort :) But now I've lost the interest to update the Khan app that I had started way back in 2014. Yet, I had already found other ways of getting the subtitles, albeit unreliably. Cheers :) – rakshakhegde Jan 23 '17 at 19:26
  • You're welcome. Sorry, I didn't see the question sooner! – Jannie Gerber Jan 24 '17 at 07:16