Add files via upload

up shell script
This commit is contained in:
fenix-soft 2016-10-13 11:41:16 +02:00 committed by GitHub
parent 7c93004801
commit 5b55e172c8
14 changed files with 206 additions and 0 deletions

14
RAI1.sh Normal file
View File

@ -0,0 +1,14 @@
#!/bin/bash
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=2621467&output=45" -U "iphone" -O p.txt
grep http p.txt >temp.txt
sed -e 's/<url type="content">//g' temp.txt >temp2.txt
cat temp2.txt
sed -e 's/<\/url>//g' temp2.txt >temp.txt
dos2unix temp.txt
surce=`cat temp.txt`
echo $surce
./mpv --hls-bitrate=max "$surce"
rm p.txt
rm temp.txt
rm temp2.txt

14
RAI2.sh Normal file
View File

@ -0,0 +1,14 @@
#!/bin/bash
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=308718&output=45" -U "iphone" -O p.txt
grep http p.txt >temp.txt
sed -e 's/<url type="content">//g' temp.txt >temp2.txt
cat temp2.txt
sed -e 's/<\/url>//g' temp2.txt >temp.txt
dos2unix temp.txt
surce=`cat temp.txt`
echo $surce
./mpv --hls-bitrate=max "$surce"
rm p.txt
rm temp.txt
rm temp2.txt

14
RAI3.sh Normal file
View File

@ -0,0 +1,14 @@
#!/bin/bash
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=308709&output=45" -U "iphone" -O p.txt
grep http p.txt >temp.txt
sed -e 's/<url type="content">//g' temp.txt >temp2.txt
cat temp2.txt
sed -e 's/<\/url>//g' temp2.txt >temp.txt
dos2unix temp.txt
surce=`cat temp.txt`
echo $surce
./mpv --hls-bitrate=max "$surce"
rm p.txt
rm temp.txt
rm temp2.txt

14
RAI4.sh Normal file
View File

@ -0,0 +1,14 @@
#!/bin/bash
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=746966&output=45" -U "iphone" -O p.txt
grep http p.txt >temp.txt
sed -e 's/<url type="content">//g' temp.txt >temp2.txt
cat temp2.txt
sed -e 's/<\/url>//g' temp2.txt >temp.txt
dos2unix temp.txt
surce=`cat temp.txt`
echo $surce
./mpv --hls-bitrate=max "$surce"
rm p.txt
rm temp.txt
rm temp2.txt

15
RAI5.sh Normal file
View File

@ -0,0 +1,15 @@
#!/bin/bash
# rai 5
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=395276&output=45" -U "iphone" -O p.txt
grep http p.txt >temp.txt
sed -e 's/<url type="content">//g' temp.txt >temp2.txt
cat temp2.txt
sed -e 's/<\/url>//g' temp2.txt >temp.txt
dos2unix temp.txt
surce=`cat temp.txt`
echo $surce
./mpv --hls-bitrate=max "$surce"
rm p.txt
rm temp.txt
rm temp2.txt

15
RAIgulp.sh Normal file
View File

@ -0,0 +1,15 @@
#!/bin/bash
# rai gulp
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=746953&output=45" -U "iphone" -O p.txt
grep http p.txt >temp.txt
sed -e 's/<url type="content">//g' temp.txt >temp2.txt
cat temp2.txt
sed -e 's/<\/url>//g' temp2.txt >temp.txt
dos2unix temp.txt
surce=`cat temp.txt`
echo $surce
./mpv --hls-bitrate=max "$surce"
rm p.txt
rm temp.txt
rm temp2.txt

15
RAImovie.sh Normal file
View File

@ -0,0 +1,15 @@
#!/bin/bash
# rai movie
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=747002&output=45" -U "iphone" -O p.txt
grep http p.txt >temp.txt
sed -e 's/<url type="content">//g' temp.txt >temp2.txt
cat temp2.txt
sed -e 's/<\/url>//g' temp2.txt >temp.txt
dos2unix temp.txt
surce=`cat temp.txt`
echo $surce
./mpv --hls-bitrate=max "$surce"
rm p.txt
rm temp.txt
rm temp2.txt

