From: Volodymyr Poltavets Date: Sun, 25 Apr 2021 09:28:30 +0000 (+0200) Subject: * Support different sorting orders in kaoget.sh X-Git-Url: https://git.packet-gain.de/?a=commitdiff_plain;h=8ba0db19e25e7ae86d18a231a9f229919244f1ae;p=kaotools.git * Support different sorting orders in kaoget.sh --- 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"