Please save in file yts.sh
#!/usr/bin/env bash
# YT scrypt by Sylvester,
# GNU General Public License version 2.0 (GPLv2)echo “Search youtube for phrase!”
while read ASKFOR
do
lynx -dump “https://www.youtube.com/results?search_query=\”$ASKFOR\”” | egrep -o “http.*watch.*” | vlc –
done