diff options
Diffstat (limited to 'webgut')
-rwxr-xr-x | webgut | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -1,11 +1,6 @@ #!/bin/sh if [ -z "$1" ] then -echo "Search Video (v/V) or Web (w/W)?" && -read ans; - -if [ "$ans" = "v" ] -then rm -rf ~/.cache/webgut/thumbnails/* #export list="~/.cache/webgut/list" #export thumlist="~/.cache/webgut/thumlist" @@ -47,9 +42,6 @@ do done && sleep 10 [ $(ls ~/.cache/webgut/thumbnails | wc -l) -gt 20 ] && nsxiv -t ~/.cache/webgut/thumbnails/* -else - w3m gruble.de -fi else videoId=$(cat ~/.cache/webgut/list | grep $1 | gawk -F '***' '{print($2)}') videoUrl=https://yewtu.be/watch/?v=$videoId |