15
RAInews.sh Normal file
View File

@ -0,0 +1,15 @@
#!/bin/bash
# rai news 24
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=1&output=45" -U "iphone" -O p.txt
grep http p.txt >temp.txt
sed -e 's/<url type="content">//g' temp.txt >temp2.txt
cat temp2.txt
sed -e 's/<\/url>//g' temp2.txt >temp.txt
dos2unix temp.txt
surce=`cat temp.txt`
echo $surce
./mpv --hls-bitrate=max "$surce"
rm p.txt
rm temp.txt
rm temp2.txt

15
RAIp.sh Normal file
View File

@ -0,0 +1,15 @@
#!/bin/bash
# rai premium
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=72383&output=45" -U "iphone" -O p.txt
grep http p.txt >temp.txt
sed -e 's/<url type="content">//g' temp.txt >temp2.txt
cat temp2.txt
sed -e 's/<\/url>//g' temp2.txt >temp.txt
dos2unix temp.txt
surce=`cat temp.txt`
echo $surce
./mpv --hls-bitrate=max "$surce"
rm p.txt
rm temp.txt
rm temp2.txt

15
RAIscuola.sh Normal file
View File

@ -0,0 +1,15 @@
#!/bin/bash
# rai scuola
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=24268&output=45" -U "iphone" -O p.txt
grep http p.txt >temp.txt
sed -e 's/<url type="content">//g' temp.txt >temp2.txt
cat temp2.txt
sed -e 's/<\/url>//g' temp2.txt >temp.txt
dos2unix temp.txt
surce=`cat temp.txt`
echo $surce
./mpv --hls-bitrate=max "$surce"
rm p.txt
rm temp.txt
rm temp2.txt

15
RAIsport.sh Normal file
View File

@ -0,0 +1,15 @@
#!/bin/bash
# rai sport 1hd
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=358025&output=45" -U "iphone" -O p.txt
grep http p.txt >temp.txt
sed -e 's/<url type="content">//g' temp.txt >temp2.txt
cat temp2.txt
sed -e 's/<\/url>//g' temp2.txt >temp.txt
dos2unix temp.txt
surce=`cat temp.txt`
echo $surce
./mpv --hls-bitrate=max "$surce"
rm p.txt
rm temp.txt
rm temp2.txt

15
RAIsport2.sh Normal file
View File

@ -0,0 +1,15 @@
#!/bin/bash
# rai sport 2 sd è la versione sd di rai sport 1
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=358071&output=45" -U "iphone" -O p.txt
grep http p.txt >temp.txt
sed -e 's/<url type="content">//g' temp.txt >temp2.txt
cat temp2.txt
sed -e 's/<\/url>//g' temp2.txt >temp.txt
dos2unix temp.txt
surce=`cat temp.txt`
echo $surce
./mpv --hls-bitrate=max "$surce"
rm p.txt
rm temp.txt
rm temp2.txt

15
RAIstoria.sh Normal file
View File

@ -0,0 +1,15 @@
#!/bin/bash
# rai storia
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=24269&output=45" -U "iphone" -O p.txt
grep http p.txt >temp.txt
sed -e 's/<url type="content">//g' temp.txt >temp2.txt
cat temp2.txt
sed -e 's/<\/url>//g' temp2.txt >temp.txt
dos2unix temp.txt
surce=`cat temp.txt`
echo $surce
./mpv --hls-bitrate=max "$surce"
rm p.txt
rm temp.txt
rm temp2.txt

15
RAIyoyo.sh Normal file
View File

@ -0,0 +1,15 @@
#!/bin/bash
# rai yoyo
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=746899&output=45" -U "iphone" -O p.txt
grep http p.txt >temp.txt
sed -e 's/<url type="content">//g' temp.txt >temp2.txt
cat temp2.txt
sed -e 's/<\/url>//g' temp2.txt >temp.txt
dos2unix temp.txt
surce=`cat temp.txt`
echo $surce
./mpv --hls-bitrate=max "$surce"
rm p.txt
rm temp.txt
rm temp2.txt