2016-10-13 11:41:16 +02:00
|
|
|
#!/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
|
2016-10-13 11:51:12 +02:00
|
|
|
mpv --hls-bitrate=max "$surce"
|
2016-10-13 11:41:16 +02:00
|
|
|
rm p.txt
|
|
|
|
rm temp.txt
|
2016-10-13 11:51:12 +02:00
|
|
|
rm temp2.txt
|