From 663407634ea89dfc84d3609ca55715dd58a8327d Mon Sep 17 00:00:00 2001
From: scossa
Date: Sat, 11 Jan 2025 16:01:17 +0100
Subject: [PATCH] newmethod
---
attuale.txt | 1 +
script_link.sh | 5 ++++-
update_link.sh | 13 ++++++++++---
3 files changed, 15 insertions(+), 4 deletions(-)
create mode 100644 attuale.txt
diff --git a/attuale.txt b/attuale.txt
new file mode 100644
index 0000000..acafe31
--- /dev/null
+++ b/attuale.txt
@@ -0,0 +1 @@
+streamingcommunity.ooo
diff --git a/script_link.sh b/script_link.sh
index bf6795b..3134a9d 100755
--- a/script_link.sh
+++ b/script_link.sh
@@ -1 +1,4 @@
-giusto=$(curl -L https://www.giardiniblog.it/streamingcommunity-nuovo-link/ | grep -oP '(?<=).*?(?=
)' | grep -oP 'https://streamingcommunity.*') ; echo -e "\n$giusto\n"
+attuale=$().*?(?=)' | grep -oP 'https://streamingcommunity.*')
+echo "$nuovo" > attuale.txt
+echo -e "\n$nuovo\n"
diff --git a/update_link.sh b/update_link.sh
index 1b2b84d..36df63d 100755
--- a/update_link.sh
+++ b/update_link.sh
@@ -1,9 +1,16 @@
#!/bin/bash
-giusto=$(curl -L https://www.giardiniblog.it/streamingcommunity-nuovo-link/ | grep -oP '(?<=).*?(?=)' | grep -oP 'https://streamingcommunity.*')
+attuale=$( attuale.txt
+
+fi
+
+formatted="https.//$( /var/www/html/scommunity/index.html