From ea4a1ebb83b6953d54c572e54500f3bf38a2ece8 Mon Sep 17 00:00:00 2001 From: cronyakatsuki <64900606+cronyakatsuki@users.noreply.github.com> Date: Sun, 30 Oct 2022 16:46:45 +0100 Subject: [PATCH] Added ability to also see the uploader. --- pirokit | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pirokit b/pirokit index 95ee11d..e7078b1 100755 --- a/pirokit +++ b/pirokit @@ -40,6 +40,8 @@ while true; do grep -P '\d*' tmp.html | sed 's/<[^>]*>//g' > leechers.bw #get sizes grep -P '.*' tmp.html | sed 's/<[^>]*>//g' > sizes.bw + #get uploaders + grep -P ']*>//g' > uploaders.bw #get links grep -E '/torrent/' tmp.html | sed -E 's#.*(/torrent/.*)/">.*/#\1#' | sed 's/td>//g' > links.bw @@ -51,7 +53,7 @@ while true; do printf '%s\n%s' "next" "previous" >> titlesNumbered.bw #gets line number (that groupthe user selected in dmenu) - LINE=$(paste -d\| titlesNumbered.bw seeders.bw leechers.bw sizes.bw | \ + LINE=$(paste -d\| titlesNumbered.bw uploaders.bw seeders.bw leechers.bw sizes.bw | \ sed 's/|||//' | dmenu -i -l 25 | cut -d- -f1) [ "$LINE" == "next" ] && let "page+=1" && continue