Update RAI1.sh

fix find url
This commit is contained in:
fenix-soft 2016-11-28 10:49:35 +01:00 committed by GitHub
parent 192f0b0498
commit acec9d52f3
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
# rai 1
wget -d "http://mediapolis.rai.it/relinker/relinkerServlet.htm?cont=2621467&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
cat temp2.txt
sed -e 's/<\/url>//g' temp2.txt >temp.txt