Update RAIsport.sh

fix find url
This commit is contained in:
fenix-soft 2016-11-28 11:29:29 +01:00 committed by GitHub
parent 1ba33e8003
commit c5ec1b2f91
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# rai sport 1hd # rai sport 1hd
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=358025&output=45" -U "iphone" -O p.txt wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=358025&output=45" -U "iphone" -O p.txt
grep http p.txt >temp.txt grep content p.txt >temp.txt
sed -e 's/<url type="content">//g' temp.txt >temp2.txt sed -e 's/<url type="content">//g' temp.txt >temp2.txt
cat temp2.txt cat temp2.txt
sed -e 's/<\/url>//g' temp2.txt >temp.txt sed -e 's/<\/url>//g' temp2.txt >temp.txt