From 8ea8a7aa0049a608cdee9c3246ebf70e36dbefff Mon Sep 17 00:00:00 2001 From: Tidoni Date: Thu, 15 Feb 2024 22:04:48 +0100 Subject: [PATCH] update doodstreamFunctions.fn --- doodstreamFunctions.fn | 1 + 1 file changed, 1 insertion(+) diff --git a/doodstreamFunctions.fn b/doodstreamFunctions.fn index ad21169..cc169cf 100644 --- a/doodstreamFunctions.fn +++ b/doodstreamFunctions.fn @@ -29,6 +29,7 @@ function upload_to_doodstream () { # hoster_filename=$(echo $hoster_url | jq ".name") hoster_url=$(echo $hoster_url | jq ".[0]") hoster_url=$(echo $hoster_url | jq ".download_url") + hoster_url=https://dood.watch/$(echo "$hoster_url" | sed 's/^.*\/\(d\)/\1/g') hoster_url=${hoster_url//\"} if [ "$hoster_url" != "" ] && [ "$hoster_url" != "null" ]; then