scripts

Scripts for general automations
git clone git://git.laack.co/scripts.git
Log | Files | Refs

yt-subtitles.sh (170B)


      1 #!/bin/bash
      2 yt-dlp --write-auto-subs --sub-format vtt --skip-download -o - "$1"
      3 cat ./-.en.vtt | sed '/^[0-9]/d; /^$/d; /-->/d; /WEBVTT/d' > transcript.txt
      4 rm ./-.en.vtt