Tuesday, April 1, 2014

How to download the CC transcript of a Youtube video

It's possible to show captions on some videos using the "CC" button. (Not all videos have "CC")



There used to be a way to retrieve the transcript file with a modified API URL, but Youtube has changed it's API to prevent that. It's still possible to get the video transcript, but now it's more difficult to get.

Skill Level: Mildly Difficult (4 out of 5)

Prerequisites:

After you install Firebug, you need to restart Firefox. Steps to retrieve transcript.
  1. Go to the youtube video.
  2. Firefox Menu > Tools > Web Developer > Firebug > Open Firebug (or press F12)
  3. Go to Firebug tab "Net"
  4. If "Net" is disabled, click on the little triangle next to "Net" and choose Enabled.
  5. Reload the Youtube page in Firefox. (Firebug should still be showing.)
  6. After the video starts playing, pause it.
  7. Press the "CC" button, and turn captions ON.
  8. Type "timedtext" into the Firebug search box (top-right).
  9. Find the second instance of "GET timedtext"
  10. Right-click on the "GET timedtext", and select "Open in new tab"

The new tab will contain the transcribed text. Cheers.

If someone could tell me how to get this done using a bash script, that would be Greatly appreciated!


5 comments:

  1. Not exactly a bash script, but here's one way to script it in Ruby:

    https://github.com/joshlarsen/yt-captions

    ReplyDelete
  2. Hi : http://mo.dbxdb.com/Yang Download youtube Automatic caption.http://mo.dbxdb.com/ Download youtube Closed caption.

    ReplyDelete
  3. Nice post. Thanks for sharing such great and nice post.. visit- Youtube Support Call Toll Free No +1-800-231-4635 For US/CA.

    ReplyDelete
  4. Hello all am here tell you that mostly rippers are comes in this field I met different country's peoples almost everyone said that they have been ripped many times with different ways like send WU selling Money adder Software. Now Situation is that now one believe that real hacker are still in this world cuz scammer / rippers build abad image of real hacker / spammer / carders.
    am here to aware those peoples who newbie who don't know about hacking they just waste their money am here to teach you about hacking thats whoz work.
    contact me if you want to learn about it or make a deal with me am not make a deal without proof

    serious persons do contact:

    lykovine@yahoo.com

    ReplyDelete