fix uptodown

This commit is contained in:
j-hc 2023-10-06 18:42:15 +03:00
parent 4cab1a8f03
commit a71cf6bac6
No known key found for this signature in database
GPG Key ID: B69B8F690911EFCC

View File

@ -269,6 +269,7 @@ dl_uptodown_last() {
local uptwod_resp=$1 output=$2
local url
url=$($HTMLQ -a data-url "#detail-download-button" <<<"$uptwod_resp") || return 1
url=$(req "$url" - | sed -n 's;.*class="post-download" data-url="\(.*\)".*;\1;p') || return 1
req "$url" "$output"
}
dl_uptodown() {