From 8ba0db19e25e7ae86d18a231a9f229919244f1ae Mon Sep 17 00:00:00 2001 From: Volodymyr Poltavets Date: Sun, 25 Apr 2021 11:28:30 +0200 Subject: [PATCH] * Support different sorting orders in kaoget.sh --- kaoget.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kaoget.sh b/kaoget.sh index 81476cc..6e245cd 100755 --- a/kaoget.sh +++ b/kaoget.sh @@ -88,7 +88,7 @@ case "$URL_FILE" in # Got an URL for the file parameter. TMP_FILE=$(make_kix "$URL_FILE") case "$URL_FILE" in - *"&s=1&q="* ) + *"&s="?"&q="* ) # URL appears to point to a directory, fetch the listing! URL_FILE="${URL_FILE%%&*}" URL_FILE="${URL_FILE/leech.php/leechx.php/}&q=1&m=0" -- 2.30.2