forked from scossa/StreamingCommunity
non è sempre "streamingcommunity" il vero streamingcommunity pt2
This commit is contained in:
87
index.html
Normal file
87
index.html
Normal file
@@ -0,0 +1,87 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>StreamingCommunity Link Giusto</title>
|
||||
<style>
|
||||
body {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 4wh;
|
||||
border: 10px solid #ccc;
|
||||
background-color: #121212;
|
||||
color: #e4d183;
|
||||
}
|
||||
|
||||
div {
|
||||
width: 200wj;
|
||||
height: 200wj;
|
||||
background-color: #1e1e1e;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 90%;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
a {
|
||||
width: 300wj;
|
||||
height: 200wj;
|
||||
color: #bb86fc
|
||||
}
|
||||
|
||||
|
||||
h1 {
|
||||
font-size: 36px;
|
||||
/* Default size */
|
||||
}
|
||||
@media (max-width: 480px) {
|
||||
h1 {
|
||||
font-size: 17px;
|
||||
/* Size mobile phones */
|
||||
}
|
||||
}
|
||||
@media (max-width: 480px) {
|
||||
h3 {
|
||||
font-size: 15px;
|
||||
/* Size mobile phones */
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<center>
|
||||
|
||||
<br><br>
|
||||
|
||||
<div class="link">
|
||||
<h3> Link aggiornato per Streaming Community: </h3>
|
||||
<h1> <a href=https://streamingunity.to>https://streamingunity.to </a> </h1>
|
||||
<h3> (cambia circa una volta al mese) </h3>
|
||||
</div>
|
||||
|
||||
<br><br>
|
||||
|
||||
<a href=https://streamingunity.to target="_blank">
|
||||
<img style="display:block; margin-left: auto; margin-right: auto" src="./splash.gif">
|
||||
</a>
|
||||
|
||||
<br><br>
|
||||
|
||||
<div class="link">
|
||||
<h3> Link aggiornato per Streaming Community: </h3>
|
||||
<h1> <a href=https://streamingunity.to> https://streamingunity.to </a> </h1>
|
||||
<h3> (cambia circa una volta al mese) </h3>
|
||||
</div>
|
||||
|
||||
<br><br>
|
||||
|
||||
</center>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user