Delete RAI5.sh
script not work -- possible bug mpv or bad rai site configuration
This commit is contained in:
parent
75ab00f75a
commit
b8f4c32ca6
15
RAI5.sh
15
RAI5.sh
|
@ -1,15 +0,0 @@
|
|||
#!/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
|
Loading…
Reference in New Issue