Advertising

Author Topic: Little bash script, for quick viewing a Youtube automatic captions  (Read 123 times)

Offline kanliot

  • Jr. Member
  • **
  • Posts: 57
I often want to see what people say on a youtube video.  (and I'm in a hurry)
Since most new youtube video have the subtitles enabled, I wrote a little script to show those captions in GNU 'less'.

Quote
Youtube's automatic captions, or automatic subtitles are auto-generated for most youtube videos.  the so-named script takes a youtube url then calls youtube-dl to convert them to text format in GNU less.  it also requires you have html2text installed. 
https://raw.githubusercontent.com/kanliot/bash-scripts/master/automatic_captions_in_less