summaryrefslogtreecommitdiff
path: root/webgut
diff options
context:
space:
mode:
authornikolaus <nikolaus@fishbox.fritz.box>2022-12-11 18:14:17 +0100
committernikolaus <nikolaus@fishbox.fritz.box>2022-12-11 18:14:17 +0100
commit1b14056883dc6bb267e710edf1fe6acbd84b6d79 (patch)
tree545d008f1c072a046dab62563a8973f9bf7ec919 /webgut
parent966089580de616b225b7ca4afa11dedfd3f5f17a (diff)
removing unnecessary webbrowser option form webgut program
Diffstat (limited to 'webgut')
-rwxr-xr-xwebgut8
1 files changed, 0 insertions, 8 deletions
diff --git a/webgut b/webgut
index 73853ba..8b916bd 100755
--- a/webgut
+++ b/webgut
@@ -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