Compare commits

...

2 Commits

  1. 7
      ytloop.sh
  2. 4
      ytrelated.sh
  3. 3
      ytscroll.sh
  4. 2
      ytsearch.sh

@ -0,0 +1,7 @@
VID=$1
if [ -z $VID ]
then
exit
fi
vlc $VID
./ytloop.sh `./ytrelated.sh $VID`

@ -0,0 +1,4 @@
for video in `curl $1|tr '"' '\n'|grep '^/watch?'|cut -d'\' -f1|sort -u`
do
./ytmeta.sh https://www.youtube.com$video
done|./ytlist.sh

@ -0,0 +1,3 @@
VID=`./ytsearch.sh $@`
vlc $VID
./ytloop.sh `./ytrelated.sh $VID`

@ -1,2 +1,2 @@
for vid in `curl https://www.youtube.com/results?search_query=$(echo $@|tr ' ' '+')|tr '"' '\n'|grep 'watch?'|cut -d '\' -f1|sort|uniq`; do ./ytmeta.sh youtube.com$vid ; done|./ytlist.sh ^C
for vid in `curl https://www.youtube.com/results?search_query=$(echo $@|tr ' ' '+')|tr '"' '\n'|grep '^/watch?'|cut -d '\' -f1|sort|uniq`; do ./ytmeta.sh youtube.com$vid ; done|./ytlist.sh

Loading…
Cancel
Save