1
0
mirror of https://github.com/fenix-soft/railive.git synced 2025-02-16 11:21:29 +01:00

Update RAI2.sh

fix find url
This commit is contained in:
fenix-soft 2016-11-28 10:50:35 +01:00 committed by GitHub
parent acec9d52f3
commit 594cf6b6ff

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
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 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