diff --git a/update_link.sh b/update_link.sh index 170973a..1b2b84d 100755 --- a/update_link.sh +++ b/update_link.sh @@ -2,8 +2,8 @@ giusto=$(curl -L https://www.giardiniblog.it/streamingcommunity-nuovo-link/ | grep -oP '(?<=).*?(?=

)' | grep -oP 'https://streamingcommunity.*') -formatted="${giusto#*://}" formatted="${giusto#/*}" +formatted="${formatted%/}" cat <<- _EOF > /var/www/html/scommunity/index.html