On Mac install these via terminal:
- brew with
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- jq with
brew install jq
- Open the video in Chrome or Brave - start playing
- Right click the background and choose "Inspect"
- In the console, go to the network tab and choose "Network"
- Type in the search box "timedtext"
- Press the CC button the video
- Copy the URL that appears in the Network section
- Paste that url into a new browser window
- Copy all of the text into a file called transcript.json
- Run
cat transcript.json| jq '.events[] | .segs' | grep utf8 | awk -F'"' '{print $4}' | | tr '\n' ' ' > transcript.txt
- Now you have a text file with all of the text that you can easily format