parent
87aa6e1af8
commit
28599b0911
13
RAI2.sh
13
RAI2.sh
|
@ -1,4 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# V1.1 20210905 Public relase
|
||||||
|
|
||||||
|
|
||||||
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=308718&output=45" -U "iphone" -O p.txt
|
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=308718&output=45" -U "iphone" -O p.txt
|
||||||
grep content p.txt >temp.txt
|
grep content p.txt >temp.txt
|
||||||
|
@ -8,7 +10,14 @@ sed -e 's/<\/url>//g' temp2.txt >temp.txt
|
||||||
dos2unix temp.txt
|
dos2unix temp.txt
|
||||||
surce=`cat temp.txt`
|
surce=`cat temp.txt`
|
||||||
echo $surce
|
echo $surce
|
||||||
mpv --hls-bitrate=max "$surce"
|
|
||||||
|
|
||||||
|
#max bitrate video
|
||||||
|
#mpv2 --hls-bitrate=max "$surce"
|
||||||
|
|
||||||
|
#Video --vid=2 'bitrate 2137033' (h264)
|
||||||
|
mpv --vid=2 "$surce"
|
||||||
|
|
||||||
rm p.txt
|
rm p.txt
|
||||||
rm temp.txt
|
rm temp.txt
|
||||||
rm temp2.txt
|
rm temp2.txt
|
Loading…
Reference in New Issue