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