youtube-tui

Shell scripts to query YouTube from a terminal.
git clone git://git.concealed.world/youtube-tui
Log | Files | Refs | README | LICENSE

commit c07a1b4811eb13d891a7e035d1cfdf85c0a3228e
parent 0887585eca4629eecc33219a602f303abeed69cf
Author: Nixx <nixx@firemail.cc>
Date:   Thu, 16 Sep 2021 20:04:40 +0100

Bug fix

Diffstat:
Mytsearch | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ytsearch b/ytsearch @@ -134,7 +134,7 @@ process () { countto=$3 [[ -z $countto ]] && countto=9999 links=$(cat "${1}" | grep -n '<a style="width:100%" href="/watch?v=\|<a style="width:100%" href="/playlist?list=') - lengths=$(cat "${1}" | grep '<p class="length">') + lengths=$(cat "${1}" | grep '<p class="length"') rescount=0 reslinkscount=$(echo "${links}" | wc -l) reslenscount=$(echo "${lengths}" | wc -l)