From c3832d4968352a6e529f41a9d9d526fad44e2dfc Mon Sep 17 00:00:00 2001 From: scossa Date: Tue, 20 May 2025 23:48:36 +0200 Subject: [PATCH] =?UTF-8?q?non=20=C3=A8=20sempre=20"streamingcommunity"=20?= =?UTF-8?q?il=20vero=20streamingcommunity=20pt2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++ make_index.sh | 3 +- show_link.sh | 2 +- 3 files changed, 90 insertions(+), 2 deletions(-) create mode 100644 index.html diff --git a/index.html b/index.html new file mode 100644 index 0000000..1310ba8 --- /dev/null +++ b/index.html @@ -0,0 +1,87 @@ + + + + + + + + StreamingCommunity Link Giusto + + + + +
+ +

+ + + +

+ + + + + +

+ + + +

+ +
+ + + diff --git a/make_index.sh b/make_index.sh index d8a29dd..c8b92c8 100755 --- a/make_index.sh +++ b/make_index.sh @@ -7,7 +7,8 @@ PWD_SC="$PWD" # Segue link per vedere se è stato aggiornato... attuale="$(cat "$PWD_SC/attuale.txt")" -nuovo=$(curl --no-progress-meter -L $attuale grep -oP 'streamingcommunity\w+(\.\w+)?' | grep -v streamingcommunityorigiale | head -n1) +nuovo=$(curl --no-progress-meter -L $attuale | grep -oP 'streaming\w+(\.\w+)?' | grep -v "streamingcommunityoriginale" | head -n1) + #vecchio curl #nuovo=$(curl --no-progress-meter -L $attuale | sed -n 's/.*\(https:\/\/cdn\.streamingcommunity\.[^ ]*images[^ ]*\).*/\1/p' | grep -oP 'streamingcommunity\.\w+(\.\w+)?' | head -n1) diff --git a/show_link.sh b/show_link.sh index 6845254..a30d029 100755 --- a/show_link.sh +++ b/show_link.sh @@ -5,7 +5,7 @@ PWD_SC="$PWD" # Segue link per vedere se è stato aggiornato... attuale="$(cat "$PWD_SC/attuale.txt")" -nuovo=$(curl --no-progress-meter -L $attuale | grep -oP 'streaming\w+(\.\w+)?' | grep -v streamingcommunityorigiale | head -n1) +nuovo=$(curl --no-progress-meter -L $attuale | grep -oP 'streaming\w+(\.\w+)?' | grep -v "streamingcommunityoriginale" | head -n1) # vecchio grep/sed #nuovo=$(curl --no-progress-meter -L $attuale | sed -n 's/.*\(https:\/\/cdn\.streaming\.[^ ]*images[^ ]*\).*/\1/p' | grep -oP 'streaming\.\w+(\.\w+)?' | head -n1) #echo -e "\n\nQUA $nuovo"