update doodstreamFunctions.fn

This commit is contained in:
Tidoni 2024-02-15 22:04:48 +01:00
parent 390bd1b34f
commit 8ea8a7aa00

View file

@ -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