Play youtube playlist at VLC? Why not?

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

Leave a Reply

Your email address will not be published. Required fields are marked *