Search YouTube from the command line without relying on the YouTube API. yts includes two binaries,
yts (a one-shot CLI for running a YouTube search) and
iyts (an interactive line-mode interface inspired by gmnlm).
yts requires Go to build.
git clone https://git.sr.ht/~gjabell/yts && cd yts go install ./...
$ yts -h Usage: yts [-d] [-h] [-q] [-n] [-p page] search... -d Print additional debug information (default: false) -h Show a help message and quit -n Don't colorize output (default: false) -q Quiet mode: only print video URLs -p The page of results to fetch (default: 1